When developing J2EE web applications I would typically organise my package structure in the following way
com.jameselsey.<applicationName>.
- Controller - Controllers/Actions go here
- Service - transactional service classes, called by Controllers
- Domain - My domain classes/objects that the application uses
- DAO - abstract DAO layer
- DAOImpl - implementing DAO layer, to make JPA/JDO/Hibernate switchable etc
- Utils - utility classes, anything generic I might want to use such as my own DateUtils etc
This allows me to keep my classes organised in locations specific to their roles/tasks.
Is there an equivalent for Android? I haven't been able to find any guidelines as yet, I'm looking for an adopted standard of package heirarchy/structuring
Thanks