This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes EJB and other Java EE Technologies and the fly likes invoking method within same EJB Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "invoking method within same EJB" Watch "invoking method within same EJB" New topic
Author

invoking method within same EJB

deepak yadav
Greenhorn

Joined: Oct 04, 2001
Posts: 17
I have 2 methods in my EJB, testA and testB. I have to invoke testB from testA and that I can do in 2 ways:
i) directly invoke testB from testA, like a class method
ii) create a remote object of this EJB and then invoke testB on this remote object
Is there any difference between the two in the way
o transactions are handled
o underlying security framework applies restriction
o any other thing apart from probably less overhead in (i)
thx
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: invoking method within same EJB
 
Similar Threads
Transfer value between JFrame