|
From: nicolas de l. <nic...@gm...> - 2007-06-20 05:39:14
|
I'd suggest : - Best practices for application layered architecture and use of Design Level Assertions. I myself use to configure maven with multiple sub-projects for application layers. This allow to ensure clean separation and no cycles, but requires a more complex build process. Using aspectJ and DLA I now can ensure the code from com.myapp.web package doesn't make reference to org.hibernate.* and only use interfaces from com.myapp.persistence, not implementations (in com.myapp.persistence.hibernate). This makes the project really simpler to expose to junior developers, and quicker to build (thanks to incremental compilation in eclipse). Such package names conventions with well design DLA may be usefull on any project. You can have a look at my reference project structure (still in dev) at http://platina.svn.sourceforge.net/svnroot/platina/trunk/platina-quickstart/ DLAs are in src/main/aspect/ 2007/6/20, SpringHub.com <sba...@ya...>: > > > Hello Spring Community > > By Spring, it is meant not only the Spring Framework but all Spring > portfolio of projects: Spring Framework, Spring Web Flow (SWF), Spring > Security (ACEGI), Spring Rich Client Project (RCP), Spring Modules, > Spring.NET, Spring IDE, Spring Web Services, Spring Batch, Spring OSGi, > Spring LDAP, Spring Java Configuration and may be more to come in the > future. > > - Seen the tremendous benefits for the Spring Community and the > Java/J2EE/JEE/.NET communities at large to have a best practices guide for > developing applications using Spring Portfolio of projects... > - Seen that some recommendations for spring best practices are only > available piecemeal in some blogs, articles, books, presentations and > forums... > - Seen that even these piecemeal available best practices are not clearly > identified as such... > - Seen that what might be considered a best practice at a certain time > might > not still hold true with the new enhancements and capabilities being added > to the Spring Portfolio of projects... > - Seen the unavailability of such 'Spring Best Practices Guide' as of > today > June 17, 2007... > > I would like to propose a collaborative compilation of Spring Best > Practices > into a 'SPRING BEST PRACTICES GUIDE': > - Which includes Spring best practices shared by the Spring Community > - In which the best practices are validated by the committers to the > various > Spring Portfolio of projects and experts from the Spring community > - In which all Spring committers and contributors with Spring best > practices > will be acknowledged > - Which is available for FREE to the Spring community > - Kept current with new recommendations for Spring best practices as more > feedback is gathered from the Spring "trenches" and the Spring portfolio > of > projects gets more maturity > > Your contributions to share, with the Spring Community, best practices for > developing applications using Spring Framework and the Spring Portfolio of > projects are much appreciated. Examples of known Spring best practices: > 1. Best practices for using Setter injection versus Constructor injection? > 2. Best practices using XML files versus annotations for configuring > Spring > applications? > 3. Best practices when developing with Spring Web Flow? > 4. Best practices for using Spring OSGi? > ........ > > What Spring best practice would you like to share with the community? > > What do you propose to enhance this idea? > > Regards, > > Slim Baltagi > http://www.SpringHub.com > > -- > View this message in context: > http://www.nabble.com/Spring-Best-Practices-Guide...-tf3950103.html#a11206670 > Sent from the springframework-developer mailing list archive at Nabble.com > . > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Springframework-developer mailing list > Spr...@li... > https://lists.sourceforge.net/lists/listinfo/springframework-developer > |