Re: [Webware-discuss] several questions about webware

2005-02-02 Thread lloyd
Ben Parker wrote: Webware developers tend to think of separate contexts as separate applications, but they are definitely not. Once you understand the relationship, you can hand-wave it and go about building your app, most likely ignoring contexts entirely aside from the one you set up to contain t

RE: [Webware-discuss] several questions about webware

2005-02-01 Thread Ben Parker
lloyd wrote: > Ben Parker wrote: > > Contexts are really thin in Webware/WebKit right now. I mean > really thin. > > The only time they've come into play for me is acting as a > container for how > > WebKit instantiates servlets. Unless you do a lot of > intra-context servlet > > inheriting, you've

Re: [Webware-discuss] several questions about webware

2005-02-01 Thread lloyd
Ben Parker wrote: Contexts are really thin in Webware/WebKit right now. I mean really thin. The only time they've come into play for me is acting as a container for how WebKit instantiates servlets. Unless you do a lot of intra-context servlet inheriting, you've probably never had occasion to read

RE: [Webware-discuss] several questions about webware

2005-01-31 Thread jose
is helps. Jose > Original Message -------- > Subject: Re: [Webware-discuss] several questions about webware > From: "Sam Nilsson" <[EMAIL PROTECTED]> > Date: Mon, January 31, 2005 12:24 am > To: "jose" <[EMAIL PROTECTED]> > > jose wrote: > > I find

RE: [Webware-discuss] several questions about webware

2005-01-31 Thread Ben Parker
development version. Too busy developing with the last production version. :) > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Behalf Of John > Dickinson > Sent: Monday, January 31, 2005 7:51 AM > To: Winston Wolff > Cc: webware-discuss@l

Re: [Webware-discuss] several questions about webware

2005-01-31 Thread andrea
lloyd wrote: (...) i have the opportunity, an unrelated question (which may stem from my conception of contexts as isolated applications): in servlets, is it possible (or even desirable) to have paths interpreted relative to the context root? eg, using the example above, when i reference a chee

Re: [Webware-discuss] several questions about webware

2005-01-31 Thread John Dickinson
I suppose several directories in one context would do about the same thing. I'm not sure that a context does anything special per se, but grouping several applications under one webware instance eases administration--only one server to restart/maintain, don't have to deal with opening/setting u

Re: [Webware-discuss] several questions about webware

2005-01-31 Thread Winston Wolff
Hi John- I'm curious about what the context does for you that you like? I'm wondering if you just had different directories inside one context, wouldn't that be about the same as different contexts? idea (and if it really is a bad idea, I'd love to know why), but it seems to I don't see it as

Re: [Webware-discuss] several questions about webware

2005-01-31 Thread John Dickinson
these questions are based on my recent experiences with webware 0.8.1 1) is there a facility for running code on server start-up, and storing application-wide data (eg, say, a database connection pool manager)? There is a DBPool module included in Webware, but it has been expanded upon. Look th

Re: [Webware-discuss] several questions about webware

2005-01-31 Thread michelts
> > 3) are there examples or documentation for using webware, > > formkit, and > > cheetah together in an optimal way? You can use the inheritance approach, as Jose, I have a base servlet, but I not extend Page, I extend Cheetah.Template, this base servlet has some special methods to save my life.

Re: [Webware-discuss] several questions about webware

2005-01-31 Thread deelan
lloyd wrote: (...) i have the opportunity, an unrelated question (which may stem from my conception of contexts as isolated applications): in servlets, is it possible (or even desirable) to have paths interpreted relative to the context root? eg, using the example above, when i reference a chee

RE: [Webware-discuss] several questions about webware

2005-01-30 Thread jose
> -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of lloyd > Sent: Saturday, January 29, 2005 12:30 PM > To: webware-discuss@lists.sourceforge.net > Subject: [Webware-discuss] several questions about webware > > > hello all - > > > these question

Re: [Webware-discuss] several questions about webware

2005-01-30 Thread Winston Wolff
it might just be a difference in architecture. i still don't quite get how the server and applications/contexts relate to each other in webware. I'm not sure of the original intention for contexts either. Ian Bicking said they wanted to allow different configuration settings in different cont

Re: [Webware-discuss] several questions about webware

2005-01-30 Thread lloyd
Winston Wolff wrote: 2) in a java servlet container like tomcat, each context is analagous to a separate application. in webware, this separation doesn't seem to exist. each context appears to be, basically, just a mapping of a URL segment to a directory. should i run a separate application

Re: [Webware-discuss] several questions about webware

2005-01-29 Thread Winston Wolff
On Jan 29, 2005, at 3:29 PM, lloyd wrote: 1) is there a facility for running code on server start-up, and storing application-wide data (eg, say, a database connection pool manager)? I don't know, but what I do is have my page base class create some singletons when first instantiated. That is,

Re: [Webware-discuss] several questions about webware

2005-01-29 Thread Sam Nilsson
lloyd wrote: hello all - these questions are based on my recent experiences with webware 0.8.1 1) is there a facility for running code on server start-up, and storing application-wide data (eg, say, a database connection pool manager)? 2) in a java servlet container like tomcat, each context is a