[Pljava-dev] Jars as blobs

From: thhal at mailblocks(dot)com (Thomas Hallgren)
To:
Subject: [Pljava-dev] Jars as blobs
Date: 2005-03-07 22:29:18
Message-ID: 422CD5BE.2010104@mailblocks.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pljava-dev

Stephen Crowley wrote:

>Has anyone considered storing jar files as blobs and a modified
>classloader to read from this table? This would make deployment much
>easier as file system access to the database would not be required. I
>was just wanting to check with everyone first to make sure there is
>not something obvious that I am missing before I start work. Any
>ideas?
>
>
You are missing something obvious :-)
Jar files are already loaded and stored in the database today using the
install_jar, replace_jar, and remove_jar function calls. The only jar
that is stored in the filesystem is the pljava.jar. Among other things,
that jar contains the table based classloader which explains why it has
to be loaded from the file system.

The CLASSPATH visible to the postmaster (or configured using
pljava.classpath) should *only* appoint the pljava.jar. All other jars
(short of the ones in the JVM bootclasspath path of course) should be
loaded into the database.

Regards,
Thomas Hallgren

In response to

Responses

Browse pljava-dev by date

  From Date Subject
Next Message Stephen Crowley 2005-03-07 22:34:29 [Pljava-dev] Jars as blobs
Previous Message Stephen Crowley 2005-03-07 22:17:19 [Pljava-dev] Jars as blobs