|
From: Ryan J. M. <ry...@da...> - 2008-07-09 12:31:19
|
On Jul 9, 2008, at 5:49 AM, Martin Algesten wrote: > > I just ran into a snag here. I'm working on the pom.xml > straightening out the dependencies. When depending on resteasy-jaxrs > we currently pull in things like tjws and httclient. Basically I > want all dependencies that are not required to fulfil the spec to be > optional and not pulled in. > > This will require some work in RegisterBuiltin.java since it > currently registers all providers whether optional or not. > > Required by spec: > ByteArrayProvider > DefaultTextPlain > DataSourceProvider > FormUrlEncodedProvider > InputStreamProvider > JAXBProvider > StringTextStar > > (are we missing providers for Reader, File and > javax.xml.transform.Source?) > Yes. I am working on Source now. File is bit odd IMHO and warrents some more discussion. > Optional: > DataContentProvider (not in use, delete?) No, don't delete. This is still a WIP and it's being considered as required by JAX-RS. > IIOImageProvider This provider has no deps other than the JDK itself. I'd say leave it because it can come in handy and it's add no additional dependency. > JettisonProvider Leave, everyone wants JSON. RESTlet and Jersey will ship this by default. > MimeMultipartProvider Not required, but very much needed. RESTlet and Jersey will ship this by default. > StreamingOutputProvider StreamingOutput is required. It's at the top of page 22 in the latest spec. > > M > > > On 8 Jul 2008, at 15:58, Bill Burke wrote: > >> Maybe a separate download/distro for optional providers? >> >> Ryan J. McDonough wrote: >>> -----BEGIN PGP SIGNED MESSAGE----- >>> Hash: SHA1 >>> >>> I had a few more ideas for some other provider types and I realized >>> that if we're not carful about, we could get fat really quickly. >>> Here's a few provider ideas that Bill and I tossed around on this >>> list: >>> >>> POI provider >>> SVG Provider >>> PGP/GPG Provider >>> >>> Given these 3 alone, we now have dependencies on the following >>> projects: >>> >>> Jakarta POI >>> Apache Batik >>> Bouncy Castle or other PGP api >>> >>> It got me thinking: should we have an optional provider module(s)? >>> Personally, I don't care. I think we've have the value-add of tons >>> of >>> kick-ass providers with no fuss, it wouldn't matter. But you know >>> inevitably, there'd be a TSS article or collection of blog posts >>> about >>> how bloated RESTEasy is so bloated, yada yada yada. Does anyone else >>> think this is a potential issue that we may want to address sooner >>> than later? >>> >>> Ryan- >>> -----BEGIN PGP SIGNATURE----- >>> Version: GnuPG v1.4.7 (Darwin) >>> >>> iD8DBQFIc2VPK/xjmUY6JwURAqFAAKCBdgm+Rcz7Yg2jXLViRoVACRjKBwCgkweF >>> CRyFIK8Gpu9B2FwzNs+vE+w= >>> =fWJM >>> -----END PGP SIGNATURE----- >>> >>> ------------------------------------------------------------------------- >>> Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! >>> Studies have shown that voting for your favorite open source >>> project, >>> along with a healthy diet, reduces your potential for chronic >>> lameness >>> and boredom. Vote Now at http://www.sourceforge.net/community/cca08 >>> _______________________________________________ >>> Resteasy-developers mailing list >>> Res...@li... >>> https://lists.sourceforge.net/lists/listinfo/resteasy-developers >> >> -- >> Bill Burke >> JBoss, a division of Red Hat >> http://bill.burkecentral.com >> >> ------------------------------------------------------------------------- >> Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! >> Studies have shown that voting for your favorite open source project, >> along with a healthy diet, reduces your potential for chronic >> lameness >> and boredom. Vote Now at http://www.sourceforge.net/community/cca08 >> _______________________________________________ >> Resteasy-developers mailing list >> Res...@li... >> https://lists.sourceforge.net/lists/listinfo/resteasy-developers > > ------------------------------------------------------------------------- > Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! > Studies have shown that voting for your favorite open source project, > along with a healthy diet, reduces your potential for chronic lameness > and boredom. Vote Now at http://www.sourceforge.net/community/cca08_______________________________________________ > Resteasy-developers mailing list > Res...@li... > https://lists.sourceforge.net/lists/listinfo/resteasy-developers |