There is also this

> How can I share data across two Tapestry applications?
>
> Even if you're running two Tapestry applications within the same
> Application Server (i.e. Tomcat) you can't share data between them within
> the Application Server. You can merge the two applications together into one
> application and then share data through singleton objects within the
> Application Server. Alternatively the two applications can share data at a
> lower level common level, i.e. the operating system (message passing) or a
> database.
>
> HowardLewisShip <http://wiki.apache.org/jakarta-tapestry/HowardLewisShip>:
> It is possible to have two different applications within the same WAR, never
> mind, EAR, in which case, singletons can be stored in the 
> ServletContext<http://wiki.apache.org/jakarta-tapestry/ServletContext>.
> If you *carefully* check the specification and template file resolution
> rules (in the Users Guide), you can see how to keep the pieces seperate from
> each other. However, this is not widely used and there's a possibility it
> won't make it into Tapestry 3.1.
>
from the 
wiki.<http://wiki.apache.org/jakarta-tapestry/MoreFrequentlyAskedQuestions>It
seems it needs to be clarified and updated, since the tap app is a
servlet, access to the servletcontext should be the way to share between
apps.
Adam

On 08/12/05, Diego <[EMAIL PROTECTED]> wrote:
>
> Ok, thank. Found the problem, and old libery from cvs put in.
>
> Diego
>
> On 12/5/05, Konstantin Ignatyev <[EMAIL PROTECTED]> wrote:
> >
> > If there are no hard coded resource patches or
> > anything hard coded to a particular web context name
> > (and there should not) then Tapestry webapp is not
> > different than any other webapp and there might be
> > many deployed in parallel.
> >
> >
> >
> > --- Diego <[EMAIL PROTECTED]> wrote:
> >
> > > Is it possible to have muliple instances of the same
> > > application on the same
> > > server?
> > >
> > > I want to make a demo site that is running on the
> > > same server (JBoss) as the
> > > live application.
> > > At the moment i am using Tapestry 3.0.3 with some
> > > hivemind services.
> > >
> > > Regards,
> > > Diego
> > >
> >
> >
> > Konstantin Ignatyev
> >
> >
> >
> >
> > PS: If this is a typical day on planet earth, humans will add fifteen
> > million tons of carbon to the atmosphere, destroy 115 square miles of
> > tropical rainforest, create seventy-two miles of desert, eliminate
> between
> > forty to one hundred species, erode seventy-one million tons of topsoil,
> add
> > 2,700 tons of CFCs to the stratosphere, and increase their population by
> > 263,000
> >
> > Bowers, C.A.  The Culture of Denial:  Why the Environmental Movement
> Needs
> > a Strategy for Reforming Universities and Public Schools.  New
> York:  State
> > University of New York Press, 1997: (4) (5) (p.206)
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
>

Reply via email to