Re: Multiple Tapestry Applications

2007-11-15 Thread Pablo Ruggia
I understand the potential confusions of doing this kind manipulation.
The application that I'm talking about is not a tapestry application, it's
an already existent application in which you can add modules as jar files as
there were plugins.
My intention was to add some tapestry applications. I've already wrote a
custom ISpecificationSourceDelegate and ApplicationServlet to look for the
files in the classpath, it seems like it's working ok, I only wanted to know
if there is a known issue.

Thanks for your replies !

On Nov 13, 2007 7:54 PM, Howard Lewis Ship <[EMAIL PROTECTED]> wrote:

> This feature is available for Tapestry 4, but it creates extra
> ambiguities about where each file belongs.  You end up with extra
> folders in the web context root and under WEB-INF, named after each
> application (derived from the application servlet name).  So if you
> have app "user" and app "admin" you put user application files in
> /user and /WEB-INF/user and admin-specific application files in /admin
> and /WEB-INF/admin.  Anything in / will be kind of
> shared/cloned/duplicated between the two applications.  It's not for
> the feint-hearted.
>
> I have to question what kind of app would require this, where it
> couldn't be combined into a single app (with security) or a pair of
> WARS (i.e., user.war and admin.war).
>
> Tapestry 5 is firmly in the one-app-per-WAR camp and it would take an
> overwhelming argument to change.
>
> On Nov 13, 2007 11:02 AM, Jesse Kuhnert <[EMAIL PROTECTED]> wrote:
> > I think it's possible yes.   Can't say as I know what runtime issues
> > you may have but do think I've seen it done.
> >
> >
> > On Nov 13, 2007 7:23 AM, Pablo Ruggia <[EMAIL PROTECTED]> wrote:
> > > Sorry, may have not been clear enough.
> > > I need to have a single WAR with to Tapestry servlets configured
> inside,
> > > each one with it's own .application.
> > > Thanks !
> > >
> > >
> > > On Nov 12, 2007 8:10 PM, Omar Valerio <[EMAIL PROTECTED]> wrote:
> > >
> > > > Well, not in a single WAR. What you need is to built an *EAR*
> (Enterprise
> > > > Application Archive), and package inside there the WAR's of your
> tapestry
> > > > developed applications.. What it is important to note is that WAR is
> an
> > > > standard for a web application developed by Sun for the Java server
> side
> > > > technology like Tapestry.
> > > >
> > > > cheers,
> > > > ovm
> > > >
> > > > On Nov 12, 2007 12:06 PM, Pablo Ruggia <[EMAIL PROTECTED]> wrote:
> > > >
> > > > > Hi !
> > > > > Is it possible to run multiple Tapestry Applications in the same
> Web
> > > > > Application (same war).
> > > > > Are there any known issues doing so, like Hivemind Registry
> clashes or
> > > > > some
> > > > > singletons that the applications will have to share, etc ...
> > > > > Thanks in advance.
> > > > >
> > > >
> > >
> >
> >
> >
> > --
> > Jesse Kuhnert
> > Tapestry/Dojo team member/developer
> >
> > Open source based consulting work centered around
> > dojo/tapestry/tacos/hivemind. http://blog.opencomponentry.com
> >
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
>
>
> --
> Howard M. Lewis Ship
> Partner and Senior Architect at Feature50
>
> Creator Apache Tapestry and Apache HiveMind
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


Re: Multiple Tapestry Applications

2007-11-13 Thread Howard Lewis Ship
This feature is available for Tapestry 4, but it creates extra
ambiguities about where each file belongs.  You end up with extra
folders in the web context root and under WEB-INF, named after each
application (derived from the application servlet name).  So if you
have app "user" and app "admin" you put user application files in
/user and /WEB-INF/user and admin-specific application files in /admin
and /WEB-INF/admin.  Anything in / will be kind of
shared/cloned/duplicated between the two applications.  It's not for
the feint-hearted.

I have to question what kind of app would require this, where it
couldn't be combined into a single app (with security) or a pair of
WARS (i.e., user.war and admin.war).

Tapestry 5 is firmly in the one-app-per-WAR camp and it would take an
overwhelming argument to change.

