Meaningless Drivel is fun!
The moose likes EJB and other Java EE Technologies and the fly likes Calling callback methods explicitly 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 "Calling callback methods explicitly" Watch "Calling callback methods explicitly" New topic

Calling callback methods explicitly


Joined: Apr 21, 2001
Posts: 11
Hi All,
A far as i know the callback methods of an EJB are called by the container at the respective actions. But can we call these methods explicitly?

Software Engineer,<BR>Cybage Software Pvt. Ltd,<BR>Pune
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 17247

If you do, you risk confusing the container, since it won't know what has been done "behind its back" so to speak.
If you're trying for a performance boost, I understand that WebLogic can transparenly "short circuit" this overhead when conditions are right. I can't speak for any of the other systems.

An IDE is no substitute for an Intelligent Developer.
Carl Trusiak

Joined: Jun 13, 2000
Posts: 3340
The Java Ranch has thousands of visitors every week, many with surprisingly similar names. To avoid confusion we have a naming convention, which you agreed to when you registered, described at . We require names to have at least two words, separated by a space, and strongly recommend that you use your full real name. Please log in with a new name which meets the requirements.

I Hope This Helps
Carl Trusiak, SCJP2, SCWCD
I agree. Here's the link:
subject: Calling callback methods explicitly
It's not a secret anymore!