The book Real World Java EE Night Hacks--Dissecting the Business Tier is available as softcover (print), Kindle (worldwide) hardware, kindle software reader (Win, Mac, Android, BlackBerry iPhone and iPad) and Adobe Digital Editions eBook (epub)
Real World Java EE Night Hacks dissects a plain vanilla Java EE 6 application "x-ray". It measures the traffic and statistics of this blog and comes with Roller 4 integration - just look at the right area to see it in action. With this post x-ray will the first time measure the popularity of itself :-). Real World Java EE Night Hacks includes coverage of:
- A brief introduction into the core principles of Java EE 6 (EJB 3.1, CDI, JPA, JTA,Dependency Injection, Convention over Configuration, interceptors, transactions, REST) using real world code
- Unit and integration testing of Java EE 6 applications using JUnit and ScalaTest
- Using interceptors for performance measuring and monitoring
- Creating mocks with Mockito for EJB 3.1, CDI, JPA, and JAX-RS
- Developing embedded integration tests with Arquillian
- Productive use of JAX-RS, Contexts and Dependency Injection, EJB 3.1, and JPA
- RESTful services and REST clients with Java EE 6
- Convention over Configuration with Java EE 6
- Effective component configuration with CDI and Convention over Configuration
- Plug-in implementation with CDI
- Transactional pub/sub without JMS based on CDI and EJB 3.1
- Continuous integration with Maven 3, Mercurial/Git, and Hudson/Jenkins
- Implementing configurable timers and asynchronous batch processing
- Eventual consistency and high-performance deferred writes with Java EE 6
- Real-time client and server monitoring with JMX and REST
- Functional testing with FitNesse
- Performing stress and load tests
- Simplest possible, but maintainable, Java EE 6 design and architecture
I will cover the topics in subsequent posts - so the content of the book will become more technical again :-). The source code was pushed into the GIT-repository: http://java.net/projects/x-ray.
All samples were tested with Glassfish v3 - v3.1, developed with Netbeans 7 and IntelliJ, built with Maven 3 / Hudson, managed by Mercurial / GIT, unit tested with JUnit / Scala Test, mocked with Mockito, functional tested with fitnesse, and quality-measured with SonarSource.
NEW workshop: Building HTML 5 Applications Without Frameworks, Full week in December 2016: from Java EE 7 Bootstrap, Effective, Architectures over Testing to Microservices
On demand workshops: Java EE 7: Bootstrap, Effective, Testing and Microservices available for streaming.