"Beginning Java EE 7" is not a collection of random tutorials. Instead this publication covers thoroughly pretty much every aspect of Java EE you might encounter on a daily basis:
- CDI (Contexts and Dependency Injection)
- JPA (Java Persistence API)
- EJB (Enterprise JavaBeans)
- JTA (Java Transaction API)
- JMS (Java Message Service)
- SOAP/REST/XML/JSON processing
- JSF (JavaServer Faces)
- ...and even more
This is the kind of publication that you will definitely not read from cover to cover but instead go back many times, cherry-picking technologies and details you want study. For example JPA is explained throughout as many as three chapters, I believe almost every annotation is described with concise example.
Being Kindle user I was rather disappointed with the quality of electronic edition. Page breaks in weird places, missing bullet points, unusual fonts. Luckily besides that I did not encountered any major shortcomings. I found few slightly broken code samples (mainly syntax errors), probably unavoidable in such a big book (?)
@Resourceand another with
@Injectannotations, a word of explanation what's the difference would be appreciated. Finally, suggesting pre-populating database globally before all tests is controversial. Some find this to be a poor practice since the test relies on data set up somewhere else, outside the actual test scenario, thus making them harder to maintain.
The language is understandable and pleasant to read. I was a bit uncomfortable though with the term "configuration by exception" used instead of more popular (?) "convention over configuration" - not to mention the word "exception" is a bit misleading. I didn't found any grammar issues, maybe except awkward looking "Constraint annotations are just regular annotations, so they must define meta-annotations" sentence.
I can honestly recommend this book to anyone from Java EE novice (as a general learning resource) to intermediate developers – to serve as a reference. It is not a quick and dirty tutorial but a comprehensive guide that will help you for years.
Tags: Java EE, books, ejb, review