• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
  • Rob Spoor
  • Junilu Lacar
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
  • Carey Brown
Bartenders:

Project Folder hierarchy And Architecture

 
Ranch Hand
Posts: 50
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
dear all,

We are starting a new project for which we have decided to use the spring framework with struts and hibernate. Hibernate for orm, Spring for Business logic and struts for presentation and oracle for db.

Now i am confused on how to structure the folder hierarchy in this project and how i separate the layers?
should the business logic code should be separated into a new project and referred into this project, in development environment?
what things i should take care before this?
in one of our project previously developed we had the ejb codes separated as a new project in our development environment. is that a right way?

Thanks
V
 
Author
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
There's no "right" or "wrong" way--what's right (or wrong) depends on your requirements, development philosophy, and other non-technical things.
 
ranger
Posts: 17347
11
Mac IntelliJ IDE Spring
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Why not use the Maven standard directory approach. You might even find a Maven Archetype with Struts/Hibernate/Spring. Or at least one that is close.

You can get the Hibernate/Spring setup quickly too using Spring Roo. Just don't do the web setup part. Or you could do the websetup part then delete all the web files in your web directories.

Mark

 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic