Contactdetails

NLJUG
Postbus 3389
2001 DJ Haarlem

Telefoon
023 543 00 93

Fax
023 535 96 27

Email
Algemeen: info@nljug.org
Leden: members@nljug.org

BTW: NL85241364B01
KVK: 57039615

Bank
Rabo: 3123.20.973
BIC: RABONL2U
IBAN: NL47RABO0312320973
NLJUG te Son
Algemene voorwaarden 

Membership

Membership provides members free access to the NLJUG workshops and events on a variety of Java topics, held across the country on a regular basis. Plus on a quarterly basis the Java Magazine published by Array Systems. The NLJUG is a member of a worldwide network of Java User Groups.

Fill in the form to sign up.

NLJUG

Founded in 1998, the Dutch Java Users Group consists of business partners, software developers, application architects, technical managers, students, and new media developers that have a common interest in all aspects of Java Technology.




NLJUG partners

Trivento

Hoe bouw ik een ECHTE applicatie met JPA?

Korte omschrijving:
De Java Persistence API, kortweg JPA, is onderdeel van de Java EE 5 specificatie en wordt geïmplementeerd door Hibernate, TopLink, EclipseLink, OpenJPA, en nog een aantal andere object relational mapping (ORM) frameworks. JPA kan gebruikt worden in EJB 3.0 applicaties maar kan ook zonder EJB 3.0 ingezet worden, b.v. binnen het Spring framework. En als zelfs Gavin King, de ontwerper van Hibernate, in de tweede editie van Hibernate in Action, Java Persistence with Hibernate, aanraadt om JPA te gebruiken kan je er eigenlijk niet meer omheen.

Er is genoeg literatuur die uitlegt welke objecten er binnen JPA bestaan, hoe deze samenwerken en hoe ze ongeveer geïmplementeerd zijn. Het lijkt allemaal vrij rechttoe rechtaan zolang je het bij hello-world achtige programmaatjes houdt. Maar als je een grotere applicatie bouwt met JPA ontdek je dat het niet zo simpel is. Er moeten keuzes gemaakt worden over transactieafhandeling, over lazy loading, over detached objecten (denk aan web applicaties), inheritance en meer van die zaken. Je hebt niet alleen binnen je data access objecten (DAO’s) en je domein objecten te maken met JPA; het heeft invloed op de gehele architectuur van je applicatie. 

In deze presentatie zullen we aan de hand van concrete voorbeelden antwoord geven op vragen als:

- Hoe maak ik makkelijk een DAO?
- Hoe regel ik bidirectionale relaties tussen objecten?
- Hoe maak ik gebruik van lazy loading?
- Hoe richt ik transactie management in?
- Hoe ga ik om met inheritance?
- Hoe ga ik om met detached objecten?
- Hoe bewaar, wijzig en verwijder ik objecten het beste?
- Hoe test ik mijn DAO's?
- In welke lagen deel ik mijn applicatie op?
- Hoe krijg ik toegang tot services?

Aan het einde van deze presentatie heb je een handvol JPA implementation patterns die je kan gebruiken in je huidige of je volgende project waar je JPA gebruikt!

Niveau: Intermediate

Track: Enterprise

Vereiste voorkennis: JPA en/of ORM frameworks zoals Hibernate en TopLink

Structurele opbouw:

- Korte introductie van mijzelf
- Probleemstelling: Waarom is JPA niet zo straight forward als het lijkt?
- Behandeling van de JPA implementation patterns:
  - Type-safe DAO
  - Bidirectionele relatis
  - Lazy loading
  - Transaction handling
  - Inheritance
  - Persisting and merging new and detached objects
  - Finding and getting objects
  - Removing objects
  - Testing
  - Application architecture layering
  - Access to services
- Samenvatting: De relatie tussen de JPA implementation patterns.
- Q&A


 Download de presentatie

 


Vincent Partington 
XebiaLabs
Vincent Partington is a technology entrepreneur and an Internet industry veteran with over 15 years of experience. Vincent’s passion for technology began while studying computer science at the University of Amsterdam where Vincent was involved heavily in the then budding Internet scene in Amsterdam, working at the first free Internet service (De Digitale Stad) from 1995 onwards. After graduating in 1997, he continued his work in the Internet industry. He quickly stumbled upon what was later to become J2EE and delivered his first Enterprise Java application in 1998. After working in the Java EE space at different companies, Vincent Partington joined Xebia, in 2003. At Xebia, Vincent performed a whole range of assignments covering the spectrum of the activities of Xebia IT Architects: middleware architecture, automated build and deployment systems, performance tuning, security assessments, SOA architecture and numerous software audits. He has also taught a number of courses on Enterprise Java topics such as security and the Spring framework Seeing a need for standard Java EE deployment automation, Vincent Partington founded the startup XebiaLabs in the summer of 2008. After delivering the first version of the product to launching customer KLM, the product, Deployit, was extended to not only support WebSphere Application Server but a host of other middleware platforms including Oracle WebLogic Server, JBoss Application Server and Tomcat. As the Chief Technical Officer of XebiaLabs Vincent is involved in development of the product and research into new features and new directions for the product. Vincent Partington holds a masters degree in Computer Science from the University of Amsterdam in the Netherlands.