Keith,
jBoss deployment descriptors are only needed if you need to specify container-specific settings. If you need to specify an alternative datasource (meaning other than the container default), you need to set up a jaws.xml file in your META-INF of your ejb .jar.
Try this link for more info on setting up jaws for your application-> http://www.jboss.org/jawsxml_howto.html
This link describes how to set up a jboss.xml if you need it -> http://www.jboss.org/jbossxml_howto.html
You can also try using EJX to define your xml files, but my experience has been that it is better to just learn the xml syntax (esp. for ejb-jar.xml) -- you'll understand what is going on much better that way. (IMO, EJX is hard to use the first couple of times, anyway)
Last time I checked, example beans were included in the binary distributions, but not in the CVS snapshots. Try getting a binary distro, and getting a test app from there.
-Jason
| "Keith L. Musser" <[EMAIL PROTECTED]>
10/27/2000 01:39 PM
|
To: jBOSS-User <[EMAIL PROTECTED]> cc: Subject: [jBoss-User] jBoss deployment descriptor |
I downloaded jBoss about 2 days ago. I notice there are no example apps
included. In particular, I can't find a JBoss deployment descriptor.
Can someone send me an example of a JBoss deployment descriptor. I need
to know how to map JNDI names to resource names, etc.
- Keith
Keith L. Musser
Integrated Dynamics, Inc.
812-371-7777
email: [EMAIL PROTECTED]
--
--------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Problems?: [EMAIL PROTECTED]
