Skip to content

Latest commit

 

History

History
32 lines (26 loc) · 2.01 KB

Readme.md

File metadata and controls

32 lines (26 loc) · 2.01 KB

Tomcat Port of the JPPF Client

What does the sample do?

This sample is a simple demonstration of a JPPF client embedded in a web application and running within a Tomcat container.
It has been tested with Apache Tomcat versions 5.5 and 6.0.

How do I run it?

Before running this sample application, you must have a JPPF server and at least one node running.
For information on how to set up a node and server, please refer to the JPPF documentation.
Once you have a server and node, from a command prompt, perform the following steps:
  • configure the application settings, by editing the configuration files (JPPF and logging) in the TomcatPort/src/java folder
  • from a shell or command prompt, type: "ant build". This will build a WAR file that embeds a JPPF client, in the TomcatPort/build folder.
  • deploy the WAR file to Tomcat (usually by copying it to TOMCAT_HOME/webapps)
  • start Tomcat

How do I use it?

To use this sample, open a browser at this URL: http://tomcat_host:tomcat_port/jppftest
If your Tomcat installation is local and uses the default port, you can go directly to this URL: http://localhost:8080/jppftest

What integration features of JPPF are demonstrated?

Integration with the Tomcat Servlets/JSP container.

I have additional questions and comments, where can I go?

If you need more insight into the code of this demo, you can consult the JSP source files located in the TomcatPort/src/resources folder.

In addition, There are 2 privileged places you can go to: