I am a newbie to both Java and Tapestry.  As I want to learn both I have 
decided to create my first application using the framework. This will be a 
family tree application that I will want to make available to my family over 
the internet (so will require some [limited] security).

My setup is linux, running apache2 with jkmod connecting to tomcat sitting 
behind (but on the same machine).  I am currently serving content exclusively 
from Apache - as a set of ip based virtual hosts to allow separate internal 
and external web sites for my house.

This family tree application will probably sit at url 
http://www.chandlerfamily.org.uk/famtree/, so I think that is relatively easy 
to manage - I will just have the whole application loaded 
at /var/lib/tomcat4/webapps/famtree (filesystem - where /var/lib/tomcat4 is 
the root of tomcats installation), and jkmount /famtree in my apache 
configuration file. [and I assume I cannot use apache2 authentication (since 
this works only on <directory> blocks not <location>), but will have to use 
tomcat's container managed security (although not sure how to do this yet).  
I am hoping that I do not have to use any programatic security with tapestry 
and as a result can run stateless for the complete application.]

So my tapestry questions -

1) I want to think for the future when more of the web site will contain 
tapestry applications.  I therefore want to make a library component for the 
border of the site which contains a menu to different parts of the site, and 
a header image, and copyright statement etc.  This wants to live outside of 
the context of /famtree - so that it can be accessed by other applications.  
I assume for famtree I can put a <library> reference in my application 
specification, but

a) Where in the filesystem should I place this, and
b) In which namespace ( filesystem, tomcat webapp, apache directory, apache 
location ...) is the specification-path attribute

1) I think I would prefer that standard stuff like stylesheets and the image 
for the header page is served directly from apache rather than tomcat. I 
assume the library component refered to above would therefore have a 
<context-asset> item somewhere in the library specification but where can I 
physically locate these assets in the filesystem, and which namespace do I 
use to refer to them? 
-- 
Alan Chandler
http://www.chandlerfamily.org.uk

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to