Load Java classes for Appserver from database

Description

PeopleTools has great support for using Java directly from PeopleCode. However, you need to install the Java classes (or jar files) directly on each application server and process scheduler domain in order to use them.

This project is to fix that by creating a custom Java class loader that knows how to pull the Java .class files from the PeopleSoft database if they are not installed on the application server.

Downloading the Project

Here is how you can download this project for your own use:

The current version of the PeopleTools objects can be installed in your environment using the following attachment Download. Here are the instructions for how the installers work. Also, at the bottom of this wiki page are attachments for the other revisions in the source code repository.

Any other objects can also be downloaded directly from the pshome folder in the source tree

Bugs/Feature Requests

Existing bugs and feature requests for DatabaseClassLoader are here.

If you have any issues, create a new ticket (requires registration).

Source

You can browse through the source code here.

Registered users can check out DatabaseClassLoader from  here using Subversion.

Recent Changes

[38] by chris.heller on 2010/06/19 03:20:31

Use the Java class from changeset:37 from PeopleCode. We use the URLClassLoader that is part of Java to see how PeopleTools handles an alternate class loader. The example code assumes that the compiled Java class has been put into c:\temp. This is part of ticket #3

[37] by chris.heller on 2010/06/19 03:16:21

Create our own Java class to use with our DatabaseClassLoader work. This is a better test than using PeopleTools Java classes because those would already be installed on the application servers and therefore not need to be loaded from elsewhere. This is for ticket:3

[36] by chris.heller on 2010/06/18 22:06:39

Load a class that is not part of Java itself. Work on ticket #3

[33] by chris.heller on 2010/06/18 21:19:45

Check for null when calling getClassLoader. Work on ticket #3

Attachments