Packaging and Deploying the Application
This section describes the steps to package and deploy the application for both WebLogic Server and JBoss application servers. These steps assume that you configured OrderVerifierTopic as discussed on Day 14, “Developing Message-Driven Beans,” and ursMailSession as discussed on Day 20, “Implementing JavaMail in EJB Applications.”
You can run the following commands for WebLogic:
C:\>cd styejb\examples C:\styejb\examples>setEnvWebLogic.bat C:\styejb\examples>cd day21 C:\styejb\examples\day21>buildWebLogic.bat
You can run the following commands for JBoss:
C:\>cd styejb\examples C:\styejb\examples>setEnvJboss.bat C:\styejb\examples>cd day21 C:\styejb\examples\day21>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.