tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bruno Georges <>
Subject Re: Object sharing
Date Sat, 20 May 2006 08:39:22 GMT
By design I would use an EJB, this way you can also use proper security to comtrol access
to your bean. You can access the EJB from any webapps, wether it runs or not on the same server.
And you can also expose it as a web service.
Using JBoss you will have tomcat out of the box as well as transaction, security, etc....
And no license cost.

Hopes this helps.
Bruno Georges

Glencore International AG
Tel. +41 41 709 3204
Fax +41 41 709 3000

----- Original Message -----
From: "Arvind S." []
Sent: 19.05.2006 21:25
Subject: Object sharing


If a web application wants to access a object being used by another
web-application(with a different context root) running on the same
webserver, is that possible?

If yes, how can it be achieved?Through sharing attributes of ServletContext?
Will getting an attribute from the servletContext, return a copy of the
object or the reference itself?

Thanks & Regards

LEGAL DISCLAIMER. The contents of this e-mail and any attachments are strictly
confidential and they may not be used or disclosed by someone who is not a
named recipient.
If you have received this email in error please notify the sender by replying
to this email inserting the word "misdirected" as the message and delete this
e-mail from your system.

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message