• Save
Jspx Jdc2010
Upcoming SlideShare
Loading in...5
×
 

Like this? Share it with your network

Share

Jspx Jdc2010

on

  • 1,979 views

 

Statistics

Views

Total Views
1,979
Views on SlideShare
1,976
Embed Views
3

Actions

Likes
1
Downloads
0
Comments
0

1 Embed 3

http://www.slideshare.net 3

Accessibility

Upload Details

Uploaded via as Adobe PDF

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

Jspx Jdc2010 Presentation Transcript

  • 1. JSPX WEB TIER IS NO MORE A CONCERN Amr ElAdawy Java Developer Conference 2010 1
  • 2. Agenda Yet Another Framework! Design Goals. Features. Hello Web. Under the Hood. Hit the Highway! Have Your Say. Java Developer Conference 2010 2
  • 3. Yet Another Framework! What is Jspx? Which needs Jspx satisfies? How close is it to JSF, Struts, Wicket,….? Do You need to Learn something new? Are you using a productive web framework? Java Developer Conference 2010 3
  • 4. Design Goals Developer Friendly stay away from freak errors, misleading messages and be more close to logic. Web Layer is no more a concern. redundant tasks are implemented. Easy to use Develop Once Run Everywhere it is all about HTML no coupling with any application server. Zero Configuration no more fancy xml configurations. No Magic nothing here you cannot do yourself. Java Developer Conference 2010 4
  • 5. Features Web Forms with post back events. Dependency Injection Validators (Server/Client side) +Grouping. Data Controls Sorting, Paging, Export to Excel DataTable full use cases without ListTable single line of code Repeater Model/View Binding(Jspx Bean request, session, conversation). Localization/ Resource Bundle. Page Templates (Master/Content Page). Java Developer Conference 2010 5
  • 6. Features Integration with JAAS Easy control on Page life Cycle Easy to use with ready made projects. Ajax is just easier! <AjaxPanel> Existing HTML </AjaxPanel> Java Developer Conference 2010 6
  • 7. Hello Web 0/3 3 Clicks to go Development Configurations Form per Case units per Form Java Developer Conference 2010 7
  • 8. Hello Web 1/3 Prepare your project. just define 2 servlets in your web.xml file (almost ZERO configurations). web.xml Java Developer Conference 2010 8
  • 9. Hello Web 2/3 Development units. form based units ,each business case has a form, each form has two developing units (jspx,java). *.java *.jspx Java Developer Conference 2010 9
  • 10. Hello Web 3/3 Now You Are Ready your code (Jspx, Java) will be merged and rendered as HTML *.jspx html *.java Java Developer Conference 2010 10
  • 11. DEMO Java Developer Conference 2010 11
  • 12. Under the Hood! How did we built it? Code Metrics Name Value Total Lines of Code 14,693 Number of Classes 132 Number of Methods 1,259 Number of Interfaces 10 Depth of Inheritance Tree 2.818 Jspx Jar (293 KB) Java Developer Conference 2010 12
  • 13. Under the Hood! How does it go? Cache Page Model Repository Composer http request Request Handler Request Handler jspx file Jspx core Page Controller http response User Code Java Developer Conference 2010 13
  • 14. Under the Hood! Where does it fit? Web Tier java JSPX XHTML Servlet jspx J2EE Java Developer Conference 2010 14
  • 15. Hit the Highway! What did we miss? Are we Ready yet? What is Next? Eclipse Plug-in CMS Stay Updated: http://jspx.sourceforge.net http://jspx-press.blogspot.com support.jspx@gmail.com Java Developer Conference 2010 15
  • 16. Questions Java Developer Conference 2010 16
  • 17. Thank you Sponsored by: Java Developer Conference 2010 17