[jboss-user] [EJB 3.0] - Re: ejb-jar.xml a clear definition for EJB3

2008-03-14 Thread caili314
Overriding metadata through XML, which file should the following contents be put? | entity-mappings | xmlns=http://java.sun.com/xml/ns/persistence/orm; | xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; | xsi:schemaLocation=http://java.sun.com/xml/ns/persistence/orm

[jboss-user] [EJB 3.0] - Re: ejb-jar.xml a clear definition for EJB3

2007-05-08 Thread HuangHao
Is there any 'official' manual or reference docu available which specifies those xml configuration(persistence.xml, application.xml, ejb-jar.xml and also jboss-app.xml and jboss-web.xml) files? What kind of editor you guys use to edit those files? Thx in advance! View the original post :

[jboss-user] [EJB 3.0] - Re: ejb-jar.xml a clear definition for EJB3

2007-05-03 Thread giancarlo.cadei
Hello, I'm a newbie with application servers and ejb3 in particular (so maybe you fall from the pan in the brace - as we say in italian) but with my search on internet and with a lot of patient I've concluded that what you need to deploy an ejb3 is. Suppose you want to deploy a jar with a

[jboss-user] [EJB 3.0] - Re: ejb-jar.xml a clear definition for EJB3

2007-05-03 Thread oskar.carlstedt
Hello! No, in general you don't need the ejb-jar.xml. You can include the ejb-jar.xml file if you intend to override settings from given annotations. But in generel, you don't need it. What you need to do is: Create a JAR-file with the ejb:s you want to deploy. This file must also include a

[jboss-user] [EJB 3.0] - Re: ejb-jar.xml a clear definition for EJB3

2007-05-03 Thread oskar.carlstedt
Oooppss.. One more thing I forgot. If you don't provide the ejb-jar.xml file, JBoss will deploy your ejbs as: NAME-OF-EAR-FILE/BEAN-CLASS-NAME/Local or NAME-OF-EAR-FILE/BEAN-CLASS-NAME/Remote. In the example above you will get something like: /my-service/MyBean/Local or /my-service/MyBean/