Monday, September 24, 2012

JBoss AS 7.1

JBoss AS 7.x

JBoss directory structure has been changed completely compared to earlier versions (for example JBoss 5.x).

Deployment of a JAR, WAR, EAR :

There are two modes in JBoss 7.x (1) standalone (2) domain

I have deployed some sample jar, war files to standalone/deployments/ folder and successfully accessed the web pages.

EJB:

JBoss 7.x replaced the JBoss.xml with JBoss-ejb3.xml.

Excerpt from JBoss AS 7.1:

Replace the jboss.xml deployment descriptor file

The jboss-ejb3.xml deployment descriptor replaces the jboss.xml deployment descriptor to override and add to the features provided by the Java Enterprise Edition (EE) defined ejb3-jar.xml deployment descriptor. The new file is incompatible with jboss.xml, and the jboss.xml is now ignored in deployments.