Apache Financial Services

Build Instructions

The following information details the actions needed to build the simple bank servlet.

Prequisites

Facility Details
Merlin Main

A servlet is created containing the required Merlin jar files. The jars are collected from you Maven repository during the servlet build process. As such, you must have execute the general merlin dist target.

$ cd [merlin-dev-directory]
$ maven merlin-clean
$ maven merlin-dist
                
Merlin Sevlet

The simple bank servlet extends the abstract Merlin Servlet which contains the embedded kernel. A jar file created by the Merlin Servlet build procedure must be available in the Maven repository.

$ cd [merlin-dev-directory]
$ cd merlin-extensions\merlin-servlet
$ maven clean jar:install
                

Building the Bank Component and Servlet

The following information details the actions needed to build the simple bank servlet.

Facility Details
Simple Bank

The simple bank servlet requires classes declared in the simple bank component demonstration.

$ cd [merlin-dev-directory]
$ cd platform\examples\afs\simple
$ maven clean jar:install
                
Simple Bank Servlet

The simple bank servlet can be build using the following Maven commands.

$ cd [merlin-dev-directory]
$ cd platform\examples\afs\simple-servlet
$ maven clean war:install
                

Building the Bank Component and Servlet

The resulting war file merlin-example-simple-bank-servlet.war can be placed into your web server and is ready for immediate deployment.