By arungupta on Jul 18, 2013
The Java EE 7 SDK provides a comprehensive set of samples for different technologies - both new and updated. They are very nicely documented, runs using Maven + using Cargo, and demonstrate a good usage of the different APIs.
The question I get typically asked is "how do you learn all these APIs and technologies ?".
The SDK samples, reading specifications, and whitboarding with specification leads is indeed a big source of my learning. But I need to write my own code, simple "hello world" style samples that demonstrates point usage of different APIs. I truly believe in "let the code talk" and have given several slide-free code-driven session on Java EE 7 around the world. The source for these talks is about 100+ samples I've written over the past few months.
All of these samples are now available at: github.com/arun-gupta/javaee7-samples
They are all Maven-based projects and have no documentation at all. However they are logically arranged by technologies and I've tried to give intuitive names to the directories. I don't intend to write any documentation so please don't ask for it ;-) But at least now you've access to all the samples.
Here is the complete list of samples at this time:
Will continue to add more as I dig into other pieces. I gave a 3-hour presentation explaining some of these samples at UberConf and captured the screen during the session. Those two-part videos are available.
The first part covers:
- WebSocket 1.0
- Batch 1.0
- JSON Processing 1.0
- Java Persistence API 2.1
The second part covers:
- JavaServer Faces 2.2
- Java API for RESTful Web Services 2.0
- Java Message Service 2.0
- Java Transaction API 1.2
- Bean Vaildation 1.1
- Concurrency Utilities for Java EE 1.0