September 2002
Intermediate to advanced
608 pages
14h 20m
English
The compilation and packaging of the bean doesn't introduce anything new. Listing 21.5 shows excerpts from the nfl/application/ejb/build.xml file that build the targets related to our entity bean. There is one more WebLogic-specific file we now have to include in the META-INF directory of our EJB-JAR; we'll look at that in detail shortly.
<target name="compile-entity"> <javac srcdir="." classpath="${j2ee.jar}:../../.." > <include name="GameHome.java" /> <include name="GameRemote.java" /> <include name="GameEntityBean.java" /> <include name="GamePK.java" /> <include name="EBVInfo.java" /> <include name="GameEJBAdapter.java" /> </javac> <javac srcdir="../../persistence" classpath="${j2ee.jar}:../../.." ... |
Read now
Unlock full access