Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
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
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: 15957

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.
It is sorta covered in the JavaRanch Style Guide.
subject: work flow through EJB
Similar Threads
how to call session bean to entity bean
Good question for IBM 158 ???????
Wrapp entity bean
Doubt about another mock exam question
Keeping EJB as Client ?