Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #33136

Re: What to tell in a talk about JPA

Newsgroups comp.lang.java.programmer
Date 2015-11-16 14:42 -0800
References <8761162oln.fsf@Equus.decebal.nl>
Message-ID <6233dd9e-e300-4591-b783-33e2cd5f4dee@googlegroups.com> (permalink)
Subject Re: What to tell in a talk about JPA
From Lew <lewbloch@gmail.com>

Show all headers | View raw


On Friday, November 13, 2015 at 2:47:03 AM UTC-8, Cecil Westerhof wrote:
> I am in the middle of migrating a series of applications. One thing is
> that JDBC has to be replaced with JPA. I am going to give a
> presentation about this on T-DOSE. (The biggest Open Source event in
> the Netherlands.) This was/is my first time that I work with JPA. So I
> am far from being an expert. What are things that are useful to
> mention? The talk is three quarters of an hour and beside JPA I will
> also talk about the pitfalls we experienced during the migration.

The main thing is that JPA is NOT A DATA-MANIPULATION TECHNIQUE. It is an object-manipulation technique. The single biggest mistake is to use JPA as a wrapper for SQL rather than a persistence mechanism for objects.

The second mistake is to keep a 'DataManager' around too long. They should be ephemeral.

-- 
Lew

Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

What to tell in a talk about JPA Cecil Westerhof <Cecil@decebal.nl> - 2015-11-13 11:14 +0100
  Re: What to tell in a talk about JPA Arne Vajhøj <arne@vajhoej.dk> - 2015-11-13 21:49 -0500
  Re: What to tell in a talk about JPA Lew <lewbloch@gmail.com> - 2015-11-16 14:42 -0800

csiph-web