SlideShare ist ein Scribd-Unternehmen logo
1 von 60
Downloaden Sie, um offline zu lesen
Comparing Java
Web Frameworks
JSF, Spring MVC, Stripes, Struts 2,
       Tapestry and Wicket

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




                                      1
Today's Agenda
Introductions
Pros and Cons
Smackdown
Conclusion
Q and A




                        2
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




                                                    3
Matt
       4
Raible
         5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
My Experience
Struts 1: used since June 2001 - same time 1.0 was
released.
Spring MVC: used since January 2004 - before 1.0
was released.
Struts 2: used since July 2004.
Tapestry: used since July 2004.
JSF: used since July 2004 - both Sun’s RI and
MyFaces.
Stripes and Wicket: used since April 2007.


                                                     21
Pros and Cons




                22
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


                                                23
Spring MVC
Pros:
    Lifecyle for overriding binding, validation, etc.
    Integrates with many view options seamlessly: JSP/
    JSTL, Tiles, Velocity, FreeMarker, Excel, XSL, 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


                                                         24
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


                                                 25
Pros:
              Struts 2
   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
   Too much concentration on new features
   Googling results in Struts 1.x documentation


                                                  26
Pros:
             Tapestry
   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


                                                     27
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


                                                   28
The Smackdown



                29
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?




                                                         30
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)?


                                                    31
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?




                                                        32
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)



                                                        33
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



                                                 34
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




                                                              35
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



                                                     36
Post and Redirect
The duplicate-post problem, what is it?
Easiest way to solve: 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



                                                                 37
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


                                                           38
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


                                                   39
Tools
Spring has Spring IDE - only does XML validation,
not a UI/web tool
Struts 2 has EclipseWork
Tapestry has Spindle - great for coders
JSF has many, and they're getting better and better
Stripes and Wicket don't have any official tools
NetBeans has support for: Struts *, JSF (+Facelets),
Tapestry and Wicket (no Stripes or Spring MVC)


                                                       40
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




                                                  41
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 quickly becoming popular
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


                                                      42
Dice Job Count
                                          Struts 2
600
                                          Spring MVC
                         574
                                          Stripes
                                          JSF
450                                       Wicket
                                          Tapestry

300


                                    190
150

            68
      52
 0               6             10
                 May 3, 2006



                                                       43
Dice Job Count w/ Struts
                                                       Struts 2
2,500
                                                       Spring MVC
                                                       Stripes
                                               2,063
                                                       JSF
1,875                                                  Wicket
                                                       Tapestry
                                                       Struts 1
1,250



 625
                          574


                                         190
   0    52   68
                  6                 10
                      May 3, 2006



                                                                    44
Job Trends




             45
Employer Search on Monster.com
Resumes posted 4/3 - 5/3/2007
      900                                   Struts 2
                                896
                                            Spring MVC
      720                                   Stripes
                                            Wicket
      540
                                            JSF
                                            Tapestry
      360

      180

                 87                   108
       0    55
                      16   16




                                                         46
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.




                                                                                                        47
Mailing List Traffic
  GWT

  Struts

 Stripes

MyFaces

Tapestry

 Wicket

             0                 625                1,250               1,875               2,500
   * 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.




                                                                                                        48
Releases in 2007
5.00
           5                   Struts 2
                               Spring MVC
                               Stripes
3.75                           MyFaces
                               Wicket
       3                       Tapestry
2.50

                   2   2

1.25
               1           1


  0




                                            49
Books on Amazon
15.00                              Struts 2
                                   Spring MVC
                                   Stripes
11.25                              JSF
                     11
                                   Wicket
                                   Tapestry
 7.50
            7


 3.75
        3                      3

                           1
   0
                May 2007


                                                50
Which would I choose?



                        51
What do others think?
 25.00                                Struts 2
                                      Struts 1
                                      Spring MVC
 18.75                                JSF
                                      Tapestry
 12.50


  6.25


    0
         AppFuse Usage - March 2007



                                                   52
Resources
Download this presentation
     http://static.raibledesigns.com/repository/presentations
