|calculator- Using EJB 3.0 Functions||Sample applications||Customer Simple ejb application with a JPA entity|
This sample is used to assemble Geronimo integrated ActiveMQ modules(including the new Geronimo plugin
activemq-webconsole), so that user can use it as a standalone JMS server with user-friendly web interfaces to manage JMS objects. In this sample, we will demonstrate how to use
car-maven-plugin to build a custom server assembly for both Jetty and Tomcat.
We will explain the
pom.xml files for Tomcat with ActiveMQ assembly. Likewise, you can apply the similar configurations to Jetty and ActiveMQ assembly.
root pom.xml of the sample
In the code above, make sure you specify the module IDs of the project and enclosed ones.
pom.xml for Tomcat and ActiveMQ assembly
To assemble a working server as we expected, you have to
org.apache.geronimo.framework.plugingroups::frameworkin the dependencies;
- Include other required modules, such as
- Specify you are going to assemble a new server with element
- Make sure all configuration files required by a running server wired to
car-maven-plugin, such as:
Assemble the server using maven command
When everything is ready, run the following command in root directory of the sample applicaiton. Then you will find the target server in
target directory of each module.