This week's giveaway is in the Threads forum.
We're giving away four copies of Java Concurrency Live Lessons and have Doug Schmidt on-line!
See this thread for details.
Win a copy of Java Concurrency Live Lessons this week in the Threads forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

EJB & JSP sample app  RSS feed

 
lucas van derstappen
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

I can easily create ejb project with some beans and also web application with jsp is not a problem. How to call EJB service methods from jsp ? Is there any sample application ?

Thank you.
 
Vijitha Kumara
Bartender
Posts: 3973
24
Chrome Fedora Hibernate
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
JSP's shouldn't be talking to EJBs directly in a properly structured application. JSP is for rendering the view. You may find lots of sample codes on the web just for testing if that's the case.
 
Teena Mariam
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can find a simple application in ejb3 from Mastering EJB3. Download the freely available book from the url:
mastering ejb3.

Regards,
Teena
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!