V Senthil

Greenhorn
+ Follow
since Jun 21, 2005
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
In last 30 days
0
Forums and Threads

Recent posts by V Senthil

Sorry, We r not storing XML in java Template object.
18 years ago
Hi,
We are storing XML. Using XSLT we have created javax.xml.tranform.Template object. Using this Template object u will get the Transformer java Object. Again by using Transformer object, we will convert one XMl to another.
Thanks,
senthil
18 years ago
Hello all,

1. I am working in enhancement project. Our project extensively used XSLT transformation. The XSLT is stored in oracle database & then using it. TO avoid querying DB everything, we implemented Cache mechanism. When the server starts up, a thread will keep on fetching the XSLT from database and converting them into Templates then added in the HashMap defined in Singleton class. Whenever we require, we will take the Template from hashmap and convert one XML to another....
2. Now, we have one more enhancement that we need to give the XSLT as String object to one URL. As already we implemented caching machanism, we would like to use the same template converting back to String object(contains text of XSLT). Will it possible to get the XSLT from the Template object?

Thanks,
Senthil
18 years ago
No, I didnt get any error and also I didnt get the latest version from CVS.
19 years ago
Hi,

I want to update all the files from CVS through Java program. I have written the following code and it doesnt work. Could anyone help in this regard?
private void login(String userName, String password){
Runtime rt = Runtime.getRuntime();
try {
rt.exec("cmd /K cvs -d server:senthilkumar.v@cvs.india.tavant.com:2401/cvs/wolf checkout wolf/build/");

} catch (IOException e) {
e.printStackTrace(); //To change body of catch statement use Options | File Templates.
}
}
Thanks,
Senthilkumar V
19 years ago
Hi,

I want to execute CVS command line in Windows oparting System using Java. Could any one help me to execute windows command through Java program?

Thanks,
Senthil
19 years ago
Hi,

A class "ClassA" has unwanted import statement. As per my understanding, this import statement will not be loaded into Run Time Environment until it is used. So the unwanted import statements in "ClassA" will not be loaded.
If this is the case, suppose I am giving invalid class name in import statement and not using it in my program. Moreover this will not be used by JVM, Why this class gives compile time error?
19 years ago