Server User Manual

Table Of Contents
iii
Chapter 13
Building J2EE modules 115
J2EE modules . . . . . . . . . . . . . . . . . . . 115
Setting module build properties . . . . . . . . . . . 116
File type filters . . . . . . . . . . . . . . . . . . 116
Class and resource filters . . . . . . . . . . . . 116
Clean filters . . . . . . . . . . . . . . . . . . . 117
Dependencies . . . . . . . . . . . . . . . . . . 117
Adding custom file types . . . . . . . . . . . . . . 117
Sample build scenarios . . . . . . . . . . . . . . . 118
EJB JAR without any bean classes . . . . . . . 118
EJB JAR with custom files . . . . . . . . . . . . 118
EJB JAR without EJB designer XML
descriptors . . . . . . . . . . . . . . . . . . . 119
WAR with custom descriptor(s) in the
WEB-INF directory . . . . . . . . . . . . . . . 119
WAR without any classes. . . . . . . . . . . . . 119
WAR with custom class filters . . . . . . . . . . 119
WAR with custom file types. . . . . . . . . . . .119
EAR with custom files . . . . . . . . . . . . . . 120
RAR with classes and dependencies. . . . . . .120
Application client module with classes and
dependencies . . . . . . . . . . . . . . . . . . 120
Improving module build performance . . . . . . . . 121
Web modules . . . . . . . . . . . . . . . . . . . 121
Index 123