SlideShare a Scribd company logo
1 of 48
Download to read offline
Comparing Java Web
          Frameworks
JSF, Spring MVC, Stripes, Struts 2, Tapestry and Wicket

                     Matt Raible
              matt@raibledesigns.com
              http://raibledesigns.com




                                               © 2007 Raible Designs, Inc.
Today's Agenda

Introductions
Pros and Cons
Smackdown
Conclusion
Q and A




                        © 2007 Raible Designs, Inc.
Introductions
Your experience with webapps?
Your experience with Java EE?
What do you want to get from this session?
Experience with Maven, Tomcat, Hibernate, Spring?
Web Framework Experience:
   Spring MVC, Struts 2, Stripes, JSF, Tapestry,
   Wicket




                                            © 2007 Raible Designs, Inc.
Who is Matt Raible?
Power user of Java Open Source Frameworks
Author of Spring Live and Pro JSP 2.0
Founder of AppFuse and AppFuse Light
Member of Java EE 5, JSF 1.2 and Bean Validation
Expert Groups
Committer on Apache Projects: Roller and Struts
Java Blogger since 2002




                                         © 2007 Raible Designs, Inc.
© 2007 Raible Designs, Inc.
My Experience




                © 2007 Raible Designs, Inc.
Pros and Cons




                © 2007 Raible Designs, Inc.
JSF
Pros:
   Java EE Standard - lots of demand and jobs
   Fast and easy to develop with initially
   Lots of component libraries
Cons:
   Tag soup for JSPs
   Doesn't play well with REST or Security
   No single source for implementation



                                             © 2007 Raible Designs, Inc.
Spring MVC
Pros:
   Lifecyle for overriding binding, validation, etc.
   Integrates with many view options seamlessly:
   JSP/JSTL, Tiles, Velocity, FreeMarker, Excel, PDF
   Inversion of Control makes it easy to test
Cons:
   Configuration intensive - lots of XML
   Almost too flexible - no common parent
   Controller
   No built-in Ajax support
                                            © 2007 Raible Designs, Inc.
Stripes
Pros:
   No XML - Convention over Configuration
   Good documentation (easy to learn)
   Enthusiastic community
Cons:
   Small Community
   Not as actively developed as other projects
   Hard-coded URLs in ActionBeans


                                         © 2007 Raible Designs, Inc.
Struts 2
Pros:
   Simple architecture - easy to extend
   Tag Library is easy to customize with
   FreeMarker or Velocity
   Controller-based or page-based navigation
Cons:
   Documentation is poorly organized
   No feedback for missing properties or invalid
   OGNL expressions
   Googling results in Struts 1.x documentation
                                           © 2007 Raible Designs, Inc.
Tapestry
Pros:
   Very productive once you learn it
   Templates are HTML - great for designers
   Lots of innovation between releases
Cons:
   Documentation very conceptual, rather than
   pragmatic
   Steep learning curve
   Long release cycles - major upgrades every year

                                         © 2007 Raible Designs, Inc.
Wicket
Pros:
   Great for Java developers, not web developers
   Tight binding between pages and views
   Active community - support from the creators
Cons:
   HTML templates live next to Java code
   Need to have a good grasp of OO
   The Wicket Way - everything done in Java



                                           © 2007 Raible Designs, Inc.
The Smackdown



                © 2007 Raible Designs, Inc.
Evaluation Criteria
Ajax Support: Is it built-in and easy to use?
Bookmark-ability: Can users bookmark pages and
return to them easily?
Validation: How easy is it to use and does it support
client-side (JavaScript) validation?
Testability: How easy is it to test Controllers out of
container?




                                             © 2007 Raible Designs, Inc.
Evaluation Criteria, cont.
 Post and Redirect: How does the framework handle
 the duplicate post problem?
 Internationalization: How is i18n supported and
 how easy is it to get messages in Controllers?
 Page Decoration: What sort of page decoration/
 composition mechanisms does the framework
 support?
 Community and Support: Can you get questions
 answered quickly (and respectfully)?

                                          © 2007 Raible Designs, Inc.
Evaluation Criteria, cont.

 Tools: Is there good tool (particularly IDE) support
 for the framework?
 Marketability of Skills: If you learn the framework,
 will it help you get a job?
 Job Count: What is the demand for framework skills
 on dice.com and indeed.com?




                                             © 2007 Raible Designs, Inc.
Ajax Support
Is Ajax support built-in and easy to use?
    JSF: No Ajax support, use ICEfaces and Ajax4JSF
    Stripes: No libraries, supports streaming results
    Struts 2: Dojo built-in, plugins for GWT, JSON
    Spring MVC: No libraries, use DWR & Spring
    MVC Extras
    Tapestry: Dojo built-in in 4.1
    Wicket: Dojo and Script.aculo.us (Wicket Stuff)

                                            © 2007 Raible Designs, Inc.
Bookmarking and URLs
JSF does a POST for everything - URLs not even
considered
Stripes uses conventions, but you can override
Struts 2 has namespaces - makes it easy
Spring MVC allows full URL control
Tapestry still has somewhat ugly URLs
Wicket allows pages/URLs to be mounted




                                          © 2007 Raible Designs, Inc.
Validation
JSF has ugly default messages, but easiest to
configure
Spring MVC allows you to use Commons Validator -
a mature solution
Struts 2 uses OGNL for powerful expressions -
client-side only works when specifying rules on
Actions
Tapestry has very robust validation - good messages
without need to customize
Stripes and Wicket do validation in Java - no client-
side
                                            © 2007 Raible Designs, Inc.
Testability
Spring and Struts 2 allow easy testing with mocks
(e.g. EasyMock, jMock, Spring Mocks)
Tapestry appears difficult to test because page
classes are abstract, Creator class simplifies
JSF page classes can be easily tested and actually
look a lot like Struts 2 actions
Wicket has WicketTester, a powerful solution
Stripes has Servlet API Mocks and MockRoundtrip



                                           © 2007 Raible Designs, Inc.
Post and Redirect
The duplicate-post problem: redirect after POST
Is there support for allowing success messages to
live through a redirect?
   Spring MVC allows you to add parameters to a
   redirect
   Stripes, Tapestry and Wicket all have quot;flashquot;
   support
   Struts 2 requires a custom solution
   JSF requires a custom solution, i18n messages
   difficult to get in page beans

                                          © 2007 Raible Designs, Inc.