Struts - http://struts.apache.org
     StrutsTestCase: http://strutstestcase.sf.net
Spring MVC - http://www.springframework.org
     Spring IDE: http://www.springide.org
     Gaijin Studio: http://gaijin-studio.sf.net
Struts 2 - http://opensymphony.org/webwork
     Eclipse Plugin: http://sf.net/projects/eclipsework
     IDEA Plugin: http://wiki.opensymphony.com/display/WW/
     IDEA+Plugin


                                                                53
Resources, cont.
Tapestry - http://tapestry.apache.org
    Spindle: http://spindle.sourceforge.net
JSF - http://java.sun.com/j2ee/javaserverfaces and http://
myfaces.apache.org
    Java Studio Creator: http://sun.com/software/products/
    jscreator
    MyEclipse: http://myeclipseide.com
IDEA: http://www.jetbrains.com/idea
SiteMesh: http://opensymphony.com/sitemesh



                                                             54
Resources, cont.
Testing Frameworks
    JUnit: http://junit.org
    EasyMock: http://easymock.org
    jMock: http://jmock.org
    jWebUnit: http://jwebunit.sourceforge.net
    Canoo WebTest: http://webtest.canoo.com
    Tapestry Test Assist: http://howardlewisship.com/blog/
    2004/05/tapestry-test-assist.html
AppFuse - http://appfuse.org



                                                             55
Books
Starting Struts 2, Ian Roughly (free on InfoQ.com)
The Spring Primer, Matt Raible
Pro Spring, Rob Harrop and Jan Machacek
Spring in Action, Craig Walls and Ryan Breidenbach
Professional Java Development with Spring, Rod
Johnson, Juergen Hoeller and Team




                                                     56
Books, cont.
WebWork in Action, Patrick Lightbody and Team
Tapestry 101, Warner Onstine
Tapestry in Action, Howard Lewis Ship
Core JSF, David Geary and Cay Horstmann
JSF in Action, Kito Mann
Pro Wicket, Karthik Gurumurthy




                                                57
GWT
Grails          Seam
 Flex
          What’s Next?
 Django     Ruby on Rails   Trails
          OpenLaszlo
                                     58
Who cares?

quot;If it works, use it!quot;


                         59
Questions?
matt@raibledesigns.com
http://raibledesigns.com




                           60

Weitere ähnliche Inhalte

Was ist angesagt?

Modules all the way down: OSGi and the Java Platform Module System
Modules all the way down: OSGi and the Java Platform Module SystemModules all the way down: OSGi and the Java Platform Module System
Modules all the way down: OSGi and the Java Platform Module SystemTim Ellison
 
Running your Java EE 6 applications in the Cloud @ Silicon Valley Code Camp 2010
Running your Java EE 6 applications in the Cloud @ Silicon Valley Code Camp 2010Running your Java EE 6 applications in the Cloud @ Silicon Valley Code Camp 2010
Running your Java EE 6 applications in the Cloud @ Silicon Valley Code Camp 2010Arun Gupta
 
Java EE 8 Adopt a JSR : JSON-P 1.1 & MVC 1.0
Java EE 8 Adopt a JSR : JSON-P 1.1 & MVC 1.0Java EE 8 Adopt a JSR : JSON-P 1.1 & MVC 1.0
Java EE 8 Adopt a JSR : JSON-P 1.1 & MVC 1.0David Delabassee
 
GlassFish 3.1 at JCertif 2011
GlassFish 3.1 at JCertif 2011GlassFish 3.1 at JCertif 2011
GlassFish 3.1 at JCertif 2011Arun Gupta
 
Creating Quick and Powerful Web applications with Oracle, GlassFish and NetBe...
Creating Quick and Powerful Web applications with Oracle, GlassFish and NetBe...Creating Quick and Powerful Web applications with Oracle, GlassFish and NetBe...
Creating Quick and Powerful Web applications with Oracle, GlassFish and NetBe...Arun Gupta
 
