users@glassfish.java.net

Re: Adding code dynamically

From: Sahoo <Sahoo_at_Sun.COM>
Date: Tue, 04 Mar 2008 20:31:37 +0530

A wild thought:
You can store the bytes as a blob in a database. You can have your own
ClassLoader that knows about the mappings and uses it to find the bytes
to load classes.

Sahoo
glassfish_at_javadesktop.org wrote:
> Hello,
>
> We are starting developing an application that will run in GlassFish.
> In big lines, this application will process (transform) messages.
> Each message type will have a corresponding processing type.
> Associations between message types and processing types will be maintain in a kind of table.
>
> My questions are:
> Is it possible to create a mechanism that allows users to add dynamically new processing code, by adding somewhere some java or jar files ?
> How to maintain the associations table ?
>
> Thanks,
>
> Olivier
> [Message sent by forum member 'ols' (ols)]
>
> http://forums.java.net/jive/thread.jspa?messageID=262129
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>