Your SlideShare is downloading. ×
Ajax Frameworks in the J(2)EE Environment
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

Ajax Frameworks in the J(2)EE Environment

3,993
views

Published on

Published in: Technology, Education

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

No Downloads
Views
Total Views
3,993
On Slideshare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
0
Comments
0
Likes
13
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. Ajax Frameworks in the J(2)EE Environment Lukas Gwardak
  • 2. Agenda
    • Introduction into Ajax
    • The J2EE environment
    • What is a framework?
    • Comparison criteria
    • Sample comparison
    • Conclusion
  • 3. Introduction into Ajax
    • The web is page-based
    • Interaction is achieved with forms (welcome back, IBM 3270!)
    • No rich Interaction
    • with plain HTML
    • Users are waiting
    • for page reloads
    (Photo: http://www.gilbertostrapazon.hpg.ig.com.br)
  • 4. User activity Client Server processing User activity Server processing User activity Server time Jesse James Garrett, Adaptive Path, 2005
  • 5. Introduction into Ajax
    • Solution: XMLHttpRequest object
    • Introduced by Microsoft in IE5
    • GET- and POST-Requests can be done asynchronously with JavaScript
    • Requests & responses can be done in XML or JSON
    • DOM & CSS manipulation
    • A synchronous J avaScript A nd X ML
  • 6. User activity Client Server processing Server processing Server time Browser UI Ajax engine Client-side processing Jesse James Garrett, Adaptive Path, 2005
  • 7. J2EE Environment
    • Highly scalable architecture
    • Standards-compliant
    • Many vendors
    • Web applications with Servlets API
    • Many existing frameworks:
      • Apache Struts
      • Spring
      • JavaServer Faces
  • 8. J2EE Environment
    • Focus on JavaServer Faces
    • Presentation framework for JSP
    • “ State of the art“ development
      • Separating logic, data and presentation
      • Model-View-Controller pattern
      • Component-based
      • Event-driven
      • Extensible
  • 9. JSF in the J2EE Architecture Sun Developer Network, 2004 Servlets JSP JSF API JSF App JSF App JSF Tags
  • 10. What is a framework?
    • Well known:
      • Class libraries
      • Reusable components
      • Design patterns
    • Sometimes overseen:
      • Developer community!
      • Best practices!
  • 11. Comparison Criteria
    • Browser compatibility
    • IDE support
    • Internationalization / Localization
    • Fallback mechanisms (accessibility)
    • XML/JSON support
    • Web services support
    • Traffic footprint
    • Reusable components?
    • Integration with other frameworks?
    • Licence model
  • 12. Candidate frameworks
    • ICEfaces
    • Backbase Ajax for JSF
    • JBoss RichFaces
    • AjaxTags
    • AjaxAnywhere
    • QuipuKit
    • Netadvantage for JSF
  • 13. Icefaces Backbase
  • 14. ICEfaces architecture
  • 15. Backbase architecture
  • 16. ICEfaces: Platforms
    • Apache Tomcat
    • BEA Weblogic Server
    • JBoss Application Server
    • IBM Websphere Application Server
    • Oracle Application Server Container for J2EE (OC4J)
    • SAP NetWeaver
    • Sun GlassFish
    • Sun Java System Application Server
    • Webtide Jetty
  • 17. Backbase: Platforms
    • BEA WebLogic 8.1, 9.1, 9.2 and 10
    • IBM WebSphere 5.1.1, 6.0.2 and higher
    • Oracle 10g 10.1.3
    • Tomcat 5.0, 5.5 and 6.0
    • JBoss 4.0.3 SP-1, 4.0.4 and 4.0.5
  • 18. ICEfaces: Headstart
    • Integrating an Ajax-Autocomplete
    <ice:selectInputText rows=&quot;10“ width=&quot;300“ valueChangeListener=&quot;#{autoCompleteBean.updateList}“> <f:selectItems value=&quot;#{autoCompleteBean.list}&quot;/> </ice:selectInputText>
  • 19. ICEfaces: IDE support
    • Eclipse (Web Tools Platform + JSF tools)
    • Sun NetBeans
    • MyEclipse Enterprise Workbench
    • BEA Workshop Studio 3, Workshop Studio for JSF
    • Oracle JDeveloper 10g Studio Edition
  • 20. Backbase: IDE support
    • Backbase JSF Edition Eclipse plug-in
      • Code completion
      • Syntax highlighting
    • Real-time debugger within the web browser
      • Integrated with the Ajax engine
  • 21. Backbase: IDE support Coming soon!
  • 22. Score table Backbase ICEfaces +++ +++ Proprietary 250+ growing + multiple IE, FF, O, S 50+ Ajax Components MPL (OSS) License +++ Documentation - Accessibility multiple IDE support +++ Community multiple Supported servers IE, FF, O, S Supported browsers
  • 23. Conclusion
    • Many frameworks to choose from
    • JSF market rapidly growing
    • Good overall score for all frameworks, according to established criteria
    • Open source frameworks dominant
    • Community activity varies
    • Quality & quantity of widgets varies
  • 24. Thank you!

×