Jakarta EE 最前線 - Jakarta EEの現在、ロードマップなど
Jakarta EE 最前線 - Jakarta EEの現在、ロードマップなどJakarta EE 最前線 - Jakarta EEの現在、ロードマップなど
Jakarta EE 最前線 - Jakarta EEの現在、ロードマップなどオラクルエンジニア通信
 
JavaFX 2 Using the Spring Framework
JavaFX 2 Using the Spring FrameworkJavaFX 2 Using the Spring Framework
JavaFX 2 Using the Spring FrameworkStephen Chin
 
Java EE 8: On the Horizon
Java EE 8:  On the HorizonJava EE 8:  On the Horizon
Java EE 8: On the HorizonJosh Juneau
 
OSGi & Java EE in GlassFish @ Silicon Valley Code Camp 2010
OSGi & Java EE in GlassFish @ Silicon Valley Code Camp 2010OSGi & Java EE in GlassFish @ Silicon Valley Code Camp 2010
OSGi & Java EE in GlassFish @ Silicon Valley Code Camp 2010Arun Gupta
 
Java Modularity with OSGi
Java Modularity with OSGiJava Modularity with OSGi
Java Modularity with OSGiIlya Rybak
 
Building Next-Gen Web Applications with the Spring 3 Web Stack
Building Next-Gen Web Applications with the Spring 3 Web StackBuilding Next-Gen Web Applications with the Spring 3 Web Stack
Building Next-Gen Web Applications with the Spring 3 Web StackJeremy Grelle
 
Java EE Revisits GoF Design Patterns
Java EE Revisits GoF Design PatternsJava EE Revisits GoF Design Patterns
Java EE Revisits GoF Design PatternsMurat Yener
 
Step By Step Guide For Buidling Simple Struts App Speakernoted
Step By Step Guide For Buidling Simple Struts App SpeakernotedStep By Step Guide For Buidling Simple Struts App Speakernoted
Step By Step Guide For Buidling Simple Struts App SpeakernotedHarjinder Singh
 
JavaOne - 10 Tips for Java EE 7 with PrimeFaces
JavaOne - 10 Tips for Java EE 7 with PrimeFacesJavaOne - 10 Tips for Java EE 7 with PrimeFaces
JavaOne - 10 Tips for Java EE 7 with PrimeFacesMert Çalışkan
 
Seven Points for Applying Java EE 7
Seven Points for Applying Java EE 7Seven Points for Applying Java EE 7
Seven Points for Applying Java EE 7Hirofumi Iwasaki
 
What's New in WebLogic 12.1.3 and Beyond
What's New in WebLogic 12.1.3 and BeyondWhat's New in WebLogic 12.1.3 and Beyond
What's New in WebLogic 12.1.3 and BeyondOracle
 
Ed presents JSF 2.2 at a 2013 Gameduell Tech talk
Ed presents JSF 2.2 at a 2013 Gameduell Tech talkEd presents JSF 2.2 at a 2013 Gameduell Tech talk
Ed presents JSF 2.2 at a 2013 Gameduell Tech talkEdward Burns
 
The Modern Java Web Developer - Denver JUG 2013
The Modern Java Web Developer - Denver JUG 2013The Modern Java Web Developer - Denver JUG 2013
The Modern Java Web Developer - Denver JUG 2013Matt Raible
 
The State of Java under Oracle at JCertif 2011
The State of Java under Oracle at JCertif 2011The State of Java under Oracle at JCertif 2011
The State of Java under Oracle at JCertif 2011Arun Gupta
 
Introduction To J Boss Seam
Introduction To J Boss SeamIntroduction To J Boss Seam
Introduction To J Boss Seamashishkulkarni
 

Was ist angesagt? (20)

Modules all the way down: OSGi and the Java Platform Module System
Modules all the way down: OSGi and the Java Platform Module SystemModules all the way down: OSGi and the Java Platform Module System
Modules all the way down: OSGi and the Java Platform Module System
 
