• Post Reply Bookmark Topic Watch Topic
  • New Topic

How to Call Local EJB From EJB EndPoint  RSS feed

Ranch Hand
Posts: 53
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

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.

It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!