struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Leon Rosenberg" <rosenberg.l...@googlemail.com>
Subject Re: Java class package organization
Date Sun, 04 Jun 2006 10:23:12 GMT
<tld>.<company>.<project>.<module>.<layer>.<unit>:
<tld>.<company>.<project>.mail.presentation.action,
<tld>.<company>.<project>.mail.presentation.bean,
<tld>.<company>.<project>.mail.presentation.jsp,
<tld>.<company>.<project>.mail.business,
<tld>.<company>.<project>.mail.business.data,
<tld>.<company>.<project>.mail.persistence,
<tld>.<company>.<project>.mail.persistence.jdbc

and so on...
regards
Leon

On 6/4/06, Scott Van Wart <scott@indosoft.ca> wrote:
> How do you folks organize your package layout?  I went with
> com.<company>.<project>.action, .form, .bean, .db, etc for action
> classes, form beans, other beans, and database entities.  I have 32
> action classes defined, so naturally things are getting a little
> cluttered, and I'd prefer not to expand the package name any further.
> I'm not even close to finishing the project either, so I expect a lot
> more classes :).
>
> - Scott
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message