Running the Example

The following steps describe how to run the example in either WebLogic Server or JBoss:

The following steps describe how to run the example in either WebLogic Server or JBoss:

1.
Start the application server in a command window. In the case of WebLogic Server, use the following steps:
C:>cd styejb\examples
C:\styejb\examples>setEnvWebLogic.bat
C:\styejb\examples>startWebLogic.bat
							
In the case of JBoss, use the following steps:
C:>cd styejb\examples
C:\styejb\examples>setEnvJBoss.bat
C:\styejb\examples>startJBoss.bat
							
2.
Start the client program in another command window. In the case of WebLogic Server, use the following steps:
C:>cd styejb\examples
C:\styejb\examples>setEnvWebLogic.bat
C:\styejb\examples>cd day06 C:\styejb\examples\day06> ...

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.