• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

wsad extension files

 
Ranch Hand
Posts: 154
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Chaps,
Three quick questions
I'm using WSAD 4.0
1) What is the significance of the link field in the EJB Editor references pane. It seems to be the name of the referenced EJB but isn't this redundant
as this EJB is got by using the Coded JNDI name and cross referencing this with the Real EJB Name in the extension editor isn't it???
2) Has anyone got a link to a micky mouse check list of steps for creating EJBs in WSAD. For use as a quick reminder sort of thing.
2) Finally has anyone out there got a link to a document that explains the interrelation of the ejb-jar, ibm-ejb-jar-bnd.xmi, ibm-ejb-jar-ext.xmi entries? (OK I'm not sleeping well, but would like to know how it all connects)
Ta to anyone who helps.
Graham
 
Ranch Hand
Posts: 282
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
1) Not sure exactly what you are referring to here. Suggest you check the WSAD Help.
2) The wizards in WSAD make it simple. All that is required is:
a) Create an EJB using the EJB wizard.
b) Create one or more methods and promote to the remote interface.
(from the Outline view)
c) Build the EJB project.
d) Generate deployment code. (from the EJB project context menu)
e) Add the EJB jar in to the EAR deployment descriptor.
f) Start your test server and use 'em.
3) ejb-jar.xml is the standard EJB deployment descriptor.
ejb-jar-ext.xmi is the descriptor containing IBM, i.e. non-J2EE
extensions.
ejb-jar-bnd.xmi is the descriptor containing bindings like JNDI names,
i.e. more non-J2EE stuff.
You should be able to find more detailed information in the WSAD Help.
 
Graham VMead
Ranch Hand
Posts: 154
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks for the reply.
1) This is the redbook/WSAD entry the link field is on the right.
No explanation in the redbook and try as I might I can't find anything in the WSAD help.

2) In terms of the extension/ IBM proprietary files it was more an explanation of how the EJBRef entries cross referenced with each other between the files to allow for JNDI Virtual to real name mappings etc.
 
Jay Damon
Ranch Hand
Posts: 282
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
1) Can you provide the specific Redbook name and page number? I've not seen this editor before nor can I find it.
2) Because those extension files are proprietary, it's pretty ugly. I suggest you create some EJBs and then look at the files with a source editor like TextPad. ejb-jar-ext.xmi will contain things like field names for CMP EJBs, finder definitions, and access intent, i.e. update or read only. ejb-jar-bnd.xmi will contain datasource definitions and the JNDI names linked to the EJBs defined in ejb-jar.xml.
 
Graham VMead
Ranch Hand
Posts: 154
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Yes its this one SG246292 page 165
Web Services Wizardry with WebSphere Studio Application Developer
 
Jay Damon
Ranch Hand
Posts: 282
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
My mistake. I overlooked the fact that you are using WSAD v4.0. In v5.0, the editor is now called the Deploymnent Descriptor editor and the view referenced in the Redbook no longer exists. What the Redbook is trying to describe is how to set up an EJB Reference. Look here for information on setting up an EJB Reference. For additional information, search for EJB Reference on Google.
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic