27. Use case 1 : server based MVC Framework Clientside Stateless Browser Dynamicpages Session MVC Framework Webservices(optional) MVCframework Server side Middle Templateprocessing
28. Use case 2 : client MVC with RESThub JS Session Browser MVCframework Client side HTML5/JavaScript RIA Templateprocessing Staticfiles Dynamicdata RESTWebservices Static file(JS, HTML, CSS) Stateless Server side Middle
29. Why Java developpershate JS ? Contextloss, and no classes Scopes and closures No strongtyping Cross browser compatibility Damnit, it’s Web developpement !
30. But Web techno Rocks ! Concernsseparation Highlydynamic Productive and quick Apps are trendy and sexy
32. Javascriptstack for RIA Webapps But why ? RIA vs Server sidepresentationframework So muchunused power on our desktop ! Competitorsalreadyprovideframework Allows… Use the latest web technologies consistently Reduce traffic and server load Reuse server-programming good practices
40. Bonus Local storage > client session Event bus > betweencontrollers I18n > like in Java Security > OAuth2 JSON > effective communication Console > like log4j …
41. Global view Application server Web browser View Controller Repository View Controller Routes DAO Business Services REST Web Services Repository View Controller Tools
46. Status and Roadmap RESThub 1.1-RC1 has just been released ! RESThub 1.2roadmap : SpringData integration (CouchDB, Redis) OAuth 2 final version support AsyncHttpClient for scalable architecture PushStatesupport on routing Client sidebean validation based on JSR-303 annotations Websocket support NodeJSbased server sidetemplateprocessing