View Full Version : Objects on server level
05-26-2010, 11:58 AM
Hi, is there any way to instance one object which will be available to all webApps? This considers an object on server level and all webapps can use it.
Yes, you can instantiate a bean at the <host> or <cluster> level and have it available to all webapps in the host or cluster. If you want a bean specifically on a certain server, you can do a <resin:if> using the server id. You can instantiate the bean using Resin's CanDI syntax:
vBulletin® v3.8.6, Copyright ©2000-2017, Jelsoft Enterprises Ltd.