Does the code written for server program on tomcat running
on
windows platform be different than the one to be written for
linux
platform.
unless you make native calls, no. your platform in this case would be tomcat. not windows or linux, but just tomcat.
right on Phil... thats the raison d'etre for a servlet engine. This is pretty basic.
But yeah... the moment you want to do something that's not "inside" tomcat, you'd want to use Native Methods. For this you will have to code on the platform on which you are coding.
For example if your external program/method is on Linux, you'd use CPP or C on Linux; if its on Windows, something equivalent.
Lets hope things are not much ambiguous now. The question I replied to before had me stumped with ambiguousness. The answer is wrong nevertheless. This one sets things right.
Amol Hatwar. _________________________________________________________ Click below to visit monsterindia.com and review jobs in India or Abroad http://monsterindia.rediff.com/jobs