You can omit the following DDs with Application Server:
The following table describes the combinations of the DD version in application.xml and the omission of the DD, and the DD (ejb-jar.xml, web.xml, and ra.xml) version for each module and the omission of the DD.
Table 11-6 DD combinations
DD types | application.xml | ||||
---|---|---|---|---|---|
1.4 or earlier #1 | Java EE 5 | Java EE 6 | No DD | ||
ejb-jar.xml | 2.0 or earlier #1 | Y | Y | Y | Y |
2.1 | Y | Y | Y | Y | |
3.0 | N | Y | Y | Y | |
3.1 | N | N | Y | Y | |
No DD (3.0 or later) | Y (3.0) | Y (3.0) | Y (3.1) | Y (3.1)#2 | |
web.xml | 2.3 or earlier #1 | Y | Y | Y | Y |
2.4 | Y | Y | Y | Y | |
2.5 | N | Y | Y | Y | |
3.0 | N | N | Y | Y | |
No DD (2.5 or later) | N | Y (2.5) | Y (3.0) | Y (3.0)#2 | |
ra.xml | 1.0 | Y | Y | Y | Y |
1.5 | Y | Y | Y | Y |
#1 When the version is upgraded or when the server management commands are executed after the version is upgraded, the version is changed as described below.
#2 Even if the J2EE applications that are already imported with Application Server version 08-70 or earlier are upgraded to version 09-00 or later, the ejb-jar.xml version operates as 3.0 and the web.xml version operates as 2.5.
Table 11-7 Upgrading the DD versions
DD | Version before upgrade | Version after upgrade |
---|---|---|
application.xml | 1.2 | 1.4 |
1.3 | ||
ejb-jar.xml | 1.1 | 2.0 |
web.xml | 2.2 | 2.3 |