Packaging and Deploying the Enterprise Bean

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

The following are the steps for WebLogic Server:

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

The following are the steps for JBoss:

C:\>cd styejb\examples
C:\styejb\examples>setEnvJboss.bat
C:\styejb\examples>cd day10
C:\styejb\examples\day10>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.