aspose file tools
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
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Reply 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://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: invoking method within same EJB
 
Similar Threads
Transfer value between JFrame