Deploy Receipting Microservice in J2EE Container

Deployment Artifacts

The Receipt microservice for J2EE deployment is available as single release bundle:

ms-receipt-package-j2ee-<release no>.zip

Deployment Description

After extracting the build there will be a ms-receipt-package-j2ee-<release no>.ear file inside the zip. This is an ear, which will contain a ms-receipt-j2ee.war file.

This war file can be deployed in a j2ee compliant application server.

The following prerequisites have to be installed before deploying in the application in the application server:

Prerequisite Details
Database MySql
Stream Processing service Kafka

The following steps have to be followed to deploy the application in an application server:

  1. Enable JWT Authentication in api.properties.
  2. Deploy the J2EE artefact (.ear) in the application server.
    • For JBOSS, copy the artefact to the jboss/standalone/deployments folder.
    • For WebLogic, navigate to the following url http://localhost:9001/console based on the URL configured while installing the server, and using the Install button, deploy the artefact.
  3. Once the war is deployed, check the API's in the package.

 

 


Bookmark Name Actions
Feedback
x