Running your Java EE 6 applications in the Cloud @ Silicon Valley Code Camp 2010
Running your Java EE 6 applications in the Cloud @ Silicon Valley Code Camp 2010Running your Java EE 6 applications in the Cloud @ Silicon Valley Code Camp 2010
Running your Java EE 6 applications in the Cloud @ Silicon Valley Code Camp 2010
 
Java EE 8 Adopt a JSR : JSON-P 1.1 & MVC 1.0
Java EE 8 Adopt a JSR : JSON-P 1.1 & MVC 1.0Java EE 8 Adopt a JSR : JSON-P 1.1 & MVC 1.0
Java EE 8 Adopt a JSR : JSON-P 1.1 & MVC 1.0
 
GlassFish 3.1 at JCertif 2011
GlassFish 3.1 at JCertif 2011GlassFish 3.1 at JCertif 2011
GlassFish 3.1 at JCertif 2011
 
Creating Quick and Powerful Web applications with Oracle, GlassFish and NetBe...
Creating Quick and Powerful Web applications with Oracle, GlassFish and NetBe...Creating Quick and Powerful Web applications with Oracle, GlassFish and NetBe...
Creating Quick and Powerful Web applications with Oracle, GlassFish and NetBe...
 
Jakarta EE 最前線 - Jakarta EEの現在、ロードマップなど
Jakarta EE 最前線 - Jakarta EEの現在、ロードマップなどJakarta EE 最前線 - Jakarta EEの現在、ロードマップなど
Jakarta EE 最前線 - Jakarta EEの現在、ロードマップなど
 
JavaFX 2 Using the Spring Framework
JavaFX 2 Using the Spring FrameworkJavaFX 2 Using the Spring Framework
JavaFX 2 Using the Spring Framework
 
Java EE 8: On the Horizon
Java EE 8:  On the HorizonJava EE 8:  On the Horizon
Java EE 8: On the Horizon
 
OSGi & Java EE in GlassFish @ Silicon Valley Code Camp 2010
OSGi & Java EE in GlassFish @ Silicon Valley Code Camp 2010OSGi & Java EE in GlassFish @ Silicon Valley Code Camp 2010
OSGi & Java EE in GlassFish @ Silicon Valley Code Camp 2010
 
Java Modularity with OSGi
Java Modularity with OSGiJava Modularity with OSGi
Java Modularity with OSGi
 
Building Next-Gen Web Applications with the Spring 3 Web Stack
Building Next-Gen Web Applications with the Spring 3 Web StackBuilding Next-Gen Web Applications with the Spring 3 Web Stack
Building Next-Gen Web Applications with the Spring 3 Web Stack
 
Java EE Revisits GoF Design Patterns
Java EE Revisits GoF Design PatternsJava EE Revisits GoF Design Patterns
Java EE Revisits GoF Design Patterns
 
Step By Step Guide For Buidling Simple Struts App Speakernoted
Step By Step Guide For Buidling Simple Struts App SpeakernotedStep By Step Guide For Buidling Simple Struts App Speakernoted
Step By Step Guide For Buidling Simple Struts App Speakernoted
 
JavaOne - 10 Tips for Java EE 7 with PrimeFaces
JavaOne - 10 Tips for Java EE 7 with PrimeFacesJavaOne - 10 Tips for Java EE 7 with PrimeFaces
JavaOne - 10 Tips for Java EE 7 with PrimeFaces
 
Seven Points for Applying Java EE 7
Seven Points for Applying Java EE 7Seven Points for Applying Java EE 7
Seven Points for Applying Java EE 7
 
What's New in WebLogic 12.1.3 and Beyond
What's New in WebLogic 12.1.3 and BeyondWhat's New in WebLogic 12.1.3 and Beyond
What's New in WebLogic 12.1.3 and Beyond
 
Ed presents JSF 2.2 at a 2013 Gameduell Tech talk
Ed presents JSF 2.2 at a 2013 Gameduell Tech talkEd presents JSF 2.2 at a 2013 Gameduell Tech talk
Ed presents JSF 2.2 at a 2013 Gameduell Tech talk
 
The Modern Java Web Developer - Denver JUG 2013
The Modern Java Web Developer - Denver JUG 2013The Modern Java Web Developer - Denver JUG 2013
The Modern Java Web Developer - Denver JUG 2013
 