On Nov 13, 2007 11:02 AM, Jesse Kuhnert <[EMAIL PROTECTED]> wrote:
> I think it's possible yes.   Can't say as I know what runtime issues
> you may have but do think I've seen it done.
>
>
> On Nov 13, 2007 7:23 AM, Pablo Ruggia <[EMAIL PROTECTED]> wrote:
> > Sorry, may have not been clear enough.
> > I need to have a single WAR with to Tapestry servlets configured inside,
> > each one with it's own .application.
> > Thanks !
> >
> >
> > On Nov 12, 2007 8:10 PM, Omar Valerio <[EMAIL PROTECTED]> wrote:
> >
> > > Well, not in a single WAR. What you need is to built an *EAR* (Enterprise
> > > Application Archive), and package inside there the WAR's of your tapestry
> > > developed applications.. What it is important to note is that WAR is an
> > > standard for a web application developed by Sun for the Java server side
> > > technology like Tapestry.
> > >
> > > cheers,
> > > ovm
> > >
> > > On Nov 12, 2007 12:06 PM, Pablo Ruggia <[EMAIL PROTECTED]> wrote:
> > >
> > > > Hi !
> > > > Is it possible to run multiple Tapestry Applications in the same Web
> > > > Application (same war).
> > > > Are there any known issues doing so, like Hivemind Registry clashes or
> > > > some
> > > > singletons that the applications will have to share, etc ...
> > > > Thanks in advance.
> > > >
> > >
> >
>
>
>
> --
> Jesse Kuhnert
> Tapestry/Dojo team member/developer
>
> Open source based consulting work centered around
> dojo/tapestry/tacos/hivemind. http://blog.opencomponentry.com
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>



-- 
Howard M. Lewis Ship
Partner and Senior Architect at Feature50

Creator Apache Tapestry and Apache HiveMind

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



Re: Multiple Tapestry Applications

2007-11-13 Thread Jesse Kuhnert
I think it's possible yes.   Can't say as I know what runtime issues
you may have but do think I've seen it done.

On Nov 13, 2007 7:23 AM, Pablo Ruggia <[EMAIL PROTECTED]> wrote:
> Sorry, may have not been clear enough.
> I need to have a single WAR with to Tapestry servlets configured inside,
> each one with it's own .application.
> Thanks !
>
>
> On Nov 12, 2007 8:10 PM, Omar Valerio <[EMAIL PROTECTED]> wrote:
>
> > Well, not in a single WAR. What you need is to built an *EAR* (Enterprise
> > Application Archive), and package inside there the WAR's of your tapestry
> > developed applications.. What it is important to note is that WAR is an
> > standard for a web application developed by Sun for the Java server side
> > technology like Tapestry.
> >
> > cheers,
> > ovm
> >
> > On Nov 12, 2007 12:06 PM, Pablo Ruggia <[EMAIL PROTECTED]> wrote:
> >
> > > Hi !
> > > Is it possible to run multiple Tapestry Applications in the same Web
> > > Application (same war).
> > > Are there any known issues doing so, like Hivemind Registry clashes or
> > > some
> > > singletons that the applications will have to share, etc ...
> > > Thanks in advance.
> > >
> >
>



-- 
Jesse Kuhnert
Tapestry/Dojo team member/developer

Open source based consulting work centered around
dojo/tapestry/tacos/hivemind. http://blog.opencomponentry.com

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



Re: Multiple Tapestry Applications

2007-11-13 Thread Pablo Ruggia
Sorry, may have not been clear enough.
I need to have a single WAR with to Tapestry servlets configured inside,
each one with it's own .application.
Thanks !

On Nov 12, 2007 8:10 PM, Omar Valerio <[EMAIL PROTECTED]> wrote:

> Well, not in a single WAR. What you need is to built an *EAR* (Enterprise
> Application Archive), and package inside there the WAR's of your tapestry
> developed applications.. What it is important to note is that WAR is an
> standard for a web application developed by Sun for the Java server side
> technology like Tapestry.
>
> cheers,
> ovm
>
> On Nov 12, 2007 12:06 PM, Pablo Ruggia <[EMAIL PROTECTED]> wrote:
>
> > Hi !
> > Is it possible to run multiple Tapestry Applications in the same Web
> > Application (same war).
> > Are there any known issues doing so, like Hivemind Registry clashes or
> > some
> > singletons that the applications will have to share, etc ...
> > Thanks in advance.
> >
>


Re: Multiple Tapestry Applications

2007-11-12 Thread Omar Valerio
Well, not in a single WAR. What you need is to built an *EAR* (Enterprise
Application Archive), and package inside there the WAR's of your tapestry
developed applications.. What it is important to note is that WAR is an
standard for a web application developed by Sun for the Java server side
technology like Tapestry.

cheers,
ovm

On Nov 12, 2007 12:06 PM, Pablo Ruggia <[EMAIL PROTECTED]> wrote:

> Hi !
> Is it possible to run multiple Tapestry Applications in the same Web
> Application (same war).
> Are there any known issues doing so, like Hivemind Registry clashes or
> some
> singletons that the applications will have to share, etc ...
> Thanks in advance.
>


Multiple Tapestry Applications

2007-11-12 Thread Pablo Ruggia
Hi !
Is it possible to run multiple Tapestry Applications in the same Web
Application (same war).
Are there any known issues doing so, like Hivemind Registry clashes or some
singletons that the applications will have to share, etc ...
Thanks in advance.


T4: Multiple Tapestry Applications

2007-11-12 Thread Pablo Ruggia
Hi !
Is it possible to run multiple Tapestry Applications in the same Web
Application (same war).
Are there any known issues doing so, like Hivemind Registry clashes or some
singletons that the applications will have to share, etc ...
Thanks in advance.