Internationalization
JSTL’s <fmt:message> tag makes it easy
No standard for getting i18n messages in controller
classes
Stripes, Spring MVC and JSF use a single
ResourceBundle per locale
Struts 2, Tapestry and Wicket advocate separate files
for each page/action
JSF requires resource bundle to be declared on each
page
Tapestry's <span key=quot;key.namequot;> is awesome

                                           © 2007 Raible Designs, Inc.
Page Decoration
Tiles Experience: used since it first came out
SiteMesh is much easier to setup and use
Tiles can be used in Struts 2, Spring and JSF
    Requires configuration for each page
SiteMesh can be used with all frameworks
    Requires very little maintenance after setup
SiteMesh not supported or recommended for use
with JSF, Tapestry or Wicket



                                            © 2007 Raible Designs, Inc.
Marketability of Skills
Struts 1 is still in high-demand and widely-used
Spring is getting more press, but mostly due to the
framework’s other features
JSF is becoming popular; awful with JSP
Struts 2 is gaining ground, but very scarce on job
boards
Tapestry has increased in popularity in last couple
years
Wicket and Stripes are virtually unknown


                                           © 2007 Raible Designs, Inc.
Pretty Graphs




                © 2007 Raible Designs, Inc.
Dice.com Job Count
                                                      Struts 2
800
                                                      Spring MVC
                           748                        Stripes
                                                      JSF
600                                                   Wicket
                                                      Tapestry

400



200

           98
      77                                 69
 0                 20               15
                November 14, 2007

                                              © 2007 Raible Designs, Inc.
Dice Job with Struts 1.x
                                                           Struts 2
3,000
                                                           Spring MVC
                                                           Stripes
                                                           JSF
2,250                                                      Wicket
                                           2,249
                                                           Tapestry
                                                           Struts 1
1,500



 750
                         748



   0    77   98
                  20                  69
                                15
                  November 14, 2007

                                                   © 2007 Raible Designs, Inc.
Job Trends




             © 2007 Raible Designs, Inc.
Job Trends vs. Struts




                   © 2007 Raible Designs, Inc.
Job Trends vs. J2EE




                  © 2007 Raible Designs, Inc.
Job Trends vs. Java




                  © 2007 Raible Designs, Inc.
Employer Search on Monster.com
 Resumes posted in last 2 weeks
      600                                         Struts 2
                                592
                                                  Spring MVC
      480                                         Stripes
                                                  Wicket
      360
                                                  JSF
                                                  Tapestry
      240

      120
            75   84
                                      49
       0              11   12



                                           © 2007 Raible Designs, Inc.
Mailing List Traffic
  Struts

 Stripes

MyFaces

Tapestry

 Wicket

             0                 500                1,000               1,500               2,000
   * Spring MVC is not listed here because they have a forum instead of a mailing list and I couldn’t
   figure out a way to count the number of messages for each month.




                                                                                             © 2007 Raible Designs, Inc.
Releases in 2007

10.0                                  Struts 2
                                      Spring MVC
                                      Stripes
 7.5                                  MyFaces
                                      Wicket
           6                          Tapestry
 5.0

       4

 2.5
                   2   2   2

               1
  0



                               © 2007 Raible Designs, Inc.
Tools Available
15.00                                Struts 2
                                     Spring MVC
                                     Stripes
11.25                       12       Wicket
                                     JSF
                                     Tapestry
 7.50
                                 7


 3.75    4
             3        3


   0
                 May 2007


                                     © 2007 Raible Designs, Inc.
Books on Amazon

10.0
                      10                     Struts 2
                                             Spring MVC
                                             Stripes
 7.5                                         JSF
           7                                 Wicket
                                             Tapestry
 5.0

       4

 2.5                              3

                              2


  0
               October 2007

                                      © 2007 Raible Designs, Inc.
How do you choose?




                © 2007 Raible Designs, Inc.
Eliminate, Don’t Include



                    © 2007 Raible Designs, Inc.
© 2007 Raible Designs, Inc.
6 Important Factors
What type of Application are you building?
Ease of Development / Is full-stack an option?
Project Community
Project Future and Roadmap
Maintenance
Technical Features




                                           © 2007 Raible Designs, Inc.
Don’t believe the Hype
Don’t believe blogs and articles
Try it yourself
Believe developers, not evangelists
Believe developers that are experienced with the
framework and have used it in production
Beware of corporate interests - they can twist
marketing
Books are a good sign



                                           © 2007 Raible Designs, Inc.
Best Tool for the Job
Frameworks have sweet spots - is your
application one of them?
Pick 2-3 frameworks for your type of application...
... and prototype!
If prototyping is painful, switch
Make sure you prototype more than one and do a
presentation comparing the pros and cons of each




                                           © 2007 Raible Designs, Inc.
After Choosing...
Document the reasons for your decision
Allow developers to challenge it
Allow your prototype to be written with other
frameworks
Don’t be afraid to try new frameworks
Don’t be afraid to use old frameworks
Don’t be afraid to keep your existing framework




                                          © 2007 Raible Designs, Inc.
What do I think?




               © 2007 Raible Designs, Inc.
© 2007 Raible Designs, Inc.
Conclusion
The future is bright because of all the competition
Developers should know more than one web
framework
You should try a framework before dissing it
The plethora of web frameworks is a good thing!
Doing proper research can save time and money
Testing is the best path to future maintenance



                                           © 2007 Raible Designs, Inc.
Questions?
    matt@raibledesigns.com
    http://raibledesigns.com


         Download presentation from:
http://raibledesigns.com/rd/page/publications




                                                © 2007 Raible Designs, Inc.

More Related Content

What's hot

Management of testicular cancers
Management of testicular cancersManagement of testicular cancers
Management of testicular cancersNarayan Adhikari
 
Metastatic castrate resistant prostate cancer
Metastatic castrate resistant prostate cancerMetastatic castrate resistant prostate cancer
Metastatic castrate resistant prostate cancerJim Badmus
 
Prostate Cancer Brachytherapy
Prostate CancerBrachytherapyProstate CancerBrachytherapy
Prostate Cancer BrachytherapyAli Azher
 
4 dcrt, FourDimensionalConventionalRadiationTreatment
4 dcrt, FourDimensionalConventionalRadiationTreatment4 dcrt, FourDimensionalConventionalRadiationTreatment
4 dcrt, FourDimensionalConventionalRadiationTreatmentNIMESHDAHIMA
 
