Skip to Main Content
APACHE KARAF COOKBOOK
book

APACHE KARAF COOKBOOK

by Achim Nierbeck, Jamie Goodyear
August 2014
Beginner to intermediate content levelBeginner to intermediate
260 pages
5h 31m
English
Packt Publishing
Content preview from APACHE KARAF COOKBOOK

Building a project with a persistence layer and transaction support for deployment in Karaf

Transaction support for your JPA-persisted data can be simply added by introducing Apache Aries JTA modules to your project. The JTA components provide a transaction manager that coordinates data storage and retrieval.

In the Building a project with a persistence layer for deployment in Karaf recipe, we learned how to use JPA and OpenJPA to build a simple application that persists recipes to a database using a RecipeBookService class. In this recipe, we'll add container-based transaction management via JTA.

Getting ready

The ingredients of this recipe include the Apache Karaf distribution kit, access to JDK, and Internet connectivity. Sample code for this ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Instant OSGi Starter

Instant OSGi Starter

Jamie Goodyear, Johan Edstrom
Learning Docker - Second Edition

Learning Docker - Second Edition

Pethuru Raj, Vinod Singh, Jeeva S. Chelladhurai

Publisher Resources

ISBN: 9781783985081Supplemental Content