wood burning stoves 2.0*
The moose likes JSF and the fly likes Do you recommend the integration with other frameworks? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "Do you recommend the integration with other frameworks?" Watch "Do you recommend the integration with other frameworks?" New topic
Author

Do you recommend the integration with other frameworks?

Leandro Coutinho
Ranch Hand

Joined: Mar 04, 2009
Posts: 417
Hi!

Do you recommend the integration with other frameworks? The two that I would like to know are: Struts and Spring
Or no, the integration doesn't worth all the problems that might result, and the developer should choose one of them?

Thanks in advance!
Jason Porter
Ranch Hand

Joined: Apr 26, 2007
Posts: 120
From my experience I'd say Struts + JSF isn't worth it, pick one. The Spring + JSF should work just fine and have decent integration (though with CDI, what would you need Spring for, beside using it simply as a library?)
Leandro Coutinho
Ranch Hand

Joined: Mar 04, 2009
Posts: 417
Thanks Porter!

I didn't know what's CDI. So here is a link for those that also might not know: http://java.dzone.com/articles/contexts-and-dependency
Vyas Sanzgiri
Ranch Hand

Joined: Jun 16, 2007
Posts: 686

I am guessing by searching around with CDI that you might need some libraries for CDI to work on Tomcat?


===Vyas Sanzgiri===
My Blog
Lincoln Baxter
Greenhorn

Joined: Aug 25, 2008
Posts: 24
if you want to use CDI on tomcat, take a look at JBoss Weld


Lincoln Baxter, III | [url]http://ocpsoft.com/[/url] | Creator of: PrettyFaces - Bookmarks, Navigation, and Dynamic Parameters for JSF
Dan Allen
Author
Ranch Hand

Joined: Mar 05, 2003
Posts: 164
Weld provides an uberjar (single JAR) that provides everything you need to use CDI in a servlet container (such as Tomcat or Jetty). The best way to get started with CDI (whether in a servlet container or Java EE application server) is to start with the Maven 2 archetypes provided as part of the Weld project: http://seamframework.org/Documentation/WeldQuickstartForMavenUsers


Dan Allen | http://mojavelinux.com | Author of Seam in Action - http://mojavelinux.com/seaminaction
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Do you recommend the integration with other frameworks?
 
Similar Threads
Spring in action - integration with other web frameworks
Spring WebFlow + other frameworks
Struts 2 integraion with JS frameworks (EXT )
Design Skills for a programmer
DWR 2 and MVC web frameworks