On Fri, 17 Jan 2003, Vinay wrote:
> Date: Fri, 17 Jan 2003 17:04:45 -0500 > From: Vinay <[EMAIL PROTECTED]> > Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]> > To: Struts Users Mailing List <[EMAIL PROTECTED]> > Subject: Layout of code > > Hi all, > I have started developing a project using MVC architecture using > struts. I would like to know how to organize the application code in > Tomcat . I am using Tomcat 4.1.18 and struts 1.1b3. I would like to know > where the Presentation logic(JSP) should go ,Business Logic , Database > logic and Controller logic should go . I would like to know the package > or folder organization of a context or application should be laid out in > general.I am planning to use the dyna validator framework , for the > project so ActionForms will be used wherever necessary.Are there any > simple examples that will help in laying out the architecture. > > Help appreciated. For general directory layout things, as well as taking advantage of Tomcat's dynamic install/reload/remove functionality, check out the Application Developer's Guide that is shipped with Tomcat for my recommendations. It's in the "tomcat-docs" webapp that is included, or online: http://jakarta.apache.org/tomcat/tomcat-4.1-doc/appdev/ For package naming ideas, the Java Blueprints group recently published some useful suggestions: http://java.sun.com/blueprints/code/namingconventions.html > > Thanks > > Kumar Craig -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

