This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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 Android Security Essentials Live Lessons this week in the Android 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
J2EE Design Question -- Am I On The Right Track?
EJB 3 Local Lookup not working with Weblogic 10.3 and JDK 1.6_05
Doubt in SessionBean contract(ejb 3.0 core)
Problem JNDI lookup of EJB from other EJB in same application / jar
"java:comp/env/" problem