1 Reply Latest reply on May 11, 2012 11:19 AM by dabramov

    EJB 2 in JBoss 7.1

    sarahfr

      HI,

      in order to use Ejb 3, we add to file ejb-jar.xml” this header:


      <jboss:ejb-jar xmlns:jboss="http://www.jboss.com/xml/ns/javaee"

                     xmlns="http://java.sun.com/xml/ns/javaee"

                     xmlns:tx="urn:trans-timeout"

                     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"

                     xsi:schemaLocation="http://www.jboss.com/xml/ns/javaee http://www.jboss.org/j2ee/schema/jboss-ejb3-2_0.xsd

      http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/ejb-jar_3_1.xsd

      urn:trans-timeout http://www.jboss.org/j2ee/schema/trans-timeout-1_0.xsd"

                     version="3.1"

                     impl-version="2.0">

       

      but to use Ejb 2  I did'nt what header I can use;

      THANKS