The State of Java under Oracle at JCertif 2011
The State of Java under Oracle at JCertif 2011The State of Java under Oracle at JCertif 2011
The State of Java under Oracle at JCertif 2011
 
Introduction To J Boss Seam
Introduction To J Boss SeamIntroduction To J Boss Seam
Introduction To J Boss Seam
 

Ähnlich wie Comparing Java Web Frameworks: JSF, Spring MVC, Stripes, Struts 2, Tapestry and Wicket

Comparing javawebframeworks apacheconus2007
Comparing javawebframeworks apacheconus2007Comparing javawebframeworks apacheconus2007
Comparing javawebframeworks apacheconus2007Geococcyx
 
Comparing JVM Web Frameworks - Devoxx 2010
Comparing JVM Web Frameworks - Devoxx 2010Comparing JVM Web Frameworks - Devoxx 2010
Comparing JVM Web Frameworks - Devoxx 2010Matt Raible
 
Comparative Analysis of Bootstrap and UIkit framework
Comparative Analysis of Bootstrap and UIkit frameworkComparative Analysis of Bootstrap and UIkit framework
Comparative Analysis of Bootstrap and UIkit frameworkIRJET Journal
 
Struts 2-overview2
Struts 2-overview2Struts 2-overview2
Struts 2-overview2Long Nguyen
 
Struts 2-overview2
Struts 2-overview2Struts 2-overview2
Struts 2-overview2divzi1913
 
Struts 2 Overview
Struts 2 OverviewStruts 2 Overview
Struts 2 Overviewskill-guru
 
Modern Java Web Development
Modern Java Web DevelopmentModern Java Web Development
Modern Java Web Developmentzenyk
 
01 introduction to struts2
01 introduction to struts201 introduction to struts2
01 introduction to struts2Smita B Kumar
 
Struts2 course chapter 1: Evolution of Web Applications
Struts2 course chapter 1: Evolution of Web ApplicationsStruts2 course chapter 1: Evolution of Web Applications
Struts2 course chapter 1: Evolution of Web ApplicationsJavaEE Trainers
 
CloudStack UI
CloudStack UICloudStack UI
CloudStack UIShapeBlue
 
Bitworks CloudStack UI - CSEUUG 08 August 2017
Bitworks CloudStack UI - CSEUUG 08 August 2017Bitworks CloudStack UI - CSEUUG 08 August 2017
Bitworks CloudStack UI - CSEUUG 08 August 2017Ivan Kudryavtsev
 
A Journey through the JDKs (Java 9 to Java 11)
A Journey through the JDKs (Java 9 to Java 11)A Journey through the JDKs (Java 9 to Java 11)
A Journey through the JDKs (Java 9 to Java 11)Markus Günther
 

Ähnlich wie Comparing Java Web Frameworks: JSF, Spring MVC, Stripes, Struts 2, Tapestry and Wicket (20)

Os Raible
Os RaibleOs Raible
Os Raible
 
Comparing javawebframeworks apacheconus2007
Comparing javawebframeworks apacheconus2007Comparing javawebframeworks apacheconus2007
Comparing javawebframeworks apacheconus2007
 
Comparing JVM Web Frameworks - Devoxx 2010
Comparing JVM Web Frameworks - Devoxx 2010Comparing JVM Web Frameworks - Devoxx 2010
Comparing JVM Web Frameworks - Devoxx 2010
 
Struts2
Struts2Struts2
Struts2
 
Jsf 2.0 Overview
Jsf 2.0 OverviewJsf 2.0 Overview
Jsf 2.0 Overview
 
Struts2
Struts2Struts2
Struts2
 
Comparative Analysis of Bootstrap and UIkit framework
Comparative Analysis of Bootstrap and UIkit frameworkComparative Analysis of Bootstrap and UIkit framework
Comparative Analysis of Bootstrap and UIkit framework
 
Struts 2-overview2
Struts 2-overview2Struts 2-overview2
Struts 2-overview2
 
