You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by David Jencks <dj...@gluecode.com> on 2004/12/08 10:01:51 UTC

Suggestion for tomcat builder, was Re: jetty-deployer branch will be merged back to trunk shortly

On Dec 7, 2004, at 3:21 PM, Jacek Laskowski wrote:

> Alan D. Cabrera wrote:
>> While I agree that we should turn off the tests that break, should we 
>> also file a jira issue to make sure that they get turned back on 
>> again?
>
> +1
>
>> > 1. merge to trunk now and disable axis tests
>
> +1 (as I'm awaiting your changes to merge them to the tomcat builder)

I've been thinking about tomcat a bit, even though I know nothing 
whatsoever about what's inside:-)

The jetty builder really doesn't do anything jetty specific any more 
(except construct one set of redundant security info, that Alan and I 
are hoping to figure out a way to remove).  So, it might be possible to 
reuse the jetty builder for tomcat.  To do this we would need, for 
tomcat,

gbean for web application (JettyWebAppJACCContext)
gbean for servlet (JettyServletHolder)
gbean for filter (JettyFilterHolder)
gbean for filter mapping (JettyFilterMapping)

(I've put the jetty oriented gbean classes in for reference).

If the tomcat versions of these gbeans had the same attributes and 
references as the jetty ones, the only difference would be the classes 
to get the GBeanData objects from.  This is easy to parameterize.

thanks
david jencks

>
> Jacek
>


Re: Suggestion for tomcat builder, was Re: jetty-deployer branch will be merged back to trunk shortly

Posted by Dain Sundstrom <ds...@gluecode.com>.
Wow this is cool.  I really didn't think this would be possible without 
a big kudge hack :)

I'm excited to see the code.

-dain

On Dec 8, 2004, at 2:22 AM, Jacek Laskowski wrote:

> David Jencks wrote:
>
>> I've been thinking about tomcat a bit, even though I know nothing 
>> whatsoever about what's inside:-)
>
> So do I! :)
>
>> The jetty builder really doesn't do anything jetty specific any more 
>> (except construct one set of redundant security info, that Alan and I 
>> are hoping to figure out a way to remove).  So, it might be possible 
>> to reuse the jetty builder for tomcat.
>
> Sounds excellent.
>
>>  To do this we would need, for tomcat,
>> gbean for web application (JettyWebAppJACCContext)
>
> It's already done - not yet finished, but works. It's in 
> TomcatWebAppContext. I'm reviewing Jeff's changes pertaining to 
> security, so it may be that JAAC counterpart is also done.
>
>> gbean for servlet (JettyServletHolder)
>> gbean for filter (JettyFilterHolder)
>> gbean for filter mapping (JettyFilterMapping)
>
> These look fairly easy to implement as I think they should differ from 
> the Jetty ones. I'll be looking into it.
>
>> (I've put the jetty oriented gbean classes in for reference).
>> If the tomcat versions of these gbeans had the same attributes and 
>> references as the jetty ones, the only difference would be the 
>> classes to get the GBeanData objects from.  This is easy to 
>> parameterize.
>
> I keep focused on the features to see how far we can go with it.
>
>> david jencks
>
> Jacek


Re: Suggestion for tomcat builder, was Re: jetty-deployer branch will be merged back to trunk shortly

Posted by Jacek Laskowski <jl...@apache.org>.
David Jencks wrote:

> I've been thinking about tomcat a bit, even though I know nothing 
> whatsoever about what's inside:-)

So do I! :)

> The jetty builder really doesn't do anything jetty specific any more 
> (except construct one set of redundant security info, that Alan and I 
> are hoping to figure out a way to remove).  So, it might be possible to 
> reuse the jetty builder for tomcat.

Sounds excellent.

>  To do this we would need, for tomcat,
> 
> gbean for web application (JettyWebAppJACCContext)

It's already done - not yet finished, but works. It's in 
TomcatWebAppContext. I'm reviewing Jeff's changes pertaining to 
security, so it may be that JAAC counterpart is also done.

> gbean for servlet (JettyServletHolder)
> gbean for filter (JettyFilterHolder)
> gbean for filter mapping (JettyFilterMapping)

These look fairly easy to implement as I think they should differ from 
the Jetty ones. I'll be looking into it.

> (I've put the jetty oriented gbean classes in for reference).
> 
> If the tomcat versions of these gbeans had the same attributes and 
> references as the jetty ones, the only difference would be the classes 
> to get the GBeanData objects from.  This is easy to parameterize.

I keep focused on the features to see how far we can go with it.

> david jencks

Jacek