Open ▁X A ▁architecture , ▁but ▁it ▁defines ▁two ▁different ▁APIs ▁for ▁dem arc ating ▁transaction ▁boundaries . ▁It ▁distingu ishes ▁between ▁an ▁application ▁server ▁such ▁as ▁an ▁E JB ▁server ▁and ▁an ▁application ▁component . ▁It ▁provides ▁an ▁interface , ▁, ▁that ▁is ▁used ▁by ▁the ▁application ▁server ▁itself ▁to ▁begin , ▁commit ▁and ▁roll ▁back ▁the ▁transactions . ▁It ▁provides ▁a ▁different ▁interface , ▁the ▁, ▁that ▁is ▁used ▁by ▁general ▁client ▁code ▁such ▁as ▁a ▁servlet ▁or ▁an ▁E JB ▁to ▁manage ▁the ▁transactions . ▁ ▁The ▁J TA ▁architecture ▁requires ▁that ▁each ▁resource ▁manager ▁must ▁implement ▁the ▁ ▁interface ▁in ▁order ▁to ▁be ▁managed ▁by ▁the ▁T P ▁monitor . ▁As ▁stated ▁previously , ▁each ▁resource ▁will ▁have ▁its ▁own ▁specific ▁API , ▁for ▁instance : ▁ ▁rel ational ▁databases ▁use ▁J DBC ▁ ▁mess aging ▁services ▁use ▁J MS ▁ ▁generalized ▁E IS ▁( Enter prise ▁Information ▁System ) ▁resources ▁ ▁use ▁Java ▁E E ▁Con ne ctor ▁API . ▁ ▁Java ▁Trans action ▁API ▁The ▁Java ▁Trans action ▁API ▁consists ▁of ▁three ▁elements : ▁a ▁high - level ▁application ▁transaction ▁dem arc ation ▁interface , ▁a ▁high - level ▁transaction ▁manager ▁interface ▁intended ▁for ▁an ▁application ▁server , ▁and ▁a ▁standard ▁Java ▁mapping ▁of ▁the ▁X / Open ▁X A ▁protocol ▁intended ▁for ▁a ▁transaction al ▁resource ▁manager . ▁ ▁User Transaction ▁interface ▁The ▁ ▁interface ▁provides ▁the ▁application ▁the ▁ability ▁to ▁control ▁transaction ▁boundaries ▁program matically . ▁This ▁interface ▁may ▁be ▁used ▁by ▁Java ▁client ▁programs