tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "0 8" <0112...@gmail.com>
Subject Re: Create an object that's shared with multiple applications?
Date Wed, 09 Aug 2006 18:13:40 GMT
Pid,

I'm sure this is a stupid question but...what?  I don't follow.

I can store the object in a database?  I'm limited to SQL Server.
Does that matter?

On 8/9/06, Pid <p@pidster.com> wrote:
> put it in a database?
>
> 0 8 wrote:
> > Hello,
> >
> > I currently have a JSP application under Tomcat that uses an object
> > created when Tomcat starts up.  The object is created using a class
> > that implements ServletContextListener and I can call the object from
> > my JSPs.  All is well.
> >
> > Originally, I thought I could have one of these objects per
> > application.  But it turns out I can have only one per server.
> >
> > I've been doing some searching and looking through the documentation,
> > but I can't figure out how to do this.
> >
> > How can I create a single object when Tomcat starts up and access that
> > object from multiple web apps?
> >
> > Thanks,
> > Matt
> >
> > ---------------------------------------------------------------------
> > To start a new topic, e-mail: users@tomcat.apache.org
> > To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> > For additional commands, e-mail: users-help@tomcat.apache.org
> >
> >
> >
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message