Hi Angel,

On Feb 21, 2007, at 1:21 PM, Angel Todorov wrote:
I stumbled over the Excalibur project while googling - is it possible
to use it in order to achieve inter webapp communication in a servlet
container such as Tomcat, without having to put all jars that the two
webapps use in a shared dir (i.e. shared classloader) ?

For communication between different web applications, your best bets probably are

  * both use the same database backend
  * use JNDI
  * use J2EE (sorry JEE) features like EJB for the shared data
  * communicate using something like RMI or AltRMI
* use some other communication protocol (servlets calling servlets for example)

Of these, I would probably suggest JNDI. Of course, it is possible to stuff things in an avalon container (like excalibur-fortress), and then stuff that container in a JNDI context. That's what I've usually done in the past :-)

We have experimented in the past with having servlet engines "on top of" avalon/excalibur containers, allowing to share blocks between them "the avalon way", but I don't think any of those efforts are currently actively maintained.

Thank you in advance.

hope this helps,

Leo


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to