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 call ejb3 from another ejb 3 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 "call ejb3 from another ejb 3" Watch "call ejb3 from another ejb 3" New topic
Author

call ejb3 from another ejb 3

Doan Long
Greenhorn

Joined: Jul 26, 2012
Posts: 20

I want call a EJB3 from a EJB3 other. How to Call

sample call method from reportengine-ejb in identitymanager-ejb. How to Call
shekar hari
Ranch Hand

Joined: Sep 07, 2011
Posts: 36
Using annotations..

@Stateless(mappedName = "Bean1", name = "Bean1")
public class Bean1 {

@EJB
private Bean2 bean2;

public void test() {
bean2.testMethod();
}
}


SCEA/OCMJEA certified
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: call ejb3 from another ejb 3