java ee 6: it's the little things

15

Click here to load reader

Upload: shane-johnson

Post on 07-Jul-2015

4.328 views

Category:

Technology


0 download

TRANSCRIPT

Page 1: Java EE 6: It's the little things

Shane K Johnson1

Java EE 6: It's the little things.

Shane K JohnsonTechnical Marketing ManagerApril 19, 2012

Page 2: Java EE 6: It's the little things

Shane K Johnson2

Java EE 6

EJB 3.1

CDI 1.0

Servlet 3.0

JAX-RS 1.1

Page 3: Java EE 6: It's the little things

Shane K Johnson3

EJB 3.1

Page 4: Java EE 6: It's the little things

Shane K Johnson4

Simplified Packaging

Include an EJB in a WAR.

Page 5: Java EE 6: It's the little things

Shane K Johnson5

Interface? Required.

An EJB no longer requires an interface.

Page 6: Java EE 6: It's the little things

Shane K Johnson6

@Singleton

Create a singleton declaratively.

Page 7: Java EE 6: It's the little things

Shane K Johnson7

@Schedule

Create a cron like scheduled task declaratively.

Page 8: Java EE 6: It's the little things

Shane K Johnson8

CDI 1.0

Page 9: Java EE 6: It's the little things

Shane K Johnson9

@Inject

Dependency injection.

Page 10: Java EE 6: It's the little things

Shane K Johnson10

@Produces

Create the object to be injected programmatically.

Page 11: Java EE 6: It's the little things

Shane K Johnson11

@Qualifier

Create different objects with the same class / interface to be injected.

Page 12: Java EE 6: It's the little things

Shane K Johnson12

Servlet 3.0

Page 13: Java EE 6: It's the little things

Shane K Johnson13

web.xml Required.

The web.xml file is no longer required.

Page 14: Java EE 6: It's the little things

Shane K Johnson14

JAX-RS 1.1

Page 15: Java EE 6: It's the little things

Shane K Johnson15

Servlet Configuration? Required.

Servlet configuration is no longer required.