Solved

JNDI, JTS, JTA, JPA

Posted on 2011-09-05
1
583 Views
Last Modified: 2012-08-13

I would like to know what is JNDI, JTS, JTA, JPA . When we use which one in which combination. Advantages, disadvantages, comparisons of them. When, why, how we use them. Thanks in advane
0
Comment
Question by:gudii9
1 Comment
 
LVL 47

Accepted Solution

by:
for_yan earned 500 total points
ID: 36485425


JNDI, JTA, JPA - those are different Java API designed and used for quite different
purposes - you can get initial idea rredaing through wikipedia articles

They are designed for different puposes so there is no sense to compare them with one another,
they are mostly used in Java Enterprise environement and they are
defacto standrads in respective areas, so you sould not talk about advantages - you just use
JPA when it comes to persistence or JTA for dealing with transactions

Ofthen  you'll use some libaries or J2EE framewoerks which will use them intenally


http://en.wikipedia.org/wiki/Java_Naming_and_Directory_Interface   Java Naming and Directory Interface

http://en.wikipedia.org/wiki/Java_Transaction_API -    Java Transaction API

http://en.wikipedia.org/wiki/Java_Persistence_API      Java Persistence API

So you want to learn about each one more at the time when you really need to use them

0

Featured Post

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Java Options in Zimbra Server 2 50
more than one jdk and one jre 1 41
hibernate example using maven 12 41
Detect Closed Loops (circles, figure-8s, etc) in PNG Images 6 31
An old method to applying the Singleton pattern in your Java code is to check if a static instance, defined in the same class that needs to be instantiated once and only once, is null and then create a new instance; otherwise, the pre-existing insta…
Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the b…
This theoretical tutorial explains exceptions, reasons for exceptions, different categories of exception and exception hierarchy.
This tutorial will introduce the viewer to VisualVM for the Java platform application. This video explains an example program and covers the Overview, Monitor, and Heap Dump tabs.

786 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question