Quantcast

Breakup the Jetty jar?

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Breakup the Jetty jar?

Greg Wilkins-5

I'm thinking of breaking up the jetty jar into smaller jars, so that
those that embed do not need the larger jars.

Here is the proposed break up and the sizes


jetty-util     - left as is

jetty          - the core jetty server with handlers
jetty-xml      - XML configuration, may be used standalone, or if jetty.xml or webapps are used.
jetty-servlet  - the servlet handler and associated components
jetty-webapp   - the configure a webapp with web.xml
jetty-ssl      - the ssl connectors (moved out of the security package)



thoughts?


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: Breakup the Jetty jar?

David Yu-3
That would be ideal gregw.
The jetty-servlet could belong together with the jetty handlers. (merged
in core)
Also, org.mortbay.resource.*, org.mortbay.xml.*,
org.mortbay.jetty.security.B64Code  could be in jetty-util.

Cheers,
dyu

Greg Wilkins wrote:

>
> I'm thinking of breaking up the jetty jar into smaller jars, so that
> those that embed do not need the larger jars.
>
> Here is the proposed break up and the sizes
>
>
> jetty-util     - left as is
>
> jetty          - the core jetty server with handlers
> jetty-xml      - XML configuration, may be used standalone, or if
> jetty.xml or webapps are used.
> jetty-servlet  - the servlet handler and associated components
> jetty-webapp   - the configure a webapp with web.xml
> jetty-ssl      - the ssl connectors (moved out of the security package)
>
>
>
> thoughts?
>
>
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
>
>    http://xircles.codehaus.org/manage_email
>
>
>


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: Breakup the Jetty jar?

Silvio Bierman
In reply to this post by Greg Wilkins-5
Hello Greg,

I am all for it. As an embedder I would only need util, core and the
servlet jars.

Silvio Bierman


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: Breakup the Jetty jar?

Jesse McConnell
In reply to this post by Greg Wilkins-5
I generally like the idea, would this just be on the jetty7 trunk?

> jetty-util     - left as is
>
> jetty          - the core jetty server with handlers
> jetty-xml      - XML configuration, may be used standalone, or if jetty.xml
> or webapps are used.

when you say standalone, are you meaning that it wouldn't require the
jetty or jetty-util modules in the classpath?

> jetty-servlet  - the servlet handler and associated components
> jetty-webapp   - the configure a webapp with web.xml
> jetty-ssl      - the ssl connectors (moved out of the security package)

we could also do the ssl package addition as well to fix up that osgi
packaging issue as well..

Based on Jan's questions about the packaging of distros and whatnot on
another thread, we could easily build a jetty-embeddable artifact that
packages up the various required dependencies into a single jar and
publish that artifact into the repo, would be good because we could
scrape out the static files that are not required either, like the
maven directory with the pom.xml file inside it.  Every K counts with
embedding and I think that would garner some goodwill from that
community :).  I think we could also do this based on the existing
jetty buildout but it would have to be some managed includes and
excludes statements to get the right class files into the right
place...would be much easier to manage that with clearly delineated
artfacts.

jesse


> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
>
>   http://xircles.codehaus.org/manage_email
>
>
>



--
jesse mcconnell
[hidden email]

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: Breakup the Jetty jar?

Tatu Saloranta
In reply to this post by Greg Wilkins-5
I agree with others that this seems like a good idea, as long as proper granularity is found (i.e. not splitting things for the sake of doing it).

-+ Tatu +-


--- On Mon, 9/29/08, Greg Wilkins <[hidden email]> wrote:

> From: Greg Wilkins <[hidden email]>
> Subject: [jetty-dev] Breakup the Jetty jar?
> To: "jetty-dev" <[hidden email]>
> Date: Monday, September 29, 2008, 9:02 PM
> I'm thinking of breaking up the jetty jar into smaller
> jars, so that
> those that embed do not need the larger jars.
>
> Here is the proposed break up and the sizes
>
>
> jetty-util     - left as is
>
> jetty          - the core jetty server with handlers
> jetty-xml      - XML configuration, may be used standalone,
> or if jetty.xml or webapps are used.
> jetty-servlet  - the servlet handler and associated
> components
> jetty-webapp   - the configure a webapp with web.xml
> jetty-ssl      - the ssl connectors (moved out of the
> security package)
>
>
>
> thoughts?
>
>
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
>
>     http://xircles.codehaus.org/manage_email


     

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Loading...