SlideShare ist ein Scribd-Unternehmen logo
1 von 17
JSPX             WEB TIER IS NO MORE A CONCERN




                                      Amr ElAdawy




Java Developer Conference 2010                                   1
Agenda
 Yet Another Framework!
 Design Goals.
 Features.
 Hello Web.
 Under the Hood.
 Hit the Highway!
 Have Your Say.


     Java Developer Conference 2010   2
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
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
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
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
Hello Web 0/3
3 Clicks to go




                                                        Development
     Configurations                     Form per Case
                                                        units per Form


       Java Developer Conference 2010                                7
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
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
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
DEMO



Java Developer Conference 2010   11
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
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
Under the Hood!                           Where does it fit?




                                               Web Tier

          java
                                                    JSPX
 XHTML
                                                  Servlet
                 jspx


                                                    J2EE


         Java Developer Conference 2010                        14
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
Questions


Java Developer Conference 2010   16
Thank you


                                 Sponsored by:




Java Developer Conference 2010                   17

Weitere ähnliche Inhalte

Was ist angesagt?

Web Technologies in Java EE 7
Web Technologies in Java EE 7Web Technologies in Java EE 7
Web Technologies in Java EE 7
Lukáš Fryč
 
Lecture 19 dynamic web - java - part 1
Lecture 19   dynamic web - java - part 1Lecture 19   dynamic web - java - part 1
Lecture 19 dynamic web - java - part 1
Д. Ганаа
 
Java Technology
Java TechnologyJava Technology
Java Technology
ifnu bima
 

Was ist angesagt? (20)

Java EE7 Demystified
Java EE7 DemystifiedJava EE7 Demystified
Java EE7 Demystified
 
Jsf2 overview
Jsf2 overviewJsf2 overview
Jsf2 overview
 
Java & J2EE Struts with Hibernate Framework
Java & J2EE Struts with Hibernate FrameworkJava & J2EE Struts with Hibernate Framework
Java & J2EE Struts with Hibernate Framework
 
Arpita industrial trainingppt
Arpita industrial trainingpptArpita industrial trainingppt
Arpita industrial trainingppt
 
Spring and DWR
Spring and DWRSpring and DWR
Spring and DWR
 
Web Technologies in Java EE 7
Web Technologies in Java EE 7Web Technologies in Java EE 7
Web Technologies in Java EE 7
 
Lecture 19 dynamic web - java - part 1
Lecture 19   dynamic web - java - part 1Lecture 19   dynamic web - java - part 1
Lecture 19 dynamic web - java - part 1
 
J2ee
J2eeJ2ee
J2ee
 
Java J2EE Complete Syllabus Checklist
Java J2EE Complete Syllabus ChecklistJava J2EE Complete Syllabus Checklist
Java J2EE Complete Syllabus Checklist
 
Advance java Online Training in Hyderabad
Advance java Online Training in HyderabadAdvance java Online Training in Hyderabad
Advance java Online Training in Hyderabad
 
Webapplication ppt prepared by krishna ballabh gupta
Webapplication ppt prepared by krishna ballabh guptaWebapplication ppt prepared by krishna ballabh gupta
Webapplication ppt prepared by krishna ballabh gupta
 
Jsp tutorial
Jsp tutorialJsp tutorial
Jsp tutorial
 
JSF 2.2
JSF 2.2JSF 2.2
JSF 2.2
 
JAVA Training Syllabus Course
JAVA Training Syllabus CourseJAVA Training Syllabus Course
JAVA Training Syllabus Course
 
JEE Course - JEE Overview
JEE Course - JEE  OverviewJEE Course - JEE  Overview
JEE Course - JEE Overview
 
Chapter2 j2ee
Chapter2 j2eeChapter2 j2ee
Chapter2 j2ee
 
Java Technology
Java TechnologyJava Technology
Java Technology
 
Enterprise Java Beans - EJB
Enterprise Java Beans - EJBEnterprise Java Beans - EJB
Enterprise Java Beans - EJB
 
Enterprise JavaBeans(EJB)
Enterprise JavaBeans(EJB)Enterprise JavaBeans(EJB)
Enterprise JavaBeans(EJB)
 
Intorduction to struts
Intorduction to strutsIntorduction to struts
Intorduction to struts
 

Ähnlich wie Jspx Jdc2010

Kann JavaScript elegant sein?
Kann JavaScript elegant sein?Kann JavaScript elegant sein?
Kann JavaScript elegant sein?
jbandi
 
Nitesh_Sr._Java_developer_Lead
Nitesh_Sr._Java_developer_Lead Nitesh_Sr._Java_developer_Lead
Nitesh_Sr._Java_developer_Lead
Nitesh Dasari
 
Sreekanth java developer raj
Sreekanth java developer rajSreekanth java developer raj
Sreekanth java developer raj
sreekanthavco
 
Sid K
Sid KSid K
Sid K
Sid K
 