ADJUANT TREATMENT IN CA ENDOMETRIUM
ADJUANT TREATMENT IN CA ENDOMETRIUMADJUANT TREATMENT IN CA ENDOMETRIUM
ADJUANT TREATMENT IN CA ENDOMETRIUMPaul George
 
Adjuvant chemotherapy of breast cancer
Adjuvant chemotherapy of breast cancerAdjuvant chemotherapy of breast cancer
Adjuvant chemotherapy of breast cancerGita Bhat
 
Antiangiogenic therapy in colorectal cancer
Antiangiogenic therapy in colorectal cancerAntiangiogenic therapy in colorectal cancer
Antiangiogenic therapy in colorectal cancerMohamed Abdulla
 
cCR TO NACTRT RECTUM-WHAT NEXT?
cCR TO NACTRT RECTUM-WHAT NEXT?cCR TO NACTRT RECTUM-WHAT NEXT?
cCR TO NACTRT RECTUM-WHAT NEXT?Kanhu Charan
 
Pharmaceutical prospectives of anti estrogen, m-tor, CDK 4/6 in Breast Cancer
Pharmaceutical prospectives of anti estrogen, m-tor, CDK 4/6 in Breast CancerPharmaceutical prospectives of anti estrogen, m-tor, CDK 4/6 in Breast Cancer
Pharmaceutical prospectives of anti estrogen, m-tor, CDK 4/6 in Breast CancerNoha El Baghdady
 
CRC Case Closed Presentation.pdf
CRC Case Closed Presentation.pdfCRC Case Closed Presentation.pdf
CRC Case Closed Presentation.pdfDevi Seal
 
Isolation fibre de bois gutex - ageka
Isolation fibre de bois   gutex - ageka Isolation fibre de bois   gutex - ageka
Isolation fibre de bois gutex - ageka Ageka
 
Java Threads: Lightweight Processes
Java Threads: Lightweight ProcessesJava Threads: Lightweight Processes
Java Threads: Lightweight ProcessesIsuru Perera
 
Radiogenomics of renal cell carcinoma
Radiogenomics of renal cell carcinomaRadiogenomics of renal cell carcinoma
Radiogenomics of renal cell carcinomaYulian Mytsyk
 
Adjuvant therapy in pancreatic cancer.pptx
Adjuvant therapy in pancreatic cancer.pptxAdjuvant therapy in pancreatic cancer.pptx
Adjuvant therapy in pancreatic cancer.pptxSujan Shrestha
 

What's hot (20)

PORTEC 3 trial
PORTEC 3 trialPORTEC 3 trial
PORTEC 3 trial
 
Management of testicular cancers
Management of testicular cancersManagement of testicular cancers
Management of testicular cancers
 
Metastatic castrate resistant prostate cancer
Metastatic castrate resistant prostate cancerMetastatic castrate resistant prostate cancer
Metastatic castrate resistant prostate cancer
 
Prostate Cancer Brachytherapy
Prostate CancerBrachytherapyProstate CancerBrachytherapy
Prostate Cancer Brachytherapy
 
4 dcrt, FourDimensionalConventionalRadiationTreatment
4 dcrt, FourDimensionalConventionalRadiationTreatment4 dcrt, FourDimensionalConventionalRadiationTreatment
4 dcrt, FourDimensionalConventionalRadiationTreatment
 
MonarchE Journal Presentation
MonarchE Journal PresentationMonarchE Journal Presentation
MonarchE Journal Presentation
 
ADJUANT TREATMENT IN CA ENDOMETRIUM
ADJUANT TREATMENT IN CA ENDOMETRIUMADJUANT TREATMENT IN CA ENDOMETRIUM
ADJUANT TREATMENT IN CA ENDOMETRIUM
 
NEUROBLASTOMA.pptx
NEUROBLASTOMA.pptxNEUROBLASTOMA.pptx
NEUROBLASTOMA.pptx
 
Adjuvant chemotherapy of breast cancer
Adjuvant chemotherapy of breast cancerAdjuvant chemotherapy of breast cancer
Adjuvant chemotherapy of breast cancer
 
Antiangiogenic therapy in colorectal cancer
Antiangiogenic therapy in colorectal cancerAntiangiogenic therapy in colorectal cancer
Antiangiogenic therapy in colorectal cancer
 
cCR TO NACTRT RECTUM-WHAT NEXT?
cCR TO NACTRT RECTUM-WHAT NEXT?cCR TO NACTRT RECTUM-WHAT NEXT?
cCR TO NACTRT RECTUM-WHAT NEXT?
 
Vault の鍵管理機構
Vault の鍵管理機構Vault の鍵管理機構
Vault の鍵管理機構
 
Pharmaceutical prospectives of anti estrogen, m-tor, CDK 4/6 in Breast Cancer
Pharmaceutical prospectives of anti estrogen, m-tor, CDK 4/6 in Breast CancerPharmaceutical prospectives of anti estrogen, m-tor, CDK 4/6 in Breast Cancer
Pharmaceutical prospectives of anti estrogen, m-tor, CDK 4/6 in Breast Cancer
 
CRC Case Closed Presentation.pdf
CRC Case Closed Presentation.pdfCRC Case Closed Presentation.pdf
CRC Case Closed Presentation.pdf
 
Isolation fibre de bois gutex - ageka
Isolation fibre de bois   gutex - ageka Isolation fibre de bois   gutex - ageka
Isolation fibre de bois gutex - ageka
 
Java Threads: Lightweight Processes
Java Threads: Lightweight ProcessesJava Threads: Lightweight Processes
Java Threads: Lightweight Processes
 
Radiogenomics of renal cell carcinoma
Radiogenomics of renal cell carcinomaRadiogenomics of renal cell carcinoma
Radiogenomics of renal cell carcinoma
 
Adjuvant therapy in pancreatic cancer.pptx
Adjuvant therapy in pancreatic cancer.pptxAdjuvant therapy in pancreatic cancer.pptx
Adjuvant therapy in pancreatic cancer.pptx
 
Lapatinib in Breast Cancer
Lapatinib in Breast CancerLapatinib in Breast Cancer
Lapatinib in Breast Cancer
 
Embrace ii protocol
Embrace ii protocolEmbrace ii protocol
Embrace ii protocol
 

