2 Replies Latest reply on May 4, 2007 12:42 PM by Rodney Kite

    Mixed EJB 2.1 and 3.0 in ejb-jar.xml

    Rodney Kite Newbie


      Is it possible to have legacy 2.1 beans and 3.0 beans defined in the same ejb-jar.xml file? If you can override EJB 3.0 beans annotations in ejb-jar.xml then it seems that 2.1 and 3.0 should play well in the same file.

      I have replaced the <ejb-jar> tag in ejb-jar.xml with the 3.0 xsd in an existing project. When it deploys in JBoss 4.2 I get errors complaining about the EJB 2.1 xml tags.