Here are some very good books on software craftsmanship, I can recommend everyone of them!
Clean Code (Robert C. Martin)
Working Effectively with Legacy Code (Michael Feathers)
Agile Java (Jeff Langr)
Test-Driven Development: By Example (Kent Beck)
Test Driven: Practical TDD and Acceptance TDD for Java Developers (Lasse Koskela)
Excellent books on how to write maintainable, testable, readable and production quality code. And they are cheap to buy, check your nearest www-book shop. Some ship even with an electronic copy!