• 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
  • Ron McLeod
  • Rob Spoor
  • Tim Cooke
  • Junilu Lacar
Sheriffs:
  • Henry Wong
  • Liutauras Vilda
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Tim Holloway
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Mikalai Zaikin
  • Piet Souris

Deployment Descriptor Help

 
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Bartender
Posts: 2968
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
reply
    Bookmark Topic Watch Topic
  • New Topic