This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line!
See this thread for details.
The moose likes EJB and other Java EE Technologies and the fly likes work flow through EJB Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "work flow through EJB" Watch "work flow through EJB" New topic
Author

work flow through EJB

sushant devata
Greenhorn

Joined: Oct 19, 2002
Posts: 3
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

Joined: May 12, 2002
Posts: 69
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

Joined: Jun 25, 2001
Posts: 16160
    
  21

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.


Customer surveys are for companies who didn't pay proper attention to begin with.
 
 
subject: work flow through EJB