Similar to Comparing JSF, Spring MVC, Stripes, Struts 2, Tapestry and Wicket

Comparing javawebframeworks apacheconus2007
Comparing javawebframeworks apacheconus2007Comparing javawebframeworks apacheconus2007
Comparing javawebframeworks apacheconus2007Geococcyx
 
Comparing Flex, Grails, GWT, Seam, Struts 2 and Wicket
Comparing Flex, Grails, GWT, Seam, Struts 2 and WicketComparing Flex, Grails, GWT, Seam, Struts 2 and Wicket
Comparing Flex, Grails, GWT, Seam, Struts 2 and WicketMatt Raible
 
Comparing Java Web Frameworks
Comparing Java Web FrameworksComparing Java Web Frameworks
Comparing Java Web FrameworksMatt Raible
 
Comparing Java Web Frameworks Apache Con Eu2007
Comparing Java Web Frameworks Apache Con Eu2007Comparing Java Web Frameworks Apache Con Eu2007
Comparing Java Web Frameworks Apache Con Eu2007Yekmer Simsek
 
Comparing JVM Web Frameworks - Rich Web Experience 2010
Comparing JVM Web Frameworks - Rich Web Experience 2010Comparing JVM Web Frameworks - Rich Web Experience 2010
Comparing JVM Web Frameworks - Rich Web Experience 2010Matt Raible
 
Comparing JVM Web Frameworks - TSSJS 2011
Comparing JVM Web Frameworks - TSSJS 2011Comparing JVM Web Frameworks - TSSJS 2011
Comparing JVM Web Frameworks - TSSJS 2011Matt Raible
 
Choosing a JVM Web Framework
Choosing a JVM Web FrameworkChoosing a JVM Web Framework
Choosing a JVM Web FrameworkMatt Raible
 
Comparing JVM Web Frameworks - Devoxx 2010
Comparing JVM Web Frameworks - Devoxx 2010Comparing JVM Web Frameworks - Devoxx 2010
Comparing JVM Web Frameworks - Devoxx 2010Matt Raible
 
Comparing JVM Web Frameworks - 33rd Degree
Comparing JVM Web Frameworks - 33rd DegreeComparing JVM Web Frameworks - 33rd Degree
Comparing JVM Web Frameworks - 33rd DegreeMatt Raible
 
Sun Java EE 6 Overview
Sun Java EE 6 OverviewSun Java EE 6 Overview
Sun Java EE 6 Overviewsbobde
 
Introduction To J Boss Seam
Introduction To J Boss SeamIntroduction To J Boss Seam
Introduction To J Boss Seamashishkulkarni
 
Java EE 6 & GlassFish v3: Paving the path for the future - Tech Days 2010 India
Java EE 6 & GlassFish v3: Paving the path for the future - Tech Days 2010 IndiaJava EE 6 & GlassFish v3: Paving the path for the future - Tech Days 2010 India
Java EE 6 & GlassFish v3: Paving the path for the future - Tech Days 2010 IndiaArun Gupta
 
Java EE 6 & GlassFish v3: Paving the path for the future - Spark IT 2010
Java EE 6 & GlassFish v3: Paving the path for the future - Spark IT 2010Java EE 6 & GlassFish v3: Paving the path for the future - Spark IT 2010
Java EE 6 & GlassFish v3: Paving the path for the future - Spark IT 2010Arun Gupta
 
Java EE 6 & GlassFish v3 @ DevNexus
Java EE 6 & GlassFish v3 @ DevNexusJava EE 6 & GlassFish v3 @ DevNexus
Java EE 6 & GlassFish v3 @ DevNexusArun Gupta
 
Playframework + Twitter Bootstrap
Playframework + Twitter BootstrapPlayframework + Twitter Bootstrap
Playframework + Twitter BootstrapKevingo Tsai
 

Similar to Comparing JSF, Spring MVC, Stripes, Struts 2, Tapestry and Wicket (20)

Comparing javawebframeworks apacheconus2007
Comparing javawebframeworks apacheconus2007Comparing javawebframeworks apacheconus2007
Comparing javawebframeworks apacheconus2007
 
Comparing Flex, Grails, GWT, Seam, Struts 2 and Wicket
Comparing Flex, Grails, GWT, Seam, Struts 2 and WicketComparing Flex, Grails, GWT, Seam, Struts 2 and Wicket
Comparing Flex, Grails, GWT, Seam, Struts 2 and Wicket
 
Comparing Java Web Frameworks
Comparing Java Web FrameworksComparing Java Web Frameworks
Comparing Java Web Frameworks
 
Comparing Java Web Frameworks Apache Con Eu2007
Comparing Java Web Frameworks Apache Con Eu2007Comparing Java Web Frameworks Apache Con Eu2007
Comparing Java Web Frameworks Apache Con Eu2007
 
Comparing JVM Web Frameworks - Rich Web Experience 2010
Comparing JVM Web Frameworks - Rich Web Experience 2010Comparing JVM Web Frameworks - Rich Web Experience 2010
Comparing JVM Web Frameworks - Rich Web Experience 2010
 
Os Raible
Os RaibleOs Raible
Os Raible
 
Comparing JVM Web Frameworks - TSSJS 2011
Comparing JVM Web Frameworks - TSSJS 2011Comparing JVM Web Frameworks - TSSJS 2011
Comparing JVM Web Frameworks - TSSJS 2011
 
Choosing a JVM Web Framework
Choosing a JVM Web FrameworkChoosing a JVM Web Framework
Choosing a JVM Web Framework
 
Jsf 2.0 Overview
Jsf 2.0 OverviewJsf 2.0 Overview
Jsf 2.0 Overview
 
Comparing JVM Web Frameworks - Devoxx 2010
Comparing JVM Web Frameworks - Devoxx 2010Comparing JVM Web Frameworks - Devoxx 2010
Comparing JVM Web Frameworks - Devoxx 2010
 
Comparing JVM Web Frameworks - 33rd Degree
Comparing JVM Web Frameworks - 33rd DegreeComparing JVM Web Frameworks - 33rd Degree
Comparing JVM Web Frameworks - 33rd Degree
 
Java/J2EE Companion
Java/J2EE CompanionJava/J2EE Companion
Java/J2EE Companion
 
Java EE 6 and GlassFish portfolio
Java EE 6 and GlassFish portfolioJava EE 6 and GlassFish portfolio
Java EE 6 and GlassFish portfolio
 
Sun Java EE 6 Overview
Sun Java EE 6 OverviewSun Java EE 6 Overview
Sun Java EE 6 Overview
 
Introduction To J Boss Seam
Introduction To J Boss SeamIntroduction To J Boss Seam
Introduction To J Boss Seam
 
Frameworks in java
Frameworks in javaFrameworks in java
Frameworks in java
 
Java EE 6 & GlassFish v3: Paving the path for the future - Tech Days 2010 India
Java EE 6 & GlassFish v3: Paving the path for the future - Tech Days 2010 IndiaJava EE 6 & GlassFish v3: Paving the path for the future - Tech Days 2010 India
Java EE 6 & GlassFish v3: Paving the path for the future - Tech Days 2010 India
 
Java EE 6 & GlassFish v3: Paving the path for the future - Spark IT 2010
Java EE 6 & GlassFish v3: Paving the path for the future - Spark IT 2010Java EE 6 & GlassFish v3: Paving the path for the future - Spark IT 2010
Java EE 6 & GlassFish v3: Paving the path for the future - Spark IT 2010
 
Java EE 6 & GlassFish v3 @ DevNexus
Java EE 6 & GlassFish v3 @ DevNexusJava EE 6 & GlassFish v3 @ DevNexus
Java EE 6 & GlassFish v3 @ DevNexus
 
Playframework + Twitter Bootstrap
Playframework + Twitter BootstrapPlayframework + Twitter Bootstrap
Playframework + Twitter Bootstrap
 

More from Matt Raible

Keep Identities in Sync the SCIMple Way - ApacheCon NA 2022
Keep Identities in Sync the SCIMple Way - ApacheCon NA 2022Keep Identities in Sync the SCIMple Way - ApacheCon NA 2022
Keep Identities in Sync the SCIMple Way - ApacheCon NA 2022Matt Raible
 
Micro Frontends for Java Microservices - Belfast JUG 2022
Micro Frontends for Java Microservices - Belfast JUG 2022Micro Frontends for Java Microservices - Belfast JUG 2022
Micro Frontends for Java Microservices - Belfast JUG 2022Matt Raible
 
Micro Frontends for Java Microservices - Dublin JUG 2022
Micro Frontends for Java Microservices - Dublin JUG 2022Micro Frontends for Java Microservices - Dublin JUG 2022
Micro Frontends for Java Microservices - Dublin JUG 2022Matt Raible
 
Micro Frontends for Java Microservices - Cork JUG 2022
Micro Frontends for Java Microservices - Cork JUG 2022Micro Frontends for Java Microservices - Cork JUG 2022
Micro Frontends for Java Microservices - Cork JUG 2022Matt Raible
 
Comparing Native Java REST API Frameworks - Seattle JUG 2022
Comparing Native Java REST API Frameworks - Seattle JUG 2022Comparing Native Java REST API Frameworks - Seattle JUG 2022
Comparing Native Java REST API Frameworks - Seattle JUG 2022Matt Raible
 
Reactive Java Microservices with Spring Boot and JHipster - Spring I/O 2022
Reactive Java Microservices with Spring Boot and JHipster - Spring I/O 2022Reactive Java Microservices with Spring Boot and JHipster - Spring I/O 2022
Reactive Java Microservices with Spring Boot and JHipster - Spring I/O 2022Matt Raible
 
Comparing Native Java REST API Frameworks - Devoxx France 2022
Comparing Native Java REST API Frameworks - Devoxx France 2022Comparing Native Java REST API Frameworks - Devoxx France 2022
Comparing Native Java REST API Frameworks - Devoxx France 2022Matt Raible
 
Lock That Sh*t Down! Auth Security Patterns for Apps, APIs, and Infra - Devne...
Lock That Sh*t Down! Auth Security Patterns for Apps, APIs, and Infra - Devne...Lock That Sh*t Down! Auth Security Patterns for Apps, APIs, and Infra - Devne...
Lock That Sh*t Down! Auth Security Patterns for Apps, APIs, and Infra - Devne...Matt Raible
 
Native Java with Spring Boot and JHipster - Garden State JUG 2021
Native Java with Spring Boot and JHipster - Garden State JUG 2021Native Java with Spring Boot and JHipster - Garden State JUG 2021
Native Java with Spring Boot and JHipster - Garden State JUG 2021Matt Raible
 
Java REST API Framework Comparison - PWX 2021
Java REST API Framework Comparison - PWX 2021Java REST API Framework Comparison - PWX 2021
Java REST API Framework Comparison - PWX 2021Matt Raible
 
Web App Security for Java Developers - PWX 2021
Web App Security for Java Developers - PWX 2021Web App Security for Java Developers - PWX 2021
Web App Security for Java Developers - PWX 2021Matt Raible
 
Mobile App Development with Ionic, React Native, and JHipster - Connect.Tech ...
Mobile App Development with Ionic, React Native, and JHipster - Connect.Tech ...Mobile App Development with Ionic, React Native, and JHipster - Connect.Tech ...
Mobile App Development with Ionic, React Native, and JHipster - Connect.Tech ...Matt Raible
 
Lock That Shit Down! Auth Security Patterns for Apps, APIs, and Infra - Joker...
Lock That Shit Down! Auth Security Patterns for Apps, APIs, and Infra - Joker...Lock That Shit Down! Auth Security Patterns for Apps, APIs, and Infra - Joker...
Lock That Shit Down! Auth Security Patterns for Apps, APIs, and Infra - Joker...Matt Raible
 
Web App Security for Java Developers - UberConf 2021
Web App Security for Java Developers - UberConf 2021Web App Security for Java Developers - UberConf 2021
Web App Security for Java Developers - UberConf 2021Matt Raible
 
Java REST API Framework Comparison - UberConf 2021
Java REST API Framework Comparison - UberConf 2021Java REST API Framework Comparison - UberConf 2021
Java REST API Framework Comparison - UberConf 2021Matt Raible
 
Native Java with Spring Boot and JHipster - SF JUG 2021
Native Java with Spring Boot and JHipster - SF JUG 2021Native Java with Spring Boot and JHipster - SF JUG 2021
Native Java with Spring Boot and JHipster - SF JUG 2021Matt Raible
 
Lock That Shit Down! Auth Security Patterns for Apps, APIs, and Infra - Sprin...
Lock That Shit Down! Auth Security Patterns for Apps, APIs, and Infra - Sprin...Lock That Shit Down! Auth Security Patterns for Apps, APIs, and Infra - Sprin...
Lock That Shit Down! Auth Security Patterns for Apps, APIs, and Infra - Sprin...Matt Raible
 
Reactive Java Microservices with Spring Boot and JHipster - Denver JUG 2021
Reactive Java Microservices with Spring Boot and JHipster - Denver JUG 2021Reactive Java Microservices with Spring Boot and JHipster - Denver JUG 2021
Reactive Java Microservices with Spring Boot and JHipster - Denver JUG 2021Matt Raible
 
Get Hip with JHipster - Colorado Springs Open Source User Group 2021
Get Hip with JHipster - Colorado Springs Open Source User Group 2021Get Hip with JHipster - Colorado Springs Open Source User Group 2021
Get Hip with JHipster - Colorado Springs Open Source User Group 2021Matt Raible
 
JHipster and Okta - JHipster Virtual Meetup December 2020
JHipster and Okta - JHipster Virtual Meetup December 2020JHipster and Okta - JHipster Virtual Meetup December 2020
JHipster and Okta - JHipster Virtual Meetup December 2020Matt Raible
 

More from Matt Raible (20)

Keep Identities in Sync the SCIMple Way - ApacheCon NA 2022
Keep Identities in Sync the SCIMple Way - ApacheCon NA 2022Keep Identities in Sync the SCIMple Way - ApacheCon NA 2022
Keep Identities in Sync the SCIMple Way - ApacheCon NA 2022
 
Micro Frontends for Java Microservices - Belfast JUG 2022
Micro Frontends for Java Microservices - Belfast JUG 2022Micro Frontends for Java Microservices - Belfast JUG 2022
Micro Frontends for Java Microservices - Belfast JUG 2022
 
Micro Frontends for Java Microservices - Dublin JUG 2022
Micro Frontends for Java Microservices - Dublin JUG 2022Micro Frontends for Java Microservices - Dublin JUG 2022
Micro Frontends for Java Microservices - Dublin JUG 2022
 
Micro Frontends for Java Microservices - Cork JUG 2022
Micro Frontends for Java Microservices - Cork JUG 2022Micro Frontends for Java Microservices - Cork JUG 2022
Micro Frontends for Java Microservices - Cork JUG 2022
 
Comparing Native Java REST API Frameworks - Seattle JUG 2022
Comparing Native Java REST API Frameworks - Seattle JUG 2022Comparing Native Java REST API Frameworks - Seattle JUG 2022
Comparing Native Java REST API Frameworks - Seattle JUG 2022
 
Reactive Java Microservices with Spring Boot and JHipster - Spring I/O 2022
Reactive Java Microservices with Spring Boot and JHipster - Spring I/O 2022Reactive Java Microservices with Spring Boot and JHipster - Spring I/O 2022
Reactive Java Microservices with Spring Boot and JHipster - Spring I/O 2022
 
Comparing Native Java REST API Frameworks - Devoxx France 2022
Comparing Native Java REST API Frameworks - Devoxx France 2022Comparing Native Java REST API Frameworks - Devoxx France 2022
Comparing Native Java REST API Frameworks - Devoxx France 2022
 
Lock That Sh*t Down! Auth Security Patterns for Apps, APIs, and Infra - Devne...
Lock That Sh*t Down! Auth Security Patterns for Apps, APIs, and Infra - Devne...Lock That Sh*t Down! Auth Security Patterns for Apps, APIs, and Infra - Devne...
Lock That Sh*t Down! Auth Security Patterns for Apps, APIs, and Infra - Devne...
 
Native Java with Spring Boot and JHipster - Garden State JUG 2021
Native Java with Spring Boot and JHipster - Garden State JUG 2021Native Java with Spring Boot and JHipster - Garden State JUG 2021
Native Java with Spring Boot and JHipster - Garden State JUG 2021
 
Java REST API Framework Comparison - PWX 2021
Java REST API Framework Comparison - PWX 2021Java REST API Framework Comparison - PWX 2021
Java REST API Framework Comparison - PWX 2021
 
Web App Security for Java Developers - PWX 2021
Web App Security for Java Developers - PWX 2021Web App Security for Java Developers - PWX 2021
Web App Security for Java Developers - PWX 2021
 
Mobile App Development with Ionic, React Native, and JHipster - Connect.Tech ...
Mobile App Development with Ionic, React Native, and JHipster - Connect.Tech ...Mobile App Development with Ionic, React Native, and JHipster - Connect.Tech ...
Mobile App Development with Ionic, React Native, and JHipster - Connect.Tech ...
 
Lock That Shit Down! Auth Security Patterns for Apps, APIs, and Infra - Joker...
Lock That Shit Down! Auth Security Patterns for Apps, APIs, and Infra - Joker...Lock That Shit Down! Auth Security Patterns for Apps, APIs, and Infra - Joker...
Lock That Shit Down! Auth Security Patterns for Apps, APIs, and Infra - Joker...
 
Web App Security for Java Developers - UberConf 2021
Web App Security for Java Developers - UberConf 2021Web App Security for Java Developers - UberConf 2021
Web App Security for Java Developers - UberConf 2021
 
Java REST API Framework Comparison - UberConf 2021
Java REST API Framework Comparison - UberConf 2021Java REST API Framework Comparison - UberConf 2021
Java REST API Framework Comparison - UberConf 2021
 
Native Java with Spring Boot and JHipster - SF JUG 2021
Native Java with Spring Boot and JHipster - SF JUG 2021Native Java with Spring Boot and JHipster - SF JUG 2021
Native Java with Spring Boot and JHipster - SF JUG 2021
 
Lock That Shit Down! Auth Security Patterns for Apps, APIs, and Infra - Sprin...
Lock That Shit Down! Auth Security Patterns for Apps, APIs, and Infra - Sprin...Lock That Shit Down! Auth Security Patterns for Apps, APIs, and Infra - Sprin...
Lock That Shit Down! Auth Security Patterns for Apps, APIs, and Infra - Sprin...
 
Reactive Java Microservices with Spring Boot and JHipster - Denver JUG 2021
Reactive Java Microservices with Spring Boot and JHipster - Denver JUG 2021Reactive Java Microservices with Spring Boot and JHipster - Denver JUG 2021
Reactive Java Microservices with Spring Boot and JHipster - Denver JUG 2021
 
