• 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: 18108
52
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.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic