Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 1025503
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T11:56:15+00:00 2026-05-16T11:56:15+00:00

I started developing one Blog Website based on Hibernate and Struts. I was wondering

  • 0

I started developing one Blog Website based on Hibernate and Struts. I was wondering how to maintain the structure of the directory and files. That is, the presentation, hibernate DB access layers, controllers and business layers. Any suggestion?

Regards
Swar

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-16T11:56:15+00:00Added an answer on May 16, 2026 at 11:56 am

    I don’t think there is a single answer to this question but here is mine.

    For a simple project without strong modularity requirements, I would use a single project.

    For the project layout itself, I follow the Maven standard directory layout. For a webapp, this typically means something like this:

    .
    └── src
        ├── main
        │   ├── java            - Application/Library sources
        │   ├── resources       - Application/Library resources
        │   └── webapp          - Web application sources
        │       └── WEB-INF
        └── test
            ├── java            - Test sources
            └── resources       - Test resources
    

    And I would use java packaging naming conventions to organize classes from the various layers:

    • com.acme.<app>.<module>.web.action for struts actions
    • com.acme.<app>.<module>.web.forms : for struts form beans
    • com.acme.<app>.<module>.service : for business services interfaces and implementations
    • com.acme.<app>.<module>.bo : for the business objects
    • com.acme.<app>.<module>.dao : for DAO interfaces
    • com.acme.<app>.<module>.dao.hib : for Hibernate implementations of the DAOs

    But for a small application, I would just skip the functional <module> subdivision.

    Related questions

    • What strategy do you use for package naming in Java projects and why?
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've recently started developing applications for the Blackberry. Consequently, I've had to jump to
I am trying to get started developing using the .NET Micro Framework but appear
Using JDeveloper , I started developing a set of web pages for a project
I have found the Getting Started documents for developing apps on iPhone. I wanted
Our team is developing a rather big ASP.NET web project which initially started in
This is a weird problem I have started having recently. My team is developing
I started using subversion for one of my projects and it would be absolutely
I started trying to play with Mono, mostly for fun at the moment. I
I started an application in Google App Engine right when it came out, to
I started a Rails project recently and decided to use RESTful controllers. I created

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.