File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
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
author & internet detective
Marshal

Joined: May 26, 2003
Posts: 30929
    
158

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...

 
 
subject: Bindings file in EJB 3.0