Pages

Tuesday, November 25, 2008

JTS/JTA

Java Transaction Service (JTS) specifies the implementation of a transaction manager that supports the Java Transaction API (JTA) specification (see JSR 907) at the high level and implements the Java mapping of the OMG Object Transaction Service (OTS) specification at the low level. JTS uses the standard CORBA ORB/TS interfaces and Internet Inter-ORB Protocol (IIOP) for transaction context propagation between JTS transaction managers.

A JTS transaction manager provides transaction services to the parties involved in distributed transactions: the application server, the resource manager, the standalone transactional application, and the Communication Resource Manager (CRM).

http://java.sun.com/javaee/technologies/jts/index.jsp

Thursday, November 13, 2008

The command to make environment variables effective immediately in Linux

In linux platform, sometimes you have to modify the .bash_profile under the root of login user to make changes on the environment variables. After it is changed, there are two common ways to make it affected: 1. relogin; 2. restart the system. Both of these two methods are not good.

Here a new command you can execute after changing it: source .bash_profile
After executing it, the modification of environment varaibles become effective immediately.

Such as after installing Oracle Database on Linux, you have to add the Oracle environment variables: ORACLE_HOME, ORACLE_SID to make it effective in Linux immediately.