-
Book Overview & Buying
-
Table Of Contents
APACHE KARAF COOKBOOK
By :
Applications often require transaction management alongside the JPA. This is accomplished by including the JTA into the Karaf container.
The ingredients of this recipe include the Apache Karaf distribution kit, access to JDK, and Internet connectivity. Generally, you'll also need to perform the steps outlined in the Installing OpenJPA modules in Apache Karaf recipe.
Thanks to Apache Karaf's feature system, installing JTA is a very simple one-step process.
Why do we not have to add the feature URL? This is because Apache Karaf's standard distribution includes the JTA feature URL by default.
We install a feature by executing the feature:install command with the feature's name as follows:
karaf@root()> feature:install transaction
We can verify the installation by executing the list –t 0 | grep -i transaction command, which will list all installed transaction components and...
Change the font size
Change margin width
Change background colour