I was just wondering if anyone else just sees integration tests as just a special unit test. I have, however, heard from other programmers that it is a good idea to separate your unit tests and integration test. I was wondering if someone could explain why this is a good idea. What sorts of advantages would there be to treating integr...
Hi
What is the common or best practice to structure the location of your exception classes?
Let's say you have the packages/namespaces myproject.person (models and DAOs for persons) and myproject.order (models and DAOs for orders) and the exceptions PersonException and OrderException. Should I put the exceptions in their corresponding ...
I am new to Java and am making a license generator. This is my current setup.
com.example.licensegenerator.client (used by the client application)
:LicenseLoader (no Main method)
:LicenseDownloader (no Main method)
com.example.licensegenerator.server.keys (used by the server)
:ProductKeyGenerator(Main method)
com.example.lic...
When developing J2EE web applications I would typically organise my package structure in the following way
com.jameselsey.<applicationName>.
Controller - Controllers/Actions go here
Service - transactional service classes, called by Controllers
Domain - My domain classes/objects that the application uses
DAO - abstract DAO layer
DAOIm...