W
Wojtek
yawnmoth wrote :
I am working on a web applicatiob. Each use case has its own package.
It also has its own set of classes. To make maintenance easier, the
classes which perform the saame function have the same name. So each
use case has:
Command - business logic and the glue code between the database and the
other layers.
SQL - all the SQL code
Data - the data object which is passed around like a hot potato
Validate - validates user input
XXServlet - handles navigation and does command calls
XXPage - holds form fields
There are over 190 use cases.
A global import would cause havoc.
Is there a particular reason why Java doesn't automatically do "import
java.*" for all programs? It can be specified manually, but I'm just
wondering why Java doesn't already do it. Indeed, there are quite a
few Java apps that don't do this and, instead, import classes one
import statement at a time.
I am working on a web applicatiob. Each use case has its own package.
It also has its own set of classes. To make maintenance easier, the
classes which perform the saame function have the same name. So each
use case has:
Command - business logic and the glue code between the database and the
other layers.
SQL - all the SQL code
Data - the data object which is passed around like a hot potato
Validate - validates user input
XXServlet - handles navigation and does command calls
XXPage - holds form fields
There are over 190 use cases.
A global import would cause havoc.