File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Bindings file in EJB 3.0

 
vipul bondugula
Ranch Hand
Posts: 219
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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

 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 33674
316
Eclipse IDE Java VI Editor
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
vipul bondugula
Ranch Hand
Posts: 219
  • 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Binding file is required. we configure ejb and mdb resources in ibm-ejb-jar-bnd.xml file..

Thanks to Google...

 
Don't get me started about those stupid light bulbs.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic