File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes BEA/Weblogic and the fly likes EJB JNDI name Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Products » BEA/Weblogic
Bookmark "EJB JNDI name" Watch "EJB JNDI name" New topic


Igor Dvorzhak

Joined: Jul 23, 2010
Posts: 6
I am trying to assign a JNDI name for the session bean.

But specified name ejb/AuthorityService mapped only for home interface of the EJB, remote interface is still mapped to the generated name: RoomBookerRoomBooker-ejb_jarAuthorityServiceEjb_EO

In what may be the problem?

P.S. sorry for my English


Igor Dvorzhak

Joined: Jul 23, 2010
Posts: 6
WebLogic sets the JNDI name properly

Problem was in spring configuration file:
I use org.springframework.ejb.access.LocalStatelessSessionProxyFactoryBean factory for the Dependency Injection instead of org.springframework.ejb.access.SimpleRemoteStatelessSessionProxyFactoryBean
I agree. Here's the link:
subject: EJB JNDI name
It's not a secret anymore!