geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kory Markevich <>
Subject Re: Eclipse Utility Projects with 2.1.2
Date Thu, 11 Sep 2008 18:11:16 GMT

Sure.  Basically you can include static jars in any web/connector/application
project, but that means that if you need to modify the code in that jar you
need to go through a manual compile and update step.  So instead of using a
static jar you create a utility project and reference that in any other
project that would have used the jar.  When Eclipse does it's automatic
compiling and publishing, the contents of the utility project become a jar
in the war/ear/rar as desired.

I can't tell you the exact way it bundles everything into the EAR though as
the only server I have installed is geronimo.

So my plan was to use a utility project for the custom login module code,
and to put the gbean specific stuff in the geronimo-application.xml.  I
think I can workaround this by putting the code into an EJB project, but
it's not as clean as there will be extra EJB baggage involved.

Going back to my last message, I don't think WTP has a concept to map to
geronimo-service (though I'm no WTP expert) while utility projects are
really just the Eclipse way to organize non-static jar's for an ear/war.

djencks wrote:
> On Sep 11, 2008, at 1:26 PM, Kory Markevich wrote:
> Do you have any idea what that means in non-eclipse-speak?  To me it  
> means nothing :-(
> in ee-land, you can have jars in an ear that are in the classpath of  
> everything in the ear (typically by putting them in the lib/ dir of  
> the ear).  Does this have anything to do with eclipse utility jars?

View this message in context:
Sent from the Apache Geronimo - Users mailing list archive at

View raw message