Considerations for a TopLink Implementation

TopLink has both a Session and a Unit of Work. This differs somewhat from Hibernate in that Hibernate’s Session is also a Unit of Work.1 Let’s look at a perspective on the use of Unit of Work as separate from Session, and then ease into how to use them in a Repository implementation.

1. I am not measuring TopLink’s value in terms of Hibernate. In fact, TopLink has a very long history of success, which was established long before Oracle picked up the product as a result of the WebGain debacle and subsequent “fire sale.” Top is an acronym for “The Object People,” which was the original company behind the tool that is approaching two decades of proven success. Here I am merely contrasting the way the two ...

Get Implementing Domain-Driven Design now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.