Sharing Registry between Web-Apps

View: New views
2 Messages — Rating Filter:   Alert me  

Sharing Registry between Web-Apps

by Michael Link-5 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello,

I have two web apps deployed in Tomcat that contain HiveMind (1.1.1)
services. Now I want to call a service contained in web app 1 from a
service contained in web app 2. Is this possible at all or am I lost
because of the separate class loaders ? Could a custom ModuleProvider
help here ?

Best regards,

Michael

Re: Sharing Registry between Web-Apps

by Johan Lindquist :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Michael,

I have not tried this myself but my guess is that it the class-loaders
will require all service classes to be located at the same level (for
example shared/lib).

And if I understand the Tomcat class loading pages correctly, the
classes in the web app may still not be visible to the shared/lib class
loader.

Not much help I realize, but I would be curious about any progress you make.

Cheers,

Johan

Michael Link wrote:

> Hello,
>
> I have two web apps deployed in Tomcat that contain HiveMind (1.1.1)
> services. Now I want to call a service contained in web app 1 from a
> service contained in web app 2. Is this possible at all or am I lost
> because of the separate class loaders ? Could a custom ModuleProvider
> help here ?
>
> Best regards,
>
> Michael
>
>

- --
you too?
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGPyxA1Tv8wj7aQ34RAtePAKCQkG9hLgEK/2bCOOGq/a+HL/lIVQCbBeSH
+uJlmpMHWoqBrxV8ZcWkKIE=
=Didn
-----END PGP SIGNATURE-----