Skip Headers
Oracle® Healthcare Master Person Index User's Guide
Release 4.0

E68430-01
Go to Table of Contents
Contents
Go to Feedback page
Contact Us

Go to previous page
Previous
Go to next page
Next
PDF · Mobi · ePub

6 Web Layer Separation for OHMPI

To separate the Web tier from the Business Logic tier, the MIDM UI layer is separated from the MIDM EJB layer. The MIDM UI layer and the MIDM EJB layer that are currently packaged into one EAR deployment package are broken down into individual WAR and EJB deployment packages.

Standalone WAR and EJB deployment packages are generated and these are setup on two different servers. The default EAR is also generated and is used for the consolidated deployment. The ohmpi-midm-connector.properties file is modified for setting up the WAR deployment to communicate with the EJB deployment.

To separate the web layer from the EJB layer:

  1. Build the project. For information, see Building the Project.

  2. Configure the application server. For information, see Configuring the Application Server.

  3. Configure the connectivity. For information, see Configuring Connectivity.

  4. Deploy the build. For information, see Deploying the Build.

Building the Project

  • For a new project, two additional deployment packages (WAR and EJB) are available in the dist folder after you build the project. For example, -war.war and -ejb.jar.

  • For existing projects, execute the Clean Project and Generate Master Index files to update the project before building it.

Configuring the Application Server

To configure the servers hosting the individual deployment packages:

  1. Define users with the same username, password, and roles on both the servers.

  2. Define the JDBC Data Sources (<APP-NAME>DataSource and <APP-NAME>SequenceDataSource) on the server deploying the EJB component.

  3. Optional step. You can define the JMS Resource, <APP-NAME>OutBoundSender, on the server deploying the EJB component.

Configuring Connectivity

When you create a new project, the following command line utilities are generated in the <project> folder:

  • generate-wallet.bat

  • generate-wallet.sh

Generate the wallet contents using the generate-wallet.bat (for Microsoft Windows) and/or generate-wallet.sh (for UNIX) utility file.

  1. Pass the following command line arguments:

    <remote-weblogic-provider-url> <USERNAME> <PASSWORD> <Wallet Password>
    
    • remote-weblogic-provider-url: For example, t3://<host>:<port>

    • USERNAME: Username defined during the user setup

    • PASSWORD: Password set during the user setup

    • Wallet Password: This must be a minimum of 8 character, alphanumeric, and have a special character.

    The ohmpiWallet folder is created in the project folder.

  2. Copy the ohmpiWallet folder to the <app-server-domain-config-directory>/config folder in the web layer deployment server.

Deploying the Build

Deploy the EJB and WAR package on the EJB Server and Web Server, respectively.