Get Hip with JHipster - Colorado Springs Open Source User Group 2021
Get Hip with JHipster - Colorado Springs Open Source User Group 2021Get Hip with JHipster - Colorado Springs Open Source User Group 2021
Get Hip with JHipster - Colorado Springs Open Source User Group 2021
 
JHipster and Okta - JHipster Virtual Meetup December 2020
JHipster and Okta - JHipster Virtual Meetup December 2020JHipster and Okta - JHipster Virtual Meetup December 2020
JHipster and Okta - JHipster Virtual Meetup December 2020
 

Recently uploaded

Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationSlibray Presentation
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr BaganFwdays
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Commit University
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsMemoori
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Mark Simos
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time ClashPowerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clashcharlottematthew16
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek SchlawackFwdays
 
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostLeverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostZilliz
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupFlorian Wilhelm
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 3652toLead Limited
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationRidwan Fadjar
 
Training state-of-the-art general text embedding
Training state-of-the-art general text embeddingTraining state-of-the-art general text embedding
Training state-of-the-art general text embeddingZilliz
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsSergiu Bodiu
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Mattias Andersson
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsMark Billinghurst
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Enterprise Knowledge
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebUiPathCommunity
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfAlex Barbosa Coqueiro
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfAddepto
 

Recently uploaded (20)

Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck Presentation
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial Buildings
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time ClashPowerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clash
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
 
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostLeverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project Setup
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
 
Training state-of-the-art general text embedding
Training state-of-the-art general text embeddingTraining state-of-the-art general text embedding
Training state-of-the-art general text embedding
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platforms
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio Web
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdf
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdf
 

