J2EE Java Blueprints package/directory structure: best practice for common code?
- From: jsoftwaredev@xxxxxxxxx
- Date: Sat, 20 Oct 2007 16:14:43 -0700
I am working on several Java J2EE web applications using struts/
tomcat, and I have common Java code that I want to share between
multiple J2EE web apps.
Question: Is there a best practice for where common Java code should
be placed in the J2EE Java BluePrints package/directory structure?
http://java.sun.com/reference/blueprints/
Should this code be placed into a JAR file?
Or, is it OK to include the common source files as part of the build
for each app?
Would it make any sense to place the code under apps?
How about placing it in the root directory under src/java/com?
I'm just looking for ideas.
.
- Follow-Ups:
- Prev by Date: Re: does anyone know what version of Java comes with the new Mac OS X Leopard?
- Next by Date: Re: jndi database connection pool to slow ?
- Previous by thread: Comment trapper un evenement MouseEvent issu de javax.swing.plaf.basic.BasicTableUI$Handler
- Next by thread: Re: J2EE Java Blueprints package/directory structure: best practice for common code?
- Index(es):