0
votes
2answers
154 views

How to solve circular package dependencies

I am refactoring a large codebase where most of the classes are located in one package. For better modularity, I am creating subpackages for each functionality. I remember learning somewhere that a ...
4
votes
3answers
331 views

What should I use for a package name if I don't have a domain? [duplicate]

Possible Duplicate: What is the point of Java’s package naming convention? What package name to choose for a small, open-source Java project? I write Java (and derivative languages with ...
2
votes
2answers
282 views

What package name to choose for a small, open-source Java project?

I'd like to publish a small open-source library in Java. I wonder what package name should I choose? I'm not a company and I don't have a domain that I could use as the basis for naming the package ...
4
votes
3answers
552 views

Why we don't import a package while we use String functions?

I asked myself why we didn't import a package while we use String functions such as toUpperCase()? How they get in there without importing packages?
2
votes
1answer
333 views

Package conventions for MVC app [closed]

Which (if either) of the below is the more conventional/acceptable way to structure packages in a J2EE app? I'm trying to follow an MVC pattern as much as possible. foo.bar.users ...
2
votes
6answers
319 views

How do I choose a package format for Linux software distribution?

We have a Java-based application that, to date, we've been distributing as a tarball with instructions for deploying. It's mostly self-contained so deployment is fairly straight-forward: Untar on ...
12
votes
3answers
973 views

What is the point of Java's package naming convention?

I don't understand why Java uses the reverse of a (probably hypothetical) domain name as the name of a package, while mostly there is no connection between the domain name that some people uses and ...
4
votes
2answers
721 views

Abstract classes in package structure

I have an abstract class that will have many implementors. There are, of course, many places to put abstract classes in a Java package structure. Should the abstract class be in the same package as ...