This week's book giveaway is in the Big Data forum.
We're giving away four copies of Elasticsearch in Action and have Radu Gheorghe & Matthew Lee Hinman on-line!
See this thread for details.
The moose likes EJB and other Java EE Technologies and the fly likes JSP and EJB Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Elasticsearch in Action this week in the Big Data forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "JSP and EJB" Watch "JSP and EJB" New topic


Jeff Storey
Ranch Hand

Joined: Apr 07, 2007
Posts: 230
Hi. I'm wondering if someone could help me with a strategy for developing a web application that uses EJBs (assuming I'm not using a framework such a struts). From the tutorials I've been reading, it seems like a good strategy is to create custom jsp tags that lookup and access your EJBs, but then I've seen other tutorials that separate it even farther, such as a jsp that accesses a regular JavaBean, which accesses an EJB.

Can someone give me a little information on which of these (or an alternative) is a better strategy here? Thanks.
Freddy Wong
Ranch Hand

Joined: Sep 11, 2006
Posts: 959

If you want to integrate your web application (JSF + Facelets) with EJB seamlessly, you should consider JBoss Seam. The only catch is that it requires Java EE 5.

SCJP 5.0, SCWCD 1.4, SCBCD 1.3, SCDJWS 1.4
My Blog
It is sorta covered in the JavaRanch Style Guide.
subject: JSP and EJB