aspose file tools*
The moose likes Web Services and the fly likes How to Call Local EJB From EJB EndPoint Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "How to Call Local EJB From EJB EndPoint" Watch "How to Call Local EJB From EJB EndPoint" New topic
Author

How to Call Local EJB From EJB EndPoint

Salman Riaz
Ranch Hand

Joined: Jul 24, 2003
Posts: 53
Hi,

I have a very Simple Webservice deployed on Oracle OC4J Container.
Web Service End point is Stateless Session EJB.
I am trying to call other EJBs from within my EJB End point. Other EJB i am defiing as local with only local and local-home interface, and am defining in the EJB-JAR.xml as <ejb-local-ref> element within Session Tag of End Point EJB.

When i try to Run that EJB it gives me error as java.rmi.ServerException.

Where Client Calls --> EndpointEJB calls -->EndpointEjbInt_stub calls EndpointEJBBean.someMethod(), (this method is simple String return)

Another Method within the EndpointEJBBean is calling local beans method.

Please provide any help!!

Thanks in Advance.

Salman
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to Call Local EJB From EJB EndPoint
 
Similar Threads
"java:comp/env/" problem
J2EE Design Question -- Am I On The Right Track?
Problem JNDI lookup of EJB from other EJB in same application / jar
Doubt in SessionBean contract(ejb 3.0 core)
EJB 3 Local Lookup not working with Weblogic 10.3 and JDK 1.6_05