I have a web application developed using Struts and EJB. The underlying server is Jboss 4.0.2.
Earlier i was building and running my application on 32 bit JVM and 32 bit O.S (windows). But due to performance issues (heap space problems) we decided to shift to 64 bit platform as our application involves multithreading. So now we are using 64 bit JVM with 64 bit underlying O.S (windows server enterprise 2008). This time we observed great performance improvement with this.
Now my question is i am building my application on a different developer m/c which is 32 bit O.S + 32 bit JVM and i port those jar/war to the 64 bit scene above. In order to best utilize 64-bit capabilities further , am i need to build the application and run it on the same 64 bit m/c with 64 bit JVM ?
I am really confused with this.
Thanks in advance..
Prasad Sonawane, Member Technical Staff, CDAC, India.
Sun has both 32-bit and 64-bit Java options. Any Sun server can run the 32-bit JVM. If the machine is a Sparc 64-bit machine, there's a secondary package that can be installed that causes selected native methods to be supplanted by their 64-bit equivalents. Probably it also enhances the JVM itself, but I haven't looked at details lately. The important thing is that absolutely no user code modifications are required as long as it's "100% Pure Java" - no native code.
Actually, the Java virtual instruction set has always been more of a 64-bit architecture anyway.
An IDE is no substitute for an Intelligent Developer.