Hannes Lilljequist wrote:
I have two questions related to this. (Hope you don't mind if I borrow your thread...)

and me yours :-)


2.
If you, on the other hand, would place multiple sites under one server instance, the lib directory could easily become crowded, and there may also be namespace conflicts... Is there a way to have one lib directory for each context (other than making subdirectories of lib of course)? Should i NOT use lib under these circumstances?

i'm just getting started with webware, coming out of a java servlet environment (tomcat), where the convention is to have a single server handle multiple webapps. there is a webapps directory that contains a subdirectory for each webapp. each webapp has its own lib directory under its webapp subdirectory. there is also a common lib directory accessible to all webapps.


with webware, assuming one wants to use a single server instance, what is the convention for a) webapp subdirectories, and b) individual lib directories for each webapp?

currently, i do something like this:

- i create a webapps directory with MakeAppWorkDir, eg:

    /var/lib/webware/webapps

now there are a bunch of directories with application instance, config dir, etc. i've only created a single webapp so far, which i've put in a subdirectory:

    /var/lib/webware/webapps/mywebapp

and lib files for that app here:

    /var/lib/webware/webapps/lib


multiple webapps is not an issue yet but it certainly will be real soon. where do i put these new webapps? along-side my existing one? :


    /var/lib/webware/webapps/mywebapp
    /var/lib/webware/webapps/somecoolwebapp
    /var/lib/webware/webapps/heycheckoutthiswebapp

...? that looks messy with all the other server-specific directories in there too. should i put them all in a subdirectory of their own?

and what about separate lib dirs for each app? i don't necessarily develop each webapp at the same pace - i might need to use version 1.5 of my libraries with some, and version 1.6 with others.


thanks for cluing me in. in general, i'm having a pretty good time with python-based webapps.




-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
_______________________________________________
Webware-discuss mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webware-discuss

Reply via email to