Your SlideShare is downloading. ×
0
Introduction of CategoLJ2 #jjug_ccc
Introduction of CategoLJ2 #jjug_ccc
Introduction of CategoLJ2 #jjug_ccc
Introduction of CategoLJ2 #jjug_ccc
Introduction of CategoLJ2 #jjug_ccc
Introduction of CategoLJ2 #jjug_ccc
Introduction of CategoLJ2 #jjug_ccc
Introduction of CategoLJ2 #jjug_ccc
Introduction of CategoLJ2 #jjug_ccc
Introduction of CategoLJ2 #jjug_ccc
Introduction of CategoLJ2 #jjug_ccc
Introduction of CategoLJ2 #jjug_ccc
Introduction of CategoLJ2 #jjug_ccc
Introduction of CategoLJ2 #jjug_ccc
Introduction of CategoLJ2 #jjug_ccc
Introduction of CategoLJ2 #jjug_ccc
Introduction of CategoLJ2 #jjug_ccc
Introduction of CategoLJ2 #jjug_ccc
Introduction of CategoLJ2 #jjug_ccc
Introduction of CategoLJ2 #jjug_ccc
Introduction of CategoLJ2 #jjug_ccc
Introduction of CategoLJ2 #jjug_ccc
Introduction of CategoLJ2 #jjug_ccc
Introduction of CategoLJ2 #jjug_ccc
Introduction of CategoLJ2 #jjug_ccc
Introduction of CategoLJ2 #jjug_ccc
Introduction of CategoLJ2 #jjug_ccc
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

Introduction of CategoLJ2 #jjug_ccc

2,042

Published on

JJUG CCC 2014 SpringのLT資料です。 …

JJUG CCC 2014 SpringのLT資料です。

https://github.com/making/categolj2-backend
の説明

0 Comments
4 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
2,042
On Slideshare
0
From Embeds
0
Number of Embeds
10
Actions
Shares
0
Downloads
10
Comments
0
Likes
4
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. Intoroduction of CategoLJ2 @making (Toshiaki Maki) http://blog.ik.am JJUG CCC 2014 Spring LT 2014/05/18
  • 2. What is CategoLJ2 Originally, Categorizer written in Lisp (since 2009) Rewrite with Java (2011) 2nd version (2013) Used as a simple blogware History: http://blog.ik.am/#/entries/193 https://github.com/making/categolj2-backend
  • 3. Featuare Simple! Portable! RESTful!
  • 4. Used Technologies Java8 & Spring 4 Spring MVC Spring Security OAuth Spring Data JPA & JPA 2.1 (Hibernate) Hibernate Search Flyway Backbone.js
  • 5. Normal RESTful Architecture Resource Server Authorization Server Client OAuth API Resource API access token
  • 6. CategoLJ2 Architecture All in One jar file Resource Authorization Client (Admin) Embedded Tomcat Client (Frontend) Flyway Hazelcast RDB (H2 or MySQL)
  • 7. CategoLJ2 Architecture All in One jar file Resource Authorization Client (Admin) Embedded Tomcat Client (Frontend) Flyway Hazelcast RDB (H2 or MySQL)
  • 8. CategoLJ2 Architecture All in One jar file Resource Authorization Client (Admin) Embedded Tomcat Client (Frontend) Flyway Hazelcast RDB (H2 or MySQL) Resource Owner Password Credentials Grant
  • 9. Technology Stack Client(Admin) Resource Server Backbone.js Handlebars Spring Spring MVC Jackson2 Spring Data JPA Hibernate Embedded Tomcat Java 8
  • 10. Admin Console
  • 11. Admin Console
  • 12. Admin Console
  • 13. Admin Console
  • 14. Admin Console
  • 15. (Default) Frontend
  • 16. Quick Launch wget https://github.com/ making/categolj2-backend/ releases/download/0.12.0/ categolj2-backend.jar java -jar categolj2-backend.jar Download & Run!
  • 17. Default Behavior Use file based H2 database DB migration using Flyway No need to set up any middleware
  • 18. See Document https://github.com/making/ categolj2-backend#quick- launch
  • 19. Scalable java -jar xxx.jar -httpPort 8081 port: 8080 port: 8081 java -jar xxx.jar -httpPort 8080 LB Hazelcast Hazelcast RDB Distributed Cache multicast
  • 20. Scalable java -jar xxx.jar - java -jar xxx.jar - LB Hazelc ast Hazelc ast RDB Hazelc ast Hazelc ast Hazelc ast Hazelc ast Hazelc ast Hazelc ast
  • 21. Write your own client! All in One jar file Resource Authorization Client (Admin) Embedded Tomcat Client (Frontend) Flyway Hazelcast Your Client (Frontend) REST API
  • 22. Write your own client! All in One jar file Resource Authorization Client (Admin) Embedded Tomcat Client (Frontend) Flyway Hazelcast Your Client (Frontend) REST API JavaScript, JavaFX, JSF, Other langs …
  • 23. client written in Go lang https://github.com/making/categolj2-cli Command Line Interface for CategoLJ2 $ catego gets $ catego get {entryId} $ catego post hogehoge.md $ catego put {entryId}.md
  • 24. REST API Document https://github.com/making/ categolj2- backend#backend-apis Comming soon… using Swagger
  • 25. Replace your blog!
  • 26. with “はじめてのBootstrap” http://amzn.to/hajiboo
  • 27. Thank you

×