Where do you find a comprehensive list of Java EE 7 samples ?
github.com/arun-gupta/javaee7-samples
WebSocket (31 samples for JSR 356)
chat
websocket-client-programmatic
endpoint
javase-client
endpoint-singleton
httpsession
encoder
parameters
injection
endpoint-config
binary
encoder-programmatic
websocket-client
endpoint-programmatic-injection
endpoint-programmatic
properties
endpoint-programmatic-async
endpoint-async
websocket-vs-rest
websocket-client-programmatic-config
websocket-client-programmatic-encoders
subprotocol
messagesize
endpoint-programmatic-config
websocket-client-config
whiteboard
endpoint-partial
endpoint-security
endpoint-programmatic-partial
encoder-client
endpoint-javatype
JAX-RS (25 samples for JSR 339)
server-sent-event
server-negotiation
readerwriter-json
moxy
invocation
readerwriter
filter-interceptor
client-negotiation
jsonp
link
singleton-annotation
resource-validation
mapping-exceptions
request-binding
interceptor
invocation-async
jaxrs-endpoint
async-client
dynamicfilter
singleton-application
async-server
filter
beanvalidation
jaxrs-client
readerwriter-injection
JSON Processing (4 samples for JSR 353)
object-reader
streaming-parser
object-builder
streaming-generate
Batch Processing (14 samples for JSR 352)
batchlet-simple
multiple-steps
listeners
chunk-optional-processor
flow
chunk-exception
split
chunk-mapper
chunk-simple-nobeans
chunk-partition
chunk-checkpoint
chunk-simple
chunk-csv-database
decision
Java Message Service (4 samples for JSR 343)
jmscontext-cdi
send-receive-simple
send-receive
temp-destination
Contexts & Dependency Injection (16 samples for JSR 346)
bean-discovery-all
alternatives
extension-impl
bean-discovery-none
scopes
nobeans-xml
bean-discovery-annotated
vetoed
beanmanager
extension
decorators
built-in
interceptors
beansxml-noversion
pkg-level
exclude-filter
Concurrency Utilities for Java EE (4 samples for JSR 236)
managedscheduledexecutor
managedexecutor
dynamicproxy
manageablethread
Java Persistence API (15 samples for JSR 338)
jndi-context
schema-gen
locking-pessimistic
entitygraph
native-sql
listeners
schema-gen-scripts-external
criteria
storedprocedure
multiple-pu
locking-optimistic
pu-typesafe
native-sql-resultset-mapping
schema-gen-scripts-generate
schema-gen-scripts
Servlet (13 samples for JSR 340)
metadata-complete
protocol-handler
async-servlet
servlet-security
cookies
nonblocking
form-based-security
resource-packaging
file-upload
servlet-filters
web-fragment
error-mapping
event-listeners
Java Server Faces (18 samples for JSR 344)
resource-handling
components
simple-facelet
contracts
radio-buttons
http-get
contracts-library
composite-component
bean-validation
flows-programmatic
flows-simple
flows-declarative
file-upload
ajax
passthrough
flows-mixed
server-extension
viewscoped
Java Connector Architecture (2 samples for JSR 322)
connector-simple/connector
connector-simple
Enterprise Java Beans (6 samples for JSR 345)
embeddable
lifecycle
timer
stateless
stateful
singleton
Java Transaction API (4 samples for JSR 907)
user-transaction
transactional
transaction-scope
tx-exception
Bean Validation (2 samples for JSR 349)
custom-constraint
methods
JavaMail (1 sample for JSR 919)
definition
Expression Language (1 sample for JSR 341)
standalone
Extra
quartz
NoSQL
neo4j
voldemort
riak
oracle
cassandra
couchbase
redis
hbase
mongo
twitter-search
In addition, you can also read the Java EE 7 Tutorial or a complete reference guide in Java EE 7 Essentials.
Most of the samples work on GlassFish 4 and some need some further research. I’ve started trying them on WildFly Beta 1 as well. If the samples don’t work or you’d like to see an additional sample, please file an issue.