On Demand Client

From PresenceWiki
Jump to: navigation, search

Presence On Demand Client

The Presence On Demand Client is a lightweight component that communicates directly with the Presence Server in order to run On Demand Tasks. It can be included in your J2EE compliant Servlet engine (such as Tomcat, Jetty, Websphere) or it can be used as a standalone component in your Java application.

Presence ships with its own Servlet Engine that is configured to only run Presence On Demand Tasks. This is useful for the development and testing stage, however for production you may find it too limited.

Using The On Demand Client with a Servlet Engine

In order to include the On Demand Client in your Servlet engine, you must include the library "PresenceOnDemand.jar" in your application or server classpath. Refer to your Servlet Engine documentation on how to do this.