Getting the Provider Class for a Stateful Rule Session |
PREVIOUS NEXT |
The following sets of code show how to get the provider class from both a remote and a local client. A remote client is where the client does not run in the same JVM as the rule session. A local client is where the client runs in the same JVM as the rule session; for example, in a JSP page.
To get the provider for a remote client:
To get the provider for a local client:
You can get the provider class for a local client that does not invoke an EJB, where the client does not run in the same JVM as the rule session and does not use the session as an EJB (for example, in a JSP page):
To get the provider for a local client that does not invoke an EJB:
You can also get the provider class in a J2SE environment (where the rule sessions are not used in an application server context).
To get the provider class in a J2SE environment:
| Copyright © 1987-2008 ILOG S.A. All rights reserved. Legal terms. Documentation homepage. | PREVIOUS NEXT |