On Jun 13, 1:15 pm, Christian Beil <[email protected]> wrote:
> What is your opinion on that? I'm especially interested in what you
> think about structuring packages? Do youpackageby layer (ie
> dao,service,controller,...) or do youpackagebyfeature?

I think the IDE should let you tag stuff,  so you can use the view
that makes the most sense for whatever it is you are doing. So the
packages could be by feature, but you could use the Controller,
Repository, Service, etc. tag to view things in layers. Maybe the tags
could even be derived directly from EJB3 or Spring annotations.

This is kind of like the "where should private methods go?" debate: at
the end of the file, or close to where they are used? If the IDE could
give you a view that gives a good view of the method and the methods
it uses, this wouldn't be an issue.

Mwanji
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "The 
Java Posse" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/javaposse?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to