Packaging and Deploying the Enterprise Beans

This section describes the steps to package and deploy the entity beans and also build the client for both WebLogic Server and JBoss application servers.

You can run the following commands for WebLogic Server:

C:\>cd styejb\examples
C:\styejb\examples>setEnvWebLogic.bat
\C:\styejb\examples>cd day12
C:\styejb\examples\day12>buildWebLogic.bat
					

You can run the following commands for JBoss:

C:\>cd styejb\examples
C:\styejb\examples>setEnvJboss.bat
C:\styejb\examples>cd day12
C:\styejb\examples\day11>buildJboss.bat
					

Get Sams Teach Yourself EJB in 21 Days now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.