| By Rick Hightower | Article Rating: |
|
| September 20, 2004 12:00 AM EDT | Reads: |
39,501 |
I used AppFuse and Spring together extensibly on two projects earlier this year with a lot of success. I added Spring support before it was part of the AppFuse core (for my projects). I have a lot of respect for Matt Raible's opinions. Matt is an awesome, dedicated technologist. I don't agree with him about JSF.
My last project that I finished was JSF + Spring + Hibernate on Tomcat 5 similar to AppFuse foundation, but using JSF. Matt has done some JSF + Spring work for the Spring book, and for a client. JSF is not part of AppFuse yet. I think once it is, he might have a different opinion.
I really dig JSF. I found it a lot more productive than Struts. I was amazed how fast I could crank things out. At the time, I did the project the JSF Spring integration was not working well so I skipped it. I used a base class for my JSF backing beans that looked up their corresponding business delegates. Other than that road bump, things went really well. JSF exceeded my expectations.
Now I cheated a bit. I wrote a JSF course and taught it several times before I worked on a JSF project. I also worked on a few small iterations on a few projects before doing an entire project in JSF (small project but still). I also consulted and helped architect a few JSF applications before I wrote one on my own. So.my experience...
The learning curve may be stiffer for starting out. When I wrote the course there were not any good JSF books out yet. Writing a course is a good way to learn how to do things. I improved the course based on my project experience, re-reading the spec., and reading every JSF book published. David Geary's book is an excellent reference, and I highly recommend it.
So how did my first project with JSF go....? My guess is that the same project would have taken twice as long if I did it with Struts instead of JSF because it was a fairly rich application (custom sorting, post backs to populate list boxes, auto populate fields based on user actions, etc.). JSF is much more natural than Struts. I think WebWork, and Spring MVC are improvements on Struts Model 2 MVC, but I have been bitten by the event-driven bug. The only other framework I would consider using instead of JSF would be Tapestry. In short, I dig JSF.
Apparently it is popular to bash Sun and J2EE. JSF does not deserve it.
I still respect Matt's opinion, and I am very grateful for AppFuse.
For me the killer stack is JSF + Hibernate + Spring. The verdict is still out on Tapestry (I need more experience with it).
Related Links:
Published September 20, 2004 Reads 39,501
Copyright © 2004 SYS-CON Media, Inc. — All Rights Reserved.
Syndicated stories and blog feeds, all rights reserved by the author.
More Stories By Rick Hightower
Rick Hightower serves as chief technology officer for ArcMind Inc. He is coauthor of the popular book Java Tools for Extreme Programming, which covers applying XP to J2EE development, and also recently co-authored Professional Struts. He has been working with J2EE since the very early days and lately has been working mostly with Maven, Spring, JSF and Hibernate. Rick is a big JSF and Spring fan. Rick has taught several workshops and training courses involving the Spring framework as well as worked on several projects consulting, mentoring and developing with the Spring framework. He blogs at http://jroller.com/page/RickHigh.
![]() |
Alexander Jesse 09/28/04 04:04:10 AM EDT | |||
Sounds great. Are there already JSF-applications put into production? I'd like to hear about them to convince my managers ;-) |
||||
![]() |
Chris 09/22/04 01:32:10 PM EDT | |||
Same as Greg. Yeah, what's the main advantages of JSF and Spring vs Struts? Struts is not just a bunch of JSP tags... |
||||
![]() |
Greg 09/22/04 01:00:12 PM EDT | |||
Thanks Rick for telling us that you like Struts. Unfortunatly you don't tell us anything more than that, so the whole conversation is rather shallow :( |
||||
![]() |
Craig Walls 09/22/04 08:58:36 AM EDT | |||
Although I'm not as high on JSF as Rick, I can say that the JSF-Spring integration is pretty good. The JSF-Spring project (jsf-spring.sourceforge.net) makes it possible for JSF-managed beans and Spring-managed beans to coexist. In fact, the integration significantly blurs the lines between Spring-managed and JSF-managed beans making it possible to configure JSF-managed beans in Spring's configuration files (to take advantage of Spring's Ioc and AOP features). |
||||
![]() |
Yakov Fain 09/22/04 08:00:58 AM EDT | |||
We are planning to publish an article in November's issue of JDJ on using JSF/Spring/Hibernate in a Pet Store application Yakov Fain, JDJ |
||||
![]() |
Harold Neiper 09/22/04 07:41:57 AM EDT | |||
Rick, Awesome! Given that I am starting my first Spring/JSF or JSF/Spring project, I was wondering if you had any suggestions towards the integration of these two technologies.?. I started following the discussions on Spring site with regards to the different camps on how to "glue" the two together, and given your working experience and knowledge on this subject it would be a great if you could share some of this wisdom. Regards, Harold |
||||
![]() |
98ghp2 09/22/04 04:46:27 AM EDT | |||
Thanks for this Rick! Reading in books all about how to use the JSF framework to build real-world web apps is one thing, hearing you say this here is somehow more real. |
||||
- 4th International Cloud Computing Conference & Expo Starts Today
- Publishing Synergy: Blog, Twitter and Ulitzer
- Performance Tuning Essentials for Java
- Cloud Expo New York Call for Papers Deadline December 15
- Google Wave
- IBM Hardware Chief, Intel VC Exec Arrested in Insider Trading Scam
- Cloud Computing Can Revitalize Your Career as Software Developer
- SOA World Magazine "Readers' Choice Awards" Voting Is Now Open
- Oracle+MySQL Opponents Take to the Barricades
- Virtualization Expo Call for Papers Deadline December 15
- Oracle Faces Growing Price for MySQL
- SpringSource Moving to Spring 3.0
- 4th International Cloud Computing Conference & Expo Starts Today
- Deputy CIO of the CIA to Keynote 1st Annual GovIT Expo
- Publishing Synergy: Blog, Twitter and Ulitzer
- Performance Tuning Essentials for Java
- Cloud Expo New York Call for Papers Deadline December 15
- Cloud Computing Expo: Exclusive Q&A with Yahoo! SVP Cloud Computing
- Google Wave
- IBM Hardware Chief, Intel VC Exec Arrested in Insider Trading Scam
- Cloud Computing Can Revitalize Your Career as Software Developer
- Oracle-Sun: IBM Reportedly Behind Delay
- Citrix Aims To Cripple VMware’s Cloud Designs
- Oracle Trashes HP Relationship for Sun
- After Ubuntu, Windows Looks Increasingly Bad, Increasingly Archaic, Increasingly Unfriendly
- SCO CEO Posts Open Letter to the Open Source Community
- Simula Labs Launches Hosted Delivery Platform To Enable Enterprise Open Source Adoption
- Where Are RIA Technologies Headed in 2008?
- Source Claims SCO Will Sue Google
- How Open Is "Open"? – Industry Luminaries Join the Debate
- Latest SCO News is Plain Weird
- IBM Tells SCO Court It Can't Find AIX-on-Power Code
- SCO Claims Linux Lifted ELF
- Flashback: Investing in 'Professional Open Source' - Exclusive 2004 Interview with David Skok, Matrix Partners
- HP Starts Pushing Desktop Linux
- Linux Business Week Exclusive: Linux Kernel To Be Re-Written To Counter Microsoft FUD





























