JBoss.org Community Documentation

1.2. JBoss Application Server 5 compatibility issues

The following are current compatibility issues for JBoss AS5:

  1. JBossAS 5 runs under Java 5 but there is an ongoing task to make it run safely under Java 6, too http://jira.jboss.org/jira/browse/JBAS-5031. If using a Sun Java 6 runtime, you may want to set -Dsun.lang.ClassLoader.allowArraySyntax=true, as described in http://jira.jboss.org/jira/browse/JBAS-4491.

  2. If using proprietary JBoss/EJB3 annotations, those have moved into the org.jboss.ejb3.annotation package, http://jira.jboss.org/jira/browse/EJBTHREE-1099. Those are now included in a new artifact, jboss-ejb3-ext-api.jar

  3. Work on EJB3 Extended Persistence Context support is not completed, http://jira.jboss.org/jira/browse/EJBTHREE-1026.

  4. Interoperating with previous JBoss EJB3 implementations may present problems due to serialVersionUIDs issues, http://jira.jboss.org/jira/browse/EJBTHREE-1118.

  5. EJB 2.1 View requirements

    • Home extending EJBLocalHome? or EJBHome must be defined

    • Remote or Local interface must either be defined via @Local/@Remote or via return type of "create<METHOD>" methods of the Home

    • EJB 2.1 Remote/Local interfaces must extend EJBObject/EJBLocalObject

  6. @Local/@Remote may be used to define either EJB 3.0 View Business Interface, or EJB 2.1 View Remote/Local interface

  7. Use of JBoss Cache 2.x. JBC 2.x has a significantly different API from the 1.x releases used in JBoss AS 4.x and 3.2.x.