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
Who is Participating?
for_yanConnect With a Mentor Commented:

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

All Courses

From novice to tech pro — start learning today.