On Apr 2, 2008, at 6:22 PM, Matt Johnston wrote:
> Does the current version of resin support the @Remote functionality of
> EJB3? I looked at the documentation, but it was very sparse.
> I basically have an EJB3 that I want to share among all my web-apps
> within the same resin server. Each web-app is independent (each is
> on a
> separate domain name). How I can share my beans between each of
> these apps?
Those are actually different questions. In your case, you don't
really need to use @Remote, since it's all in the same server.
Resin's EJB support works in all of the Resin contexts: web-app, host,
cluster. So, if you configure your bean at the <cluster> level, it
will be available for all of your virtual hosts. If you configure it
at the <host> level, it will be available for all the web-apps in your
So, you might have something like:
(Or use <ejb-server/> instead of <ejb-session-bean/>.)
> Matt Johnston
> resin-interest mailing list
resin-interest mailing list