Slide 1

Slide 1 text

From JavaEE to AngularJS NEBRASS LAMOUCHI NetBeans Day Paris – October 2015

Slide 2

Slide 2 text

ME, MYSELF & I Java Developer at Davidson Consulting France OWASP Project Leader Glassfish & NetBeans community manager at the Zeef Platform @NebrassLamouchi github.com/nebrass

Slide 3

Slide 3 text

AGENDA JAVA EE 7 JPA 2.1 EJB 3.2 CDI 1.1 JAX-RS 2.0 Payara Server AngularJS

Slide 4

Slide 4 text

Java EE 7

Slide 5

Slide 5 text

JPA 2.1 Injectable EntityListeners Unsynchronized persistence contexts DDL generation - automatic table, index and schema generation.

Slide 6

Slide 6 text

EJB 3.2 Simplified the rules to define all local/remote views of the bean Added an option to disable passivation of stateful session beans. Extended the TimerService API to query all active timers in the same EJB module.

Slide 7

Slide 7 text

CDI 1.1 Allow binding interceptors to constructors Add support for @AroundConstruct lifecycle callback for constructors Add EventMetadata to allow inspection of event metadata

Slide 8

Slide 8 text

JAX-RS 2.0 Rich tools for calling a web service from the client using the new Client API Adding asynchronous support in RESTful calls An annotation-based facility for Bean Validation

Slide 9

Slide 9 text

What is Payara Server? Payara Server is a drop in replacement for Glassfish Server. Payara is providing product enhancements, bug fixes and patches to upstream Glassfish Server and dependent libraries including Tyrus, EclipseLink, Jersey and others.

Slide 10

Slide 10 text

AngularJS AngularJS is a JavaScript framework created by Google. AngularJS is a structural framework for dynamic web apps. It lets you use HTML as your template language and lets you extend HTML's syntax to express your application's components clearly and succinctly. Angular's data binding and dependency injection eliminate much of the code you would otherwise have to write.

Slide 11

Slide 11 text

No content

Slide 12

Slide 12 text

HTTP STATUS CODES 200 OK 201 Created 204 No Content 304 Not Modified 400 Bad Request 401 Unauthorized 403 Forbidden 404 Not Found 405 Method Not Allowed 415 Unsupported Media Type

Slide 13

Slide 13 text

No content

Slide 14

Slide 14 text

No content