![]() ![]() ![]() ![]() ![]() ![]() |
This tutorial describes how to start the PointBase database management system so that the MedRec application can use it to store application data.
In particular, the tutorial describes how to:
The installation of PointBase shipped with WebLogic Server is already set up with the database tables and data used by the MedRec application. To view these tables, see Step 2: Use the PointBase console to view the MedRec tables and data.
WARNING: | The PointBase database management system shipped with WebLogic Server is meant to be used for evaluation purposes only. You cannot use it in production without a license from PointBase. |
The tutorial includes the following sections:
Create the MedRec domain and MedRec server instance. See Tutorial 1: Creating a WebLogic Domain and Server Instance for Development.
prompt> cd c:\bea\wlserver_10.0\common\eval\pointbase\tools
prompt> startPointBase.cmd
Once the PointBase database server starts, you see a message:
Server started, listening on port 9092, display level: 3 ...
The installation of PointBase shipped with WebLogic Server is already set up with the database tables and data used by the MedRec application. To view these tables, use the PointBase console.
Note: | You must start the PointBase database before you can start the PointBase console. See Step 1: Start the PointBase database. |
StartPrograms
BEA Products
Examples
WebLogic Server
PointBase Console
bea_home
\wlserver_10.0\common\eval\pointbase\tools
directory where bea_home
is the main BEA home directory, typically c:\bea
. For example:prompt> cd c:\bea\wlserver_10.0\common\eval\pointbase\tools
startPointBaseConsole.cmd
command to launch the PointBase console:prompt> startPointBaseConsole.cmd
This command also sets the CLASSPATH to find the PointBase JAR files.
com.pointbase.jdbc.jdbcUniversalDriver
.jdbc:pointbase:server://localhost/demo
.medrec
.medrec
.
c:\bea\wlserver_10.0\common\eval\pointbase\tools
startPointBase.cmd
, at the beginning of the WebLogic Server start script. Alternatively, create a master script to handle the control of starting all required processes for development, including a call to start WebLogic Server.See Step 4: Start the MedRec Administration Server. in Tutorial 1 for information about the WebLogic Server start scripts.
The MedRec application uses the PointBase database management system:
The MedRec application uses container-managed entity EJBs to automatically persist information about patients, physicians, and administrators in the PointBase database. The following table lists these entity EJBs, the application that uses each EJB, and the PointBase tables in which the information is persisted.
The MedRec application uses persistent JMS messaging, which means that any JMS messages that are put in a queue are also stored in a database so that the messages can be retrieved in case a problem occurs (such as a server crash) before the message-driven bean (MDB) can process them. The messages are stored in the MEDRECWLSTORE
PointBase table.
This table is generated automatically when you use the Administration Console to create the JMS JDBC store. The table is used internally by JMS.
![]() ![]() ![]() |