I can't speak specifically to the question of multiple Axis jars in the various 
apps, but from a Beehive perspective we have discussed trying to make sure two 
separate scenarios could be possible:

1. packaging of Beehive runtime classes inside of applications.   The benefit 
here is that a single server can potentially run multiple applications using 
different versions of the runtime.  The price tag for this is memory (multiple 
copies of the same classes in different apps) and some potential maintenance 
pain (runtime jars in multiple places).   A model like this is likely better if 
consuming apps from a different org/group/... or producing them with intent to 
be used by a different org/group/... where synchronizing on versions can cause 
pain.

2. packaging of Beehive runtime classes as a system-level resource (aka system 
classpath or server global mechanisms).    Means only a single copy, so less 
memory reqts, easier update that impacts all applications, but at the price of 
ensuring all deployed apps are able to use the same version of the runtime.  
This is probably a better model if all apps on a server are "captive" 
(controlled by a single org/group).

Right now, I think we are mostly doing #1 (not sure if this is intentional or 
accidental :)... because it is relatively easy and lower risk to move from 
app-scoped to system-scoped (just add the runtime jars onto your system 
classpath to override app-scoped versions) than it is to go the other direction.

-- Kyle

> -----Original Message-----
> From: Davanum Srinivas [mailto:[EMAIL PROTECTED]
> Sent: Friday, October 29, 2004 6:26 AM
> To: Beehive Dev
> Subject: Many copies of jar's?
> 
> 
> May i ask why?
> 
> C:\APACHE.SVN\beehive\trunk>find . -name "ax*.jar"
> ./samples/PetStoreDashboard/lib/axis-ant.jar
> ./samples/PetStoreDashboard/lib/axis.jar
> ./samples/petstoreWeb/WEB-INF/lib/axis-ant.jar
> ./samples/petstoreWeb/WEB-INF/lib/axis.jar
> ./wsm/external/axis-ant.jar
> ./wsm/external/axis.jar
> ./wsm/samples/dropInDeployment/AddressBook/client/lib/axis-ant.jar
> ./wsm/samples/dropInDeployment/AddressBook/client/lib/axis.jar
> 
> Thanks,
> dims
> 
> -- 
> Davanum Srinivas - http://webservices.apache.org/~dims/
> 

Reply via email to