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.