3 Replies Latest reply: Jul 7, 2012 4:23 PM by Carsten Maneg RSS

Problem ejb 2  in JBoss 7.1

sarahfr Newbie

hi,

 

in my application (in jboss 4) I used the following header in the ejb-jar.xml for ejb 2

 

<!DOCTYPE ejb-jar PUBLIC "-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 2.0//EN" "http://java.sun.com/dtd/ejb-jar_2_0.dtd">

 


but in jboss 7.1 I do not know if this header I have used


<ejb-jar id="ejb-jar_ID" version="2.1" xmlns="http://java.sun.com/xml/ns/j2ee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/ejb-jar_2_1.xsd">

 

THANKS