1

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
Java EE 6 Live Hacking
Petr Hejl & Martin Fousek, Software Developers
2

Copyright © 2012, Oracle and/or its affiliates. A...
The following is intended to outline our general product direction.
It is intended for information purposes only, and may ...
Agenda
• Java EE 6
• Live hacking v NetBeans IDE
–

Implementace REST serveru

–

Implementace klienta

• Q&A

4

Copyrigh...
Java EE 6
Hlavní změny

• EJB 3.1
–

Web aplikace, Singleton, asynchronní volání

• JPA 2.0
–

Rozšíření JPQL, Criteria AP...
Java EE 6
Hlavní změny - pokračování

• Java Servlet 3.0
–

Anotace, asynchronní volání, web fragment

• Managed Beans 1.0...
Java EE v NetBeans
REST server

• REST API pro přístup k datům
• Použité technologie
–
–

REST

–

7

JPA
CDI

Copyright ©...
Java EE v NetBeans
Klient

• Web klient pro sdílení příspěvků
• Použité technologie
–
–

EJB

–

Managed Bean

–

CDI

–

...
Java EE v NetBeans
Architektura klienta

CDI

JSF

JPA

Managed
Bean

EJB

Bean
Validation

9

Copyright © 2012, Oracle an...
Zdrojový kód a prezentace
• http://java.net/projects/jdd-ee6-demo
• Mercurial repository
–
–

10

https://hg.java.net/hg/j...
Q&A

11

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
12

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
13

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
Upcoming SlideShare
Loading in …5
×

Java EE 6 Live Hacking - Java Developer Day 2012

410 views

Published on

Czech slide deck from Java Developer Day 2012 in Prague. Contains links to the java.net repositories with sample sources used in the presentation.

0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
410
On SlideShare
0
From Embeds
0
Number of Embeds
3
Actions
Shares
0
Downloads
12
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Java EE 6 Live Hacking - Java Developer Day 2012

  1. 1. 1 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  2. 2. Java EE 6 Live Hacking Petr Hejl & Martin Fousek, Software Developers 2 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  3. 3. The following is intended to outline our general product direction. It is intended for information purposes only, and may not be incorporated into any contract. It is not a commitment to deliver any material, code, or functionality, and should not be relied upon in making purchasing decisions. The development, release, and timing of any features or functionality described for Oracle’s products remains at the sole discretion of Oracle. 3 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  4. 4. Agenda • Java EE 6 • Live hacking v NetBeans IDE – Implementace REST serveru – Implementace klienta • Q&A 4 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  5. 5. Java EE 6 Hlavní změny • EJB 3.1 – Web aplikace, Singleton, asynchronní volání • JPA 2.0 – Rozšíření JPQL, Criteria API, vylepšené mapování • JSF 2.0 – Facelets, anotace, navigace, AJAX, stages • JAX-RS 1.1 – 5 REST webservice pomocí anotací Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  6. 6. Java EE 6 Hlavní změny - pokračování • Java Servlet 3.0 – Anotace, asynchronní volání, web fragment • Managed Beans 1.0 – Jednoduchý POJO komponentový model, resource injection • CDI 1.0 – Dependency injection, contextual lifecycle, integrace s EL • Profiles & Pruning 6 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  7. 7. Java EE v NetBeans REST server • REST API pro přístup k datům • Použité technologie – – REST – 7 JPA CDI Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  8. 8. Java EE v NetBeans Klient • Web klient pro sdílení příspěvků • Použité technologie – – EJB – Managed Bean – CDI – Bean Validation – 8 JPA JSF Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  9. 9. Java EE v NetBeans Architektura klienta CDI JSF JPA Managed Bean EJB Bean Validation 9 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  10. 10. Zdrojový kód a prezentace • http://java.net/projects/jdd-ee6-demo • Mercurial repository – – 10 https://hg.java.net/hg/jdd-ee6-demo~jdd-demo https://hg.java.net/hg/jdd-ee6-demo~jdd-presentation Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  11. 11. Q&A 11 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  12. 12. 12 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  13. 13. 13 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.

×