MTA integration with JAVA.