Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Deployment Descriptor Help

 
Mahela Wickramasekara
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all

Do we have to write this deployment descriptor(ejb-jar.xml) by ourselves or j2ee RI can be used to generate it. I have done the first
example in HFEJB but there is no file called ejb-jar.xml in the Directories
created. The compilation & deployment is OK but I unable to run that ejb.
it's giving runtime error & again this RI stands for what (j2ee RI).
Im talking about this AdviceBean example in HFEJB.
Help me folks I have to take this exam within a months time.


Regards
Mahela
 
Agasthya Iyer
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear Mahela,

We will have to create the ejb-jar.xml ourselves. ejb-jar.xml will be created if you use an IDE to generate the beans. But since you must have created the ejbs urself you will have to create the ejb-jar.xml urself as well.

RI stands for Reference Implementation server.

See
errata[/URL] if you are getting a run time error like CORBA.BAD_OPERATION.

HTH

Regards,
Agasthya
 
Peer Reynders
Bartender
Posts: 2968
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Mahela Wickramasekara:
Do we have to write this deployment descriptor(ejb-jar.xml) by ourselves or j2ee RI can be used to generate it.

For the exam you have to know how to compose an ejb-jar.xml.
For the code examples you use the deploytool to create the ejb-jar.xml. If I remember correctly the generated ejb-jar.xml is buried deeply inside a jar file, possibly even within another jar file (I ditched the J2EE 1.3 RI setup recently, so I can't check it).

If you want to "quickly" look inside a jar, and your UI lets you look into ZIP files, copy the jar file and rename the extension to zip.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic