This week's book giveaway is in the Big Data forum.
We're giving away four copies of Elasticsearch in Action and have Radu Gheorghe & Matthew Lee Hinman 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 Elasticsearch in Action this week in the Big Data forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "work flow through EJB" Watch "work flow through EJB" New topic

work flow through EJB

sushant devata

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
This scenario you are mentioning here is very common. Any EJB/J2EE book should cover it (and most J2EE tutorials in the web).
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 16464

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.
I agree. Here's the link:
subject: work flow through EJB