Core EJB Client

From GreenVulcano Wiki
Jump to: navigation, search

The Core EJB Client is a simple utility that enable a class to invoke GreenVulcano® ESB services through the Core EJB Adapter. The Client uses a properties file containing the parameters to connect to the (remote) GreenVulcano® ESB server JNDI tree.

The client interface is GVCoreEJBClient class.

The properties file, ex. jndi.properties, must be configured through the following system property: -Dit.greenvulcano.gvesb.core.ejb.client.jndi="path to /jndi.properties"
The file is polled for change every 5 minutes.

From here the client package can be downloaded.

The package contains the following directories:

  • lib : the client and GV support libraries
  • extra-lib : JBoss 5.1 client libraries
  • examples  : stand-alone and Tomcat web application examples

For each example an Ant build script to automate the compilation and packaging is provided.