Win a copy of Java Concurrency Live Lessons this week in the Threads forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

about servlet and ejb  RSS feed

 
trupti nigam
Ranch Hand
Posts: 640
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hello all,

How a servlet can communicate to an EJB??

thanks
trupti
 
Stan James
(instanceof Sidekick)
Ranch Hand
Posts: 8791
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
When you create an EJB you create a Home class that remote clients can get & use to call the EJB. You servlet can be a client just like any other. Look into any EJB tutorial or you can get Ed Roman's Mastering EJB free online here: http://theserverside.com/books/wiley/masteringEJB/index.tss
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!