File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
Author

Calling callback methods explicitly

Praveen
Greenhorn

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?
Thanks
Praveen


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

Joined: Jun 25, 2001
Posts: 16065
    
  21

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.


Customer surveys are for companies who didn't pay proper attention to begin with.
Carl Trusiak
Sheriff

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 http://www.javaranch.com/name.jsp . 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.
Thanks.

I Hope This Helps
Carl Trusiak, SCJP2, SCWCD
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Calling callback methods explicitly