Wakanda - apps.berlin.js - 2012-11-29
Wakanda - apps.berlin.js - 2012-11-29Wakanda - apps.berlin.js - 2012-11-29
Wakanda - apps.berlin.js - 2012-11-29
Alexandre Morgaut
 

Ähnlich wie Jspx Jdc2010 (20)

Java EE 7 - Overview and Status
Java EE 7  - Overview and StatusJava EE 7  - Overview and Status
Java EE 7 - Overview and Status
 
December 4 SDForum Java Sig Presentation
December 4 SDForum Java Sig PresentationDecember 4 SDForum Java Sig Presentation
December 4 SDForum Java Sig Presentation
 
Developing Java Web Applications
Developing Java Web ApplicationsDeveloping Java Web Applications
Developing Java Web Applications
 
Introduction To J Boss Seam
Introduction To J Boss SeamIntroduction To J Boss Seam
Introduction To J Boss Seam
 
WebBee rapid web app development teck stack
WebBee rapid web app development teck stackWebBee rapid web app development teck stack
WebBee rapid web app development teck stack
 
Flex For Java Architects Ledroff Breizh Jug V Blog Cc
Flex For Java Architects Ledroff Breizh Jug V Blog CcFlex For Java Architects Ledroff Breizh Jug V Blog Cc
Flex For Java Architects Ledroff Breizh Jug V Blog Cc
 
Vishnu(java)
Vishnu(java)Vishnu(java)
Vishnu(java)
 
Kann JavaScript elegant sein?
Kann JavaScript elegant sein?Kann JavaScript elegant sein?
Kann JavaScript elegant sein?
 
Jsf2 overview
Jsf2 overviewJsf2 overview
Jsf2 overview
 
Nitesh_Sr._Java_developer_Lead
Nitesh_Sr._Java_developer_Lead Nitesh_Sr._Java_developer_Lead
Nitesh_Sr._Java_developer_Lead
 
[English version] JavaFX and Web Integration
[English version] JavaFX and Web Integration[English version] JavaFX and Web Integration
[English version] JavaFX and Web Integration
 
JAVA J2EE Training in Coimbatore - Fundamentals of Java J2EE
JAVA J2EE Training in Coimbatore - Fundamentals of Java J2EE JAVA J2EE Training in Coimbatore - Fundamentals of Java J2EE
JAVA J2EE Training in Coimbatore - Fundamentals of Java J2EE
 
Bhargav
BhargavBhargav
Bhargav
 
Powering the Next Generation Services with Java Platform - Spark IT 2010
Powering the Next Generation Services with Java Platform - Spark IT 2010Powering the Next Generation Services with Java Platform - Spark IT 2010
Powering the Next Generation Services with Java Platform - Spark IT 2010
 
Building Rich Applications with Appcelerator
Building Rich Applications with AppceleratorBuilding Rich Applications with Appcelerator
Building Rich Applications with Appcelerator
 
Frameworks in java
Frameworks in javaFrameworks in java
Frameworks in java
 
Sreekanth java developer raj
Sreekanth java developer rajSreekanth java developer raj
Sreekanth java developer raj
 
Sid K
Sid KSid K
Sid K
 
Wakanda - apps.berlin.js - 2012-11-29
Wakanda - apps.berlin.js - 2012-11-29Wakanda - apps.berlin.js - 2012-11-29
Wakanda - apps.berlin.js - 2012-11-29
 
WaveMaker Presentation
WaveMaker PresentationWaveMaker Presentation
WaveMaker Presentation
 

Kürzlich hochgeladen

The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
heathfieldcps1
 
Making and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdfMaking and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdf
Chris Hunter
 
An Overview of Mutual Funds Bcom Project.pdf
An Overview of Mutual Funds Bcom Project.pdfAn Overview of Mutual Funds Bcom Project.pdf
An Overview of Mutual Funds Bcom Project.pdf
SanaAli374401
 

Kürzlich hochgeladen (20)

Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and Mode
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
 
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptxINDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
 
Class 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfClass 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdf
 
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
 
PROCESS RECORDING FORMAT.docx
PROCESS      RECORDING        FORMAT.docxPROCESS      RECORDING        FORMAT.docx
PROCESS RECORDING FORMAT.docx
 
Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
 
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptx
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 
Making and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdfMaking and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdf
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 
An Overview of Mutual Funds Bcom Project.pdf
An Overview of Mutual Funds Bcom Project.pdfAn Overview of Mutual Funds Bcom Project.pdf
An Overview of Mutual Funds Bcom Project.pdf
 
Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1
 
Advance Mobile Application Development class 07
Advance Mobile Application Development class 07Advance Mobile Application Development class 07
Advance Mobile Application Development class 07
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptx
 
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104
 

Jspx Jdc2010

  • 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
  • 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
  • 17. Thank you Sponsored by: Java Developer Conference 2010 17