Comparing JSF, Spring MVC, Stripes, Struts 2, Tapestry and Wicket

  • 1. Comparing Java Web Frameworks JSF, Spring MVC, Stripes, Struts 2, Tapestry and Wicket Matt Raible matt@raibledesigns.com http://raibledesigns.com © 2007 Raible Designs, Inc.
  • 2. Today's Agenda Introductions Pros and Cons Smackdown Conclusion Q and A © 2007 Raible Designs, Inc.
  • 3. Introductions Your experience with webapps? Your experience with Java EE? What do you want to get from this session? Experience with Maven, Tomcat, Hibernate, Spring? Web Framework Experience: Spring MVC, Struts 2, Stripes, JSF, Tapestry, Wicket © 2007 Raible Designs, Inc.
  • 4. Who is Matt Raible? Power user of Java Open Source Frameworks Author of Spring Live and Pro JSP 2.0 Founder of AppFuse and AppFuse Light Member of Java EE 5, JSF 1.2 and Bean Validation Expert Groups Committer on Apache Projects: Roller and Struts Java Blogger since 2002 © 2007 Raible Designs, Inc.
  • 5. © 2007 Raible Designs, Inc.
  • 6. My Experience © 2007 Raible Designs, Inc.
  • 7. Pros and Cons © 2007 Raible Designs, Inc.
  • 8. JSF Pros: Java EE Standard - lots of demand and jobs Fast and easy to develop with initially Lots of component libraries Cons: Tag soup for JSPs Doesn't play well with REST or Security No single source for implementation © 2007 Raible Designs, Inc.
  • 9. Spring MVC Pros: Lifecyle for overriding binding, validation, etc. Integrates with many view options seamlessly: JSP/JSTL, Tiles, Velocity, FreeMarker, Excel, PDF Inversion of Control makes it easy to test Cons: Configuration intensive - lots of XML Almost too flexible - no common parent Controller No built-in Ajax support © 2007 Raible Designs, Inc.
  • 10. Stripes Pros: No XML - Convention over Configuration Good documentation (easy to learn) Enthusiastic community Cons: Small Community Not as actively developed as other projects Hard-coded URLs in ActionBeans © 2007 Raible Designs, Inc.
  • 11. Struts 2 Pros: Simple architecture - easy to extend Tag Library is easy to customize with FreeMarker or Velocity Controller-based or page-based navigation Cons: Documentation is poorly organized No feedback for missing properties or invalid OGNL expressions Googling results in Struts 1.x documentation © 2007 Raible Designs, Inc.
  • 12. Tapestry Pros: Very productive once you learn it Templates are HTML - great for designers Lots of innovation between releases Cons: Documentation very conceptual, rather than pragmatic Steep learning curve Long release cycles - major upgrades every year © 2007 Raible Designs, Inc.
  • 13. Wicket Pros: Great for Java developers, not web developers Tight binding between pages and views Active community - support from the creators Cons: HTML templates live next to Java code Need to have a good grasp of OO The Wicket Way - everything done in Java © 2007 Raible Designs, Inc.
  • 14. The Smackdown © 2007 Raible Designs, Inc.
  • 15. Evaluation Criteria Ajax Support: Is it built-in and easy to use? Bookmark-ability: Can users bookmark pages and return to them easily? Validation: How easy is it to use and does it support client-side (JavaScript) validation? Testability: How easy is it to test Controllers out of container? © 2007 Raible Designs, Inc.
  • 16. Evaluation Criteria, cont. Post and Redirect: How does the framework handle the duplicate post problem? Internationalization: How is i18n supported and how easy is it to get messages in Controllers? Page Decoration: What sort of page decoration/ composition mechanisms does the framework support? Community and Support: Can you get questions answered quickly (and respectfully)? © 2007 Raible Designs, Inc.
  • 17. Evaluation Criteria, cont. Tools: Is there good tool (particularly IDE) support for the framework? Marketability of Skills: If you learn the framework, will it help you get a job? Job Count: What is the demand for framework skills on dice.com and indeed.com? © 2007 Raible Designs, Inc.
  • 18. Ajax Support Is Ajax support built-in and easy to use? JSF: No Ajax support, use ICEfaces and Ajax4JSF Stripes: No libraries, supports streaming results Struts 2: Dojo built-in, plugins for GWT, JSON Spring MVC: No libraries, use DWR & Spring MVC Extras Tapestry: Dojo built-in in 4.1 Wicket: Dojo and Script.aculo.us (Wicket Stuff) © 2007 Raible Designs, Inc.
  • 19. Bookmarking and URLs JSF does a POST for everything - URLs not even considered Stripes uses conventions, but you can override Struts 2 has namespaces - makes it easy Spring MVC allows full URL control Tapestry still has somewhat ugly URLs Wicket allows pages/URLs to be mounted © 2007 Raible Designs, Inc.
  • 20. Validation JSF has ugly default messages, but easiest to configure Spring MVC allows you to use Commons Validator - a mature solution Struts 2 uses OGNL for powerful expressions - client-side only works when specifying rules on Actions Tapestry has very robust validation - good messages without need to customize Stripes and Wicket do validation in Java - no client- side © 2007 Raible Designs, Inc.
  • 21. Testability Spring and Struts 2 allow easy testing with mocks (e.g. EasyMock, jMock, Spring Mocks) Tapestry appears difficult to test because page classes are abstract, Creator class simplifies JSF page classes can be easily tested and actually look a lot like Struts 2 actions Wicket has WicketTester, a powerful solution Stripes has Servlet API Mocks and MockRoundtrip © 2007 Raible Designs, Inc.
  • 22. Post and Redirect The duplicate-post problem: redirect after POST Is there support for allowing success messages to live through a redirect? Spring MVC allows you to add parameters to a redirect Stripes, Tapestry and Wicket all have quot;flashquot; support Struts 2 requires a custom solution JSF requires a custom solution, i18n messages difficult to get in page beans © 2007 Raible Designs, Inc.
  • 23. Internationalization JSTL’s <fmt:message> tag makes it easy No standard for getting i18n messages in controller classes Stripes, Spring MVC and JSF use a single ResourceBundle per locale Struts 2, Tapestry and Wicket advocate separate files for each page/action JSF requires resource bundle to be declared on each page Tapestry's <span key=quot;key.namequot;> is awesome © 2007 Raible Designs, Inc.
  • 24. Page Decoration Tiles Experience: used since it first came out SiteMesh is much easier to setup and use Tiles can be used in Struts 2, Spring and JSF Requires configuration for each page SiteMesh can be used with all frameworks Requires very little maintenance after setup SiteMesh not supported or recommended for use with JSF, Tapestry or Wicket © 2007 Raible Designs, Inc.
  • 25. Marketability of Skills Struts 1 is still in high-demand and widely-used Spring is getting more press, but mostly due to the framework’s other features JSF is becoming popular; awful with JSP Struts 2 is gaining ground, but very scarce on job boards Tapestry has increased in popularity in last couple years Wicket and Stripes are virtually unknown © 2007 Raible Designs, Inc.
  • 26. Pretty Graphs © 2007 Raible Designs, Inc.
  • 27. Dice.com Job Count Struts 2 800 Spring MVC 748 Stripes JSF 600 Wicket Tapestry 400 200 98 77 69 0 20 15 November 14, 2007 © 2007 Raible Designs, Inc.
  • 28. Dice Job with Struts 1.x Struts 2 3,000 Spring MVC Stripes JSF 2,250 Wicket 2,249 Tapestry Struts 1 1,500 750 748 0 77 98 20 69 15 November 14, 2007 © 2007 Raible Designs, Inc.
  • 29. Job Trends © 2007 Raible Designs, Inc.
  • 30. Job Trends vs. Struts © 2007 Raible Designs, Inc.
  • 31. Job Trends vs. J2EE © 2007 Raible Designs, Inc.
  • 32. Job Trends vs. Java © 2007 Raible Designs, Inc.
  • 33. Employer Search on Monster.com Resumes posted in last 2 weeks 600 Struts 2 592 Spring MVC 480 Stripes Wicket 360 JSF Tapestry 240 120 75 84 49 0 11 12 © 2007 Raible Designs, Inc.
  • 34. Mailing List Traffic Struts Stripes MyFaces Tapestry Wicket 0 500 1,000 1,500 2,000 * Spring MVC is not listed here because they have a forum instead of a mailing list and I couldn’t figure out a way to count the number of messages for each month. © 2007 Raible Designs, Inc.
  • 35. Releases in 2007 10.0 Struts 2 Spring MVC Stripes 7.5 MyFaces Wicket 6 Tapestry 5.0 4 2.5 2 2 2 1 0 © 2007 Raible Designs, Inc.
  • 36. Tools Available 15.00 Struts 2 Spring MVC Stripes 11.25 12 Wicket JSF Tapestry 7.50 7 3.75 4 3 3 0 May 2007 © 2007 Raible Designs, Inc.
  • 37. Books on Amazon 10.0 10 Struts 2 Spring MVC Stripes 7.5 JSF 7 Wicket Tapestry 5.0 4 2.5 3 2 0 October 2007 © 2007 Raible Designs, Inc.
  • 38. How do you choose? © 2007 Raible Designs, Inc.
  • 39. Eliminate, Don’t Include © 2007 Raible Designs, Inc.
  • 40. © 2007 Raible Designs, Inc.
  • 41. 6 Important Factors What type of Application are you building? Ease of Development / Is full-stack an option? Project Community Project Future and Roadmap Maintenance Technical Features © 2007 Raible Designs, Inc.
  • 42. Don’t believe the Hype Don’t believe blogs and articles Try it yourself Believe developers, not evangelists Believe developers that are experienced with the framework and have used it in production Beware of corporate interests - they can twist marketing Books are a good sign © 2007 Raible Designs, Inc.
  • 43. Best Tool for the Job Frameworks have sweet spots - is your application one of them? Pick 2-3 frameworks for your type of application... ... and prototype! If prototyping is painful, switch Make sure you prototype more than one and do a presentation comparing the pros and cons of each © 2007 Raible Designs, Inc.
  • 44. After Choosing... Document the reasons for your decision Allow developers to challenge it Allow your prototype to be written with other frameworks Don’t be afraid to try new frameworks Don’t be afraid to use old frameworks Don’t be afraid to keep your existing framework © 2007 Raible Designs, Inc.
  • 45. What do I think? © 2007 Raible Designs, Inc.
  • 46. © 2007 Raible Designs, Inc.
  • 47. Conclusion The future is bright because of all the competition Developers should know more than one web framework You should try a framework before dissing it The plethora of web frameworks is a good thing! Doing proper research can save time and money Testing is the best path to future maintenance © 2007 Raible Designs, Inc.
  • 48. Questions? matt@raibledesigns.com http://raibledesigns.com Download presentation from: http://raibledesigns.com/rd/page/publications © 2007 Raible Designs, Inc.