This week's book giveaway is in the OCAJP forum.
We're giving away four copies of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) and have Khalid A Mughal & Rolf W Rasmussen on-line!
See this thread for details.
Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

work flow through EJB

 
sushant devata
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a task infront of me,please guide me and if there is any sample code please mention the url.
1.JSP page calls session bean.
2.Session Bean call entity bean.
3.The entity bean after updating the database gives a message to session bean which is forwarded to the jsp.
4.JSP displays the information.
 
Eduard Manas
Ranch Hand
Posts: 69
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sushant,
This scenario you are mentioning here is very common. Any EJB/J2EE book should cover it (and most J2EE tutorials in the web).
Eduard
 
Tim Holloway
Saloon Keeper
Pie
Posts: 18272
56
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Not quite. An EJB is a receiver of requests, not an originator. You can POLL via an EJB for completion status, but an EJB can't send a message.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic