custom processor libraries?

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

custom processor libraries?

Adrian Baker
Is it possible to have specific libraries for a custom processor? More specifically, we have someone trying to write a  custom processor to talk to a web service (because constructing the WS XML in XSLT is too fiddly), and a specific version of axis is required which conflicts with the one shipped in Orbeon.

Adrian




--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: custom processor libraries?

Erik Bruchez
Administrator
The Axis library in Orbeon Forms is only used by the oxf:delegation
processor. You may be able to drop a new library without any problem at
all, but at worst this should only break oxf:delegation.

You can't have a library which is "private" to a processor. Everything
is loaded by the same class loader.

-Erik

Adrian Baker wrote:
> Is it possible to have specific libraries for a custom processor? More
> specifically, we have someone trying to write a  custom processor to
> talk to a web service (because constructing the WS XML in XSLT is too
> fiddly), and a specific version of axis is required which conflicts with
> the one shipped in Orbeon.
>
> Adrian

--
Orbeon Forms - Web Forms for the Enterprise Done the Right Way
http://www.orbeon.com/



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: custom processor libraries?

Adrian Baker
Ok - perhaps this could be considered a possible desireable feature then? For example, if I need to talk to two different web services using different versions of axis.

Adrian

Erik Bruchez wrote:
The Axis library in Orbeon Forms is only used by the oxf:delegation processor. You may be able to drop a new library without any problem at all, but at worst this should only break oxf:delegation.

You can't have a library which is "private" to a processor. Everything is loaded by the same class loader.

-Erik

Adrian Baker wrote:
Is it possible to have specific libraries for a custom processor? More specifically, we have someone trying to write a  custom processor to talk to a web service (because constructing the WS XML in XSLT is too fiddly), and a specific version of axis is required which conflicts with the one shipped in Orbeon.

Adrian



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: custom processor libraries?

Erik Bruchez
Administrator
Yes, this has been hanging in the air for a very long time. The solution
is very likely OSGi / JSR-291:

http://www.osgi.org/blog/2006/02/jsr-291-dynamic-component-support-for.html

But don't hold your breath about seeing this in Orbeon Forms soon unless
somebody volunteers to implement it ;-)

-Erik

Adrian Baker wrote:

> Ok - perhaps this could be considered a possible desireable feature
> then? For example, if I need to talk to two different web services using
> different versions of axis.
>
> Adrian
>
> Erik Bruchez wrote:
>> The Axis library in Orbeon Forms is only used by the oxf:delegation
>> processor. You may be able to drop a new library without any problem
>> at all, but at worst this should only break oxf:delegation.
>>
>> You can't have a library which is "private" to a processor. Everything
>> is loaded by the same class loader.
>>
>> -Erik
>>
>> Adrian Baker wrote:
>>> Is it possible to have specific libraries for a custom processor?
>>> More specifically, we have someone trying to write a  custom
>>> processor to talk to a web service (because constructing the WS XML
>>> in XSLT is too fiddly), and a specific version of axis is required
>>> which conflicts with the one shipped in Orbeon.
>>>
>>> Adrian
>>

--
Orbeon Forms - Web Forms for the Enterprise Done the Right Way
http://www.orbeon.com/



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws