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
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 :
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
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
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/