Struts 2-overview2
Struts 2-overview2Struts 2-overview2
Struts 2-overview2
 
Struts 2 Overview
Struts 2 OverviewStruts 2 Overview
Struts 2 Overview
 
Modern Java Web Development
Modern Java Web DevelopmentModern Java Web Development
Modern Java Web Development
 
01 introduction to struts2
01 introduction to struts201 introduction to struts2
01 introduction to struts2
 
Struts2 course chapter 1: Evolution of Web Applications
Struts2 course chapter 1: Evolution of Web ApplicationsStruts2 course chapter 1: Evolution of Web Applications
Struts2 course chapter 1: Evolution of Web Applications
 
Struts Interceptors
Struts InterceptorsStruts Interceptors
Struts Interceptors
 
CloudStack UI
CloudStack UICloudStack UI
CloudStack UI
 
Bitworks CloudStack UI - CSEUUG 08 August 2017
Bitworks CloudStack UI - CSEUUG 08 August 2017Bitworks CloudStack UI - CSEUUG 08 August 2017
Bitworks CloudStack UI - CSEUUG 08 August 2017
 
Struts2 tutorial
Struts2 tutorialStruts2 tutorial
Struts2 tutorial
 
Struts2 tutorial
Struts2 tutorialStruts2 tutorial
Struts2 tutorial
 
Reactjs
ReactjsReactjs
Reactjs
 
A Journey through the JDKs (Java 9 to Java 11)
A Journey through the JDKs (Java 9 to Java 11)A Journey through the JDKs (Java 9 to Java 11)
A Journey through the JDKs (Java 9 to Java 11)
 

Mehr von 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
 

Mehr von 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
 

Kürzlich hochgeladen

SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxNavinnSomaal
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii SoldatenkoFwdays
 
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
 
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Wonjun Hwang
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenHervé Boutemy
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...Fwdays
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Scott Keck-Warren
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationRidwan Fadjar
 
"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
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyAlfredo García Lavilla
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr BaganFwdays
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationSafe Software
 
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
 
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Manik S Magar
 
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
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsRizwan Syed
 
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
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubKalema Edgar
 

Kürzlich hochgeladen (20)

SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptx
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko
 
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
 
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache Maven
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
 
"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
 
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptxE-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easy
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
 
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
 
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!
 
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
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL Certs
 
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
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding Club
 

