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
Register / Login
JavaRanch » Java Forums » Java » Web Services
Reply 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://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: How to Call Local EJB From EJB EndPoint
 
Similar Threads
J2EE Design Question -- Am I On The Right Track?
"java:comp/env/" problem
EJB 3 Local Lookup not working with Weblogic 10.3 and JDK 1.6_05
Problem JNDI lookup of EJB from other EJB in same application / jar
Doubt in SessionBean contract(ejb 3.0 core)