| 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: 26141
|
|
|
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
|
|
|