Difference between revisions of "Core EJB Client"

From GreenVulcano Wiki
Jump to: navigation, search
(Created page with "The Core EJB Client is a simple utility that enable a class to invoke {{GVESB}} services through the Core EJB Adapter. The Client use a properties file containing the parameters ...")
 
Line 3: Line 3:
 
The client interface is [[GVCoreEJBClient]] class.
 
The client interface is [[GVCoreEJBClient]] class.
  
The properties file, ex. jndi.properties, must be configured through the following system property:
+
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"
-Dit.greenvulcano.gvesb.core.ejb.client.jndi="path to /jndi.properties"
 
 
 
 
The file is polled for change every 5 minutes.
 
The file is polled for change every 5 minutes.
  
 
From [http://commons.apache.org/ognl/language-guide.html here] can be downloaded the client package.
 
From [http://commons.apache.org/ognl/language-guide.html here] can be downloaded the client package.
  
The package contains the following directory:
+
The package contains the following directories:
 
* lib : the client and GV support libraries
 
* lib : the client and GV support libraries
 
* extra-lib : JBoss 5.1 client libraries
 
* extra-lib : JBoss 5.1 client libraries
 
* examples : stand-alone and Tomcat web application examples
 
* examples : stand-alone and Tomcat web application examples
 +
 +
For each example is provided an Ant build script to automate the compilation and packaging.

Revision as of 13:30, 3 August 2012

The Core EJB Client is a simple utility that enable a class to invoke GreenVulcano® ESB services through the Core EJB Adapter. The Client use a properties file containing the parameters to connect to the 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 can be downloaded the client package.

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 is provided an Ant build script to automate the compilation and packaging.