This tutorial includes Java™ code
that uses the Enterprise JavaBeans (EJB)
transport to connect to the Content Platform Engine,
hosted by a WebLogic or JBoss application server.
Learning objectives
- Create and configure the Eclipse IDE project with the required
IBM FileNet JARs.
- Add connection code that uses the EJB transport.
- Create the project's runtime environment.
- Run the code to connect to Content Platform Engine.
Time required
Approximately
30 minutes.
Prerequisites
- Eclipse IDE, open source software that can be downloaded
from http://www.eclipse.org/downloads/. The tutorial
uses version 3.5 of Eclipse. If you're using a different version of
the IDE, you might have to adapt some instructions for your specific
IDE version.
- Content Engine version 4.5.1
or higher, deployed on a supported WebLogic or JBoss application.
For supported application servers, see the FileNet® P8 Hardware and Software
Requirements .
To test the connection to the Content Engine that you use to develop
a FileNet P8 application,
enter this URL in your web browser: http://<hostname>:<portnumber>/FileNet/Engine.
(The default ports are 7001 for WebLogic and 8080 for JBoss.) If the
connection is successful, the Content Engine returns
an HTML page that describes the Content Engine startup
context; otherwise, it returns a list of errors.
- The following Content Engine Client software
must be installed: Jace.jar, log4j.jar, p8cel10n.jar,
and the JAAS configuration file, jaas.conf.WebLogic or jaas.conf.JBoss.
For information, see Finding Required
Files.
- The application server JAR file must exist on your local machine.
If the Content Engine is running
on a WebLogic application server version 10.x and later, you need wlfullclient.jar.
For earlier WebLogic versions, use weblogic.jar.
If the Content Engine is
running on a JBoss Application Server,
you need jbossall-client.jar.
If the application
server is remote, copy the JAR from the application server to your
local machine.
- The Java Runtime Environment
(JRE) that you use to develop your client FileNet P8 application must be the
same version as used by the application server.