Page 1 of 1

About Question enthuware.oce-ejbd.v6.2.570 :

Posted: Sun Dec 25, 2016 7:46 pm
by Gerardo
Hi,

I have the following doubt:

¿Must the Full EJB 3.1 provide JTS Api?

¿Is JTS API optional for Full EJB 3.1?

Many Thanks in advance.

Re: About Question enthuware.oce-ejbd.v6.2.570 :

Posted: Mon Dec 26, 2016 12:38 am
by admin
No, as per section 13.1.3 of EJB 3.1 specification:
The EJB architecture does not require the EJB container to support the JTS interfaces. The EJB architecture requires that the EJB container support the JTA API defined in [8] and the Connector APIs defined in [15].

Re: About Question enthuware.oce-ejbd.v6.2.570 :

Posted: Mon Dec 26, 2016 11:52 am
by Gerardo
Thanks for the clarification :)

Re: About Question enthuware.oce-ejbd.v6.2.570 :

Posted: Tue Feb 14, 2017 6:07 am
by antoniopaolacci
EJB Lite is not a product or an implementation, but rather a lightweight subset of the EJB 3.1 spec.
EJB Lite provide the following features:

-Stateless, stateful, and singleton session beans
-Local ejb interfaces or no interfaces
-Interceptors
-Container-managed and bean-managed transactions
-Declarative and programmatic security

so considering,

JTA = Java Transaction Api
JTS = Java Transaction Service is a mechanism for supporting JTA distributed transactions when participants of the transactions reside in multiple Java Enterprise Edition Containers (application servers)
JTX = Java Terminal eXtreme (JTX) is a flexible, high-performance Swing terminal system. (wikipedia)
JMX = Java Management Extension (JMX) allows to insert in a developed java application components and module monitoring performance, called MBean

the JTA option is the correct answer.