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 Websphere and the fly likes Bindings file in EJB 3.0 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 » Products » Websphere
Bookmark "Bindings file in EJB 3.0" Watch "Bindings file in EJB 3.0" New topic
Author

Bindings file in EJB 3.0

vipul bondugula
Ranch Hand

Joined: Oct 14, 2010
Posts: 218
Hi Ranchers,

Currenlty i am working on an enterprise project including ejb 3.0 and web. In EJB we are having both session beans and message driven beans.
Using IDE , we developed session beans and local business interfaces extended by session beans. Using annotations we have done it.
sample example of session bean:



local business interface:





In Facade Bean, i am accessing session bean like this:



and in ejb 3, ejb-jar.xml file is optional. and i am not configuring session beans at any other place like ibm-ejb-jar-bnd.xml..Is it required my sessionbeans to be configured in ibm-ejb-jar-bnd.xml file? please check my configuration and if any other configuration required, please tell me.

More over, what is the use of ibm-ejb-jar-bnd.xml file?

Thanks
Vipul Kumar


Thanks
Vipul Kumar
Jeanne Boyarsky
internet detective
Marshal

Joined: May 26, 2003
Posts: 30130
    
150

I'm not sure if it is required, but the JNDI name has to be specified somewhere. If it isn't in the bindings file, it needs to be somewhere else.


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
vipul bondugula
Ranch Hand

Joined: Oct 14, 2010
Posts: 218
Binding file is required. we configure ejb and mdb resources in ibm-ejb-jar-bnd.xml file..

Thanks to Google...

 
jQuery in Action, 2nd edition
 
subject: Bindings file in EJB 3.0
 
Similar Threads
EJB 3 Local Lookup not working with Weblogic 10.3 and JDK 1.6_05
ejb-local-ref and ejb-ref
confused in annotations
Conversational state and passivation
EJB3 Session bean and JBoss 5