Comparing Java Web Frameworks: 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 1
  • 2. Today's Agenda Introductions Pros and Cons Smackdown Conclusion Q and A 2
  • 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 3
  • 4. Matt 4
  • 5. Raible 5
  • 6. 6
  • 7. 7
  • 8. 8
  • 9. 9
  • 10. 10
  • 11. 11
  • 12. 12
  • 13. 13
  • 14. 14
  • 15. 15
  • 16. 16
  • 17. 17
  • 18. 18
  • 19. 19
  • 20. 20
  • 21. My Experience Struts 1: used since June 2001 - same time 1.0 was released. Spring MVC: used since January 2004 - before 1.0 was released. Struts 2: used since July 2004. Tapestry: used since July 2004. JSF: used since July 2004 - both Sun’s RI and MyFaces. Stripes and Wicket: used since April 2007. 21
  • 23. 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 23
  • 24. Spring MVC Pros: Lifecyle for overriding binding, validation, etc. Integrates with many view options seamlessly: JSP/ JSTL, Tiles, Velocity, FreeMarker, Excel, XSL, 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 24
  • 25. 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 25
  • 26. Pros: Struts 2 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 Too much concentration on new features Googling results in Struts 1.x documentation 26
  • 27. Pros: Tapestry 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 27
  • 28. 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 28
  • 30. 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? 30
  • 31. 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)? 31
  • 32. 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? 32
  • 33. 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) 33
  • 34. 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 34
  • 35. 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 35
  • 36. 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 36
  • 37. Post and Redirect The duplicate-post problem, what is it? Easiest way to solve: 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 37
  • 38. 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 38
  • 39. 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 39
  • 40. Tools Spring has Spring IDE - only does XML validation, not a UI/web tool Struts 2 has EclipseWork Tapestry has Spindle - great for coders JSF has many, and they're getting better and better Stripes and Wicket don't have any official tools NetBeans has support for: Struts *, JSF (+Facelets), Tapestry and Wicket (no Stripes or Spring MVC) 40
  • 41. 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 41
  • 42. 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 quickly becoming popular 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 42
  • 43. Dice Job Count Struts 2 600 Spring MVC 574 Stripes JSF 450 Wicket Tapestry 300 190 150 68 52 0 6 10 May 3, 2006 43
  • 44. Dice Job Count w/ Struts Struts 2 2,500 Spring MVC Stripes 2,063 JSF 1,875 Wicket Tapestry Struts 1 1,250 625 574 190 0 52 68 6 10 May 3, 2006 44
  • 46. Employer Search on Monster.com Resumes posted 4/3 - 5/3/2007 900 Struts 2 896 Spring MVC 720 Stripes Wicket 540 JSF Tapestry 360 180 87 108 0 55 16 16 46
  • 47. 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. 47
  • 48. Mailing List Traffic GWT Struts Stripes MyFaces Tapestry Wicket 0 625 1,250 1,875 2,500 * 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. 48
  • 49. Releases in 2007 5.00 5 Struts 2 Spring MVC Stripes 3.75 MyFaces Wicket 3 Tapestry 2.50 2 2 1.25 1 1 0 49
  • 50. Books on Amazon 15.00 Struts 2 Spring MVC Stripes 11.25 JSF 11 Wicket Tapestry 7.50 7 3.75 3 3 1 0 May 2007 50
  • 51. Which would I choose? 51
  • 52. What do others think? 25.00 Struts 2 Struts 1 Spring MVC 18.75 JSF Tapestry 12.50 6.25 0 AppFuse Usage - March 2007 52
  • 53. Resources Download this presentation http://static.raibledesigns.com/repository/presentations Struts - http://struts.apache.org StrutsTestCase: http://strutstestcase.sf.net Spring MVC - http://www.springframework.org Spring IDE: http://www.springide.org Gaijin Studio: http://gaijin-studio.sf.net Struts 2 - http://opensymphony.org/webwork Eclipse Plugin: http://sf.net/projects/eclipsework IDEA Plugin: http://wiki.opensymphony.com/display/WW/ IDEA+Plugin 53
  • 54. Resources, cont. Tapestry - http://tapestry.apache.org Spindle: http://spindle.sourceforge.net JSF - http://java.sun.com/j2ee/javaserverfaces and http:// myfaces.apache.org Java Studio Creator: http://sun.com/software/products/ jscreator MyEclipse: http://myeclipseide.com IDEA: http://www.jetbrains.com/idea SiteMesh: http://opensymphony.com/sitemesh 54
  • 55. Resources, cont. Testing Frameworks JUnit: http://junit.org EasyMock: http://easymock.org jMock: http://jmock.org jWebUnit: http://jwebunit.sourceforge.net Canoo WebTest: http://webtest.canoo.com Tapestry Test Assist: http://howardlewisship.com/blog/ 2004/05/tapestry-test-assist.html AppFuse - http://appfuse.org 55
  • 56. Books Starting Struts 2, Ian Roughly (free on InfoQ.com) The Spring Primer, Matt Raible Pro Spring, Rob Harrop and Jan Machacek Spring in Action, Craig Walls and Ryan Breidenbach Professional Java Development with Spring, Rod Johnson, Juergen Hoeller and Team 56
  • 57. Books, cont. WebWork in Action, Patrick Lightbody and Team Tapestry 101, Warner Onstine Tapestry in Action, Howard Lewis Ship Core JSF, David Geary and Cay Horstmann JSF in Action, Kito Mann Pro Wicket, Karthik Gurumurthy 57
  • 58. GWT Grails Seam Flex What’s Next? Django Ruby on Rails Trails OpenLaszlo 58
  • 59. Who cares? quot;If it works, use it!quot; 59