• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Ron McLeod
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

Do you recommend the integration with other frameworks?

 
Ranch Hand
Posts: 430
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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!
 
Author
Posts: 134
5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 430
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Ranch Hand
Posts: 686
Netbeans IDE Chrome Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am guessing by searching around with CDI that you might need some libraries for CDI to work on Tomcat?
 
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
if you want to use CDI on tomcat, take a look at JBoss Weld
 
Author
Posts: 164
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
First, you drop a couch from the plane, THEN you surf it. Here, take this tiny ad with you:
Clean our rivers and oceans from home
https://www.kickstarter.com/projects/paulwheaton/willow-feeders
reply
    Bookmark Topic Watch Topic
  • New Topic