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.
so the basic idea is:
1. Define an interface (WSDL or named parameters for a post message)
2. Enable specifying the URL of the plugin in the context of the webapp
3. As part of the flow, call that URL with the defined format
Did I follow your thought?
It seems like an overhead in terms of
-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 files
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 files
and will load them
-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)
Another option is to implement your
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 external class from a
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 files and
rename it back)
2. When we provide a new version, we will replace the WAR and all the
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
plugins aren't really catered