Difference between revisions of "Core EJB Client"

From GreenVulcano Wiki
Jump to: navigation, search
m
Line 1: Line 1:
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 to connect to the (remote) {{GVESB}} server JNDI tree.
+
The Core EJB Client is a simple utility that enable a class to invoke {{GVESB}} services through the Core EJB Adapter. The Client uses a properties file containing the parameters to connect to the (remote) {{GVESB}} server JNDI tree.
  
 
The client interface is [[GVCoreEJBClient]] class.
 
The client interface is [[GVCoreEJBClient]] class.
Line 6: Line 6:
 
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] the client package can be downloaded.
  
 
The package contains the following directories:
 
The package contains the following directories:
Line 13: Line 13:
 
* [[GVCoreEJBClientExamples|examples]]  : stand-alone and Tomcat web application examples
 
* [[GVCoreEJBClientExamples|examples]]  : stand-alone and Tomcat web application examples
  
For each example is provided an Ant build script to automate the compilation and packaging.
+
For each example an Ant build script to automate the compilation and packaging is provided.

Revision as of 15:03, 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 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.