I found that I'm able to eliminate 12 JARs by using the following
dependencies rather than xfire-all:
http://xfire.codehaus.org/Maven+GuideHowever, it still adds 28 JARs to the mix.
Matt
On 6/1/07, Jason Thrasher <jason@coachthrasher.com> wrote:
>
> Yes, I noticed that as well. I wonder what the bloat would be for Axis2,
> since there are already so many Apache jars in the war already? Jetty is
> MUCH slower with xfire, and seems to run out of PermGen faster when doing
> restarts.
>
> However, with Maven, just eclude the appfuse-service's dependancy (core
> module's pom.xml):
> <exclusion>
> <groupId>org.codehaus.xfire</groupId>
> <artifactId>xfire-all</artifactId>
> </exclusion>
>
> And include the javax.jws so the any services you do have will compile:
> <!-- let Java Web Services stuff compile, sans xFire -->
> <dependency>
> <groupId>javax.jws</groupId>
> <artifactId>jsr181</artifactId>
> <version>1.0</version>
> </dependency>
>
> That gets the WAR back down to around 20 MB.
>
> Jason
>
>
>
>
> mraible wrote:
> >
> > FYI... Just in case you haven't played with M5 yet.
> >
> > A Struts 2 basic application now has 92 JARs in its WEB-INF/lib
> > directory! Total size of directory: 32.5 MB.
> >
> > If I exclude xfire-all, it's 52 JARs and 19.1 MB.
> >
> > Does XFire take the cake for the most bloated library you can use or
> > are we just including too much (xfire-all vs. fine-grained
> > dependencies)?
> >
> > Total size of xfire-all: 40 JARs, 13.4 MB. Yikes!
> >
> > Matt
> >
> > --
> >
http://raibledesigns.com> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: dev-unsubscribe@appfuse.dev.java.net
> > For additional commands, e-mail: dev-help@appfuse.dev.java.net
> >
> >
> >
>
> --
> View this message in context:
http://www.nabble.com/JAR-Hell-with-XFire-in-M5-tf3855660s2369.html#a10924266> Sent from the AppFuse - Dev mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@appfuse.dev.java.net
> For additional commands, e-mail: dev-help@appfuse.dev.java.net
>
>
--
http://raibledesigns.com---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@appfuse.dev.java.net
For additional commands, e-mail: dev-help@appfuse.dev.java.net