Running the Example

The following steps describe how to start the PointBase database server and WebLogic Server, and run the sample client:

1.
Start PointBase server in a new command window as follows:
C:\>cd styejb\examples
C:\styejb\examples>setEnvWebLogic.bat
C:\styejb\examples>startPointBase.bat
							
2.
Start WebLogic Server in a new command window as follows:
C:\>cd styejb\examples
C:\styejb\examples>setEnvWebLogic.bat
C:\styejb\examples>startWebLogic.bat
							
3.
You can run the client in the same window you used to package the beans and build the client, using the following command:
C:\styejb\examples\day12> runClientWebLogic.bat
							

The following steps describe how to start the JBoss server and run the sample client:

1.
Start the JBoss server ...

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.