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 4614268
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T01:40:26+00:00 2026-05-22T01:40:26+00:00

what are best strategies to group classes in packages e.g. all managers in one

  • 0

what are best strategies to group classes in packages e.g. all managers in one package, all dao in another, would you recommend a different approach?

Any good strategies?

  • 1 1 Answer
  • 1 View
  • 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-22T01:40:27+00:00Added an answer on May 22, 2026 at 1:40 am

    Classes with same functionality should be put in a samepackage with the package name that justify their functionality and use.

    For Example:

    your.company.app.service
    

    Should contains all the service interface

    your.company.app.service.impl
    

    Should contains all the service implementation classes

    your.company.app.utils
    

    Should contains all the utility classes.

    From standard API

    java.lang   — basic language functionality and fundamental types
    java.util   — collection data structure classes
    java.io — file operations
    java.math   — multiprecision arithmetics
    java.nio    — the New I/O framework for Java
    java.net    — networking operations, sockets, DNS lookups, ...
    java.security   — key generation, encryption and decryption
    java.sql    — Java Database Connectivity (JDBC) to access databases
    java.awt    — basic hierarchy of packages for native GUI components
    javax.swing — hierarchy of packages for platform-independent rich GUI components
    java.applet — classes for creating an applet
    

    See

    • Package_naming_conventions
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I was wondering if people would share their best practices / strategies on handling
I formerly asked for a Best-Practice regarding this, But this is one the strategies
My application will have different strategies for my objects. What is the best way
What would be the best strategies to describe the following: 1) class A created
Could somebody recommend some of the best strategies they've used to populate items in
Best would be if it performs the highlighting exactly as it is in Visual
What are the best strategies for finding that missing semicolon that's causing the error?
I am looking for strategies, best practices and solutions to adding a custom class
I would like to find out which strategy is the best for links, forms
When fixing defects in new code what are the best strategies to use? cause

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.