I guess that makes test suites fairly manageable too, right? I mean, I know you can compose them in a modular manner, but I hate looking at a project with over 300 classes, no matter how well they are organized with respect to packages and all that.
I was thinking of putting all my domain layer and a services layer (facade) into it's own package. The facade would probably have a superclass with hibernate in it to make it easy for specify services to extend it without worrying about the specifics of persistance too much (just nice 1 or 3-line calls depending on what you are doing). Basically I would call this 'appname-business.jar' or something like that. Then, I would include that jar file into the web application and have webwork actions call the services.
Do you think I'll have problems configuring hibernate inside the application server even though I'm building a jar file with the hibernate calls that is designed without the use of one?
|