1 - Contexts and Dependency Injection (CDI)

Java EE 6 features

Knits togethor web tier + transactional tier

Set of services to improve use of enterprise beans + JavaServer Faces (JSF)

Orig designed for stateful objects

2 - Flows to JSF (JavaServer Faces)

Java EE 7 addition

Set of pages (or views) that define a unit of work

Eg checkout process

Spree::Order.checkout_flow

FlowScoped where CDI is manager of flow scoped beans

Beans created within a scope will live through the entire lifetime of the flow itself
When flow ends then flow scoped beans also discarded

Follow convention over configuration paradigm

Flow containing folder must be named with same name as flow and in root of web content folder
Config file = <flow name>-flow.xml

3 - Java API for RESTful Web Services (JAX-RS)

REST = Representational State Transfer

Roy Fielding's PhD thesis (Uni of California, 2000)

4 - NetBeans Derby

Derby = Java DB in NetBeans IDE

Sun's supported distribution of Apache Derby
Packaged with the GlassFish application server, and is included in JDK 6 as 'JavaDB'

Equivalent to SQLite