aspose file tools*
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 Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Products » BEA/Weblogic
Bookmark "EJB JNDI name" Watch "EJB JNDI name" New topic
Author

EJB JNDI name

Igor Dvorzhak
Greenhorn

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

weblogic-ejb-jar.xml


ejb-jar.xml
Igor Dvorzhak
Greenhorn

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
 
 
subject: EJB JNDI name