Good morning:
I'm having problems deploying an EJB3 with a deployment descriptor. I've
not had any problems deploying it only with tags, but when I add the
ejb-jar.xml to fix the final values Geronimo detects the EJB like an EJB2
instead of 3.
I've found no example of Geronimo, ejb-jar.xml and EJB3. Maybe anyone
has tested it? It should be possible as the deployment descriptor is
optional, but not deprecated.
Thanks in advance
(Here I attach my ejb-jar.xml)
<?xml version="1.0" encoding="UTF-8"?>
<ejb-jar version="3.0" xmlns="http://java.sun.com/xml/ns/javaee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
http://java.sun.com/xml/ns/javaee/ejb-jar_3_0.xsd">
<enterprise-beans>
<session>
<ejb-name>HelloWorldBean</ejb-name>
<remote>test.vpod.HelloWorld</remote>
<local>test.vpod.HelloWorldLocal</local>
<ejb-class>test.vpod.HelloWorldBean</ejb-class>
<session-type>Stateless</session-type>
<transaction-type>Container</transaction-type>
</session>
</enterprise-beans>
</ejb-jar>
--
View this message in context:
http://www.nabble.com/ejb-jar.xml-and-EJB-3.0-tp16249489s134p16249489.html
Sent from the Apache Geronimo - Dev mailing list archive at Nabble.com.