Thanks Chris for your response.
It seems that you are thinking in the same direction that we had in mind.
About your suggestion to create a new class loader - this is the direction that
we started checking.
We considered the following:
1. Creating a new class, that extends WebappClassLoader.
2.
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Chuck,
On 7/7/2010 3:48 PM, Caldarale, Charles R wrote:
>> From: Christopher Schultz [mailto:ch...@christopherschultz.net]
>> Subject: Re: How to call an external class from a webapp (i.e. -
>> implement a plugin)
>>
> From: Christopher Schultz [mailto:ch...@christopherschultz.net]
> Subject: Re: How to call an external class from a webapp (i.e. -
> implement a plugin)
>
> Another option is to implement your own ClassLoader that
> scans a directory (such as /my/great/plugins) for JAR fil
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Goren,
On 7/6/2010 10:51 AM, Goren Il wrote:
> There are 2 issues (not in order of priority):
> 1. The steps are not straight forward, and may cause the system to stop
> working (the customer should change the WAR suffix to "zip", open it,
> add the
ing to learn from the experts here, if there would exist an efficient
and servlet-spec compatible way to implement such a mechanism in Tomcat.
On 06-Jul-10 18:15, Caldarale, Charles R wrote:
From: Goren Il [mailto:gore...@hotmail.com]
Subject: Re: How to call an external class from a weba
n terms of performance, but if there is no other
possibility - this is what we shall do.
Thanks
On 06-Jul-10 18:15, Caldarale, Charles R wrote:
From: Goren Il [mailto:gore...@hotmail.com]
Subject: Re: How to call an external class from a webapp (i.e. -
implement a plugin)
Aren't there oth
> From: Goren Il [mailto:gore...@hotmail.com]
> Subject: Re: How to call an external class from a webapp (i.e. -
> implement a plugin)
>
> Aren't there other webapps that have plugin capabilities?
The philosophy of the servlet spec is to have self-contained webapps, so
p
uot; with a particular web app?
-Original Message-
From: Goren Il [mailto:gore...@hotmail.com]
Sent: Monday, July 05, 2010 2:44 AM
To: users@tomcat.apache.org
Subject: How to call an external class from a webapp (i.e. - implement a
plugin)
I would like my webapp to call an external class, which will
What's wrong with providing instructions to the customer on how to
install the "plugin" with a particular web app?
-Original Message-
From: Goren Il [mailto:gore...@hotmail.com]
Sent: Monday, July 05, 2010 2:44 AM
To: users@tomcat.apache.org
Subject: How to call an extern
I would like my webapp to call an external class, which will be provided (as a
name) in an XML file at run time.
The external class will be developed by 3rd party, and might include additional
JARs.
I will refer to the external class and JARs as the "plugin".
My webapp is provided as a WAR, so
10 matches
Mail list logo