Originally posted by Tonny Tssagovic:
[]I wanted to ask you ranchers about the best book from the j2ee architect/designer perspective. A book that helps a new j2ee programmer (that knows the API) make decisions about distributing the application�s logic in a robust multi-tier architecture. I have read a lot of reviews at Amazon.com and think that �Expert One-on-One J2EE Design and Development� seems to be the best.[/i]
Of the several J2EE books I've read through, I've been the most pleased with that one. Another useful good read is Bitter EJB -- so good that someone swiped it from my cube recently! However, I still haven't found a book that provided a complete overall architecture. You'll have to learn by applying what you read and
testing out designs. Create a very small domain model with the different types of relationships. From that you can build a framework that fits your style and needs.
Beyond books, my first piece of advice is to use XDoclet with
Ant or Maven or your
IDE. There's no point in doing grunt work that your tools can do for you, and do it perfectly every time. XDoclet has saved me countless hours. I've written many code generation tools before, once the tedium became too much to bear, and it is so very nice to have one already set up to do what I need.
I've recently gone through three varying designs for the EJB layer, shifting complexity to the framework to make stamping out new domain objects easier.
One final tip: Post during the book give-aways. I won the first two I had been in.