I am using eclipse IDE with tomcat plugin. I find it very useful.But I have all 
classes in a single folder or package.I want to know how the business logic and action 
classes(controller) logic is organized (business objects or DAO's ). An example can 
help.

i have a context rp
the following is my layout

              /simple(context)
                 |
                 |
    _________________________________________________________________
    |                   |        |        |
 common                 |        |        |
(common jsp's         layouts  jsp's      WEB-INF
header,footer etc)       (jsp)              |
                                            |
                 _______________________________________
                 |     |     |        |      |
                 |     |     |        |      |
                lib    src  classes  dtd  xml's,tld's etc               
                                 |
                                 net(package net.company.*)
                                  |
                                company
                                  |
                              Action classes and business logic


I want to know how the business logic and action classes should be laid out.



Thanks for your help

help appreciated

kumar








---------- Original Message ----------------------------------
From: "David Graham" <[EMAIL PROTECTED]>
Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Date: Fri, 17 Jan 2003 15:37:44 -0700

>One thing that may help is using an IDE to generate this for you.  Eclipse 
>with the Tomcat plugin is a decent one.  I put all my business logic class 
>files in a jar and put it under /WEB-INF/lib.  Again, Eclipse with the 
>ZipCreator plugin is very useful for automating that process.
>
>David
>
>
>
>
>
>
>>From: "Vinay" <[EMAIL PROTECTED]>
>>Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
>>To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
>>Subject: Layout of code
>>Date: Fri, 17 Jan 2003 17:04:45 -0500
>>
>>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.
>>
>>Thanks
>>
>>Kumar
>
>
>_________________________________________________________________
>MSN 8 with e-mail virus protection service: 2 months FREE* 
>http://join.msn.com/?page=features/virus
>
>
>--
>To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
>For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
>
>

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to