dev@glassfish.java.net

location/module/package for common code ...

From: Kedar Mhaswade <Kedar.Mhaswade_at_Sun.COM>
Date: Tue, 12 Jan 2010 16:11:15 -0800

I need to find a place where I can place some code that I think is of
common interest. What is the most appropriate place for this?
Note that this is purely utility code (dare I say, it's like apache
commons) and not API of any kind. My expectation is that this code
will be useful to both server and other clients (e.g. asadmin, admin
GUI, upgrade tool etc.)

Does v3/common/common-util sound right?

Does org.glassfish.util.<some-distinguishing-name> sound like
the correct package name?

We do have such code, but it is mostly under older package names
(com.sun.*) and the new hierarchy (org.glassfish) does not have a
package-info.java or package.html explaining what should go there.

Thanks for suggestions.