Hey,
For J1 I morphed Kitchensink to show JavaEE 7 JPA (updated persistence.xml and no
datasource referenced), json parsing (using json from github api) and implemented Batch
(goes and fetches github avatar based on kitchensink usernames).
The code is here:
https://github.com/maxandersen/jboss-as-quickstart/tree/j1ee7
Presentation is here:
http://www.slideshare.net/maxandersen/interoperability-jee7-javaone20131
Runs on both Wildfly (master) and Glassfish 4.
The code is pretty trivial, but not cleaned up to be "sane" since I had to spend
most time figuring out
workarounds for missing features in Wildfly (injections did not work in websocketes) and
bugs in Glassfish (you need to be lucky to get Batch to work out of the box).
But I thought it could be input to ideas for future updates.
/max