Avitek Medical Records Development Tutorials
The Avitek Medical Records Development Tutorials guide you through the process of developing, packaging, and deploying real-world J2EE applications with WebLogic Server. These tutorials use the Avitek Medical Records sample application suite as a basis for instruction. However, you can easily apply the procedures and best practices to your own J2EE applications.
What Is Avitek Medical Records?
Avitek Medical Records (or MedRec) is a WebLogic Server sample application suite that concisely demonstrates all aspects of the J2EE platform. MedRec is designed as an educational tool for all levels of J2EE developers; it showcases the use of each J2EE component, and illustrates best practice design patterns for component interaction and client development.
The MedRec application provides a framework for patients, doctors, and administrators to manage patient data using a variety of different clients. Patient data includes:
- Patient profile information - A patient's name, address, social security number, and login information.
- Patient medical records - Details about a patient's visit with a physician, such as the patient's vital signs and symptoms as well as the physician's diagnosis and prescriptions.
The MedRec application suite consists of two main J2EE applications and one supporting application that loads the MedRec informational page. The main applications support one or more user scenarios for MedRec:
- medrecEar - Patients log in to the patient Web Application (patientWebApp) to edit their profile information, or request that their profile be added to the system. Patients can also view prior medical records of visits with their physician. Administrators use the administration Web Application (adminWebApp) to approve or deny new patient profile requests.
medrecEar also provides all of the controller and business logic used by the MedRec application suite, as well as the Web Service used by different clients.
- physicianEar - Physicians and nurses log in to the physician Web Application (physicianWebApp) to search and access patient profiles, create and review patient medical records, and prescribe medicine to patients. The physician application is designed to communicate using the Web Service provided in medrecEar.
- startupEar - The startupEar application is a simple Web Application that automatically starts a Web browser and loads a MedRec informational page when you start the installed MedRec domain. This application is not discussed during the development tutorials, but is compiled and deployed as part of the complete MedRec build process.
In the tutorials that follow, all applications will be deployed in a single-server domain. Single-server domains are generally used during the development process for convenience of deployment and testing. Figure 1 shows how each application would be deployed to multiple servers in a production environment.
Figure 1: MedRec Application Suite in a Multiple-Server Domain
Throughout the course of the MedRec tutorials, you create the server instances, build the MedRec applications, and deploy them to the new servers. If you are interested in viewing or using the complete MedRec application before starting the tutorials, you can use the pre-built MedRec domain that is installed with WebLogic Server.
While the MedRec tutorials explain how to develop application components using WebLogic Server tools, they do not describe MedRec's J2EE implementation or explain how to program J2EE components in Java. For more information about MedRec's J2EE architecture and implementation, see the Avitek Medical Records Architecture Guide.
The MedRec tutorials are designed to be completed in the order they are presented. The sequence of tutorials follows the various stages of J2EE application development, from staging and coding the application, through building and deploying components.
If you choose to skip one or more tutorials, read the Prerequisites section of the tutorial you want to follow. This section identifies steps you need to complete in order to complete the tutorial. In many cases, BEA has provided scripts that help you catch up to a given point in the tutorials. If you follow the tutorials in sequence, you will always meet the prerequisites for the next tutorial.
The tutorials are divided into the following sections:
- Configuring Domains and Servers describes how to configure the domains, WebLogic Server instances, and resources required to deploy the MedRec application.
- Building the MedRec Applications describes how to create the development environment for the MedRec tutorials and build application components. The development environment consists of the application directories and associated Ant tasks that help you build and deploy the J2EE applications. Tutorials in this section also describe how to use WebLogic Server tools generate deployment descriptors, package, and deploy J2EE components.
- Moving to Production Mode describes how to take the MedRec application from the development environment into a production environment. Tutorials in this section focus on packaging, deploying, and tuning the MedRec application.
Related Reading
- Introduction to WebLogic Server and WebLogic Express
- J2EE API Programming Guides
- Developing WebLogic Server Applications
- Avitek Medical Records Architecture Guide