This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin in Action and have Dmitry Jemerov & Svetlana Isakova on-line!
See this thread for details.
Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Deploying web application in 64 bit OS.  RSS feed

 
Jigar Naik
Ranch Hand
Posts: 762
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a web application war which contains the class file compiled and created in 32 bit OS and processor environment.

and now i will be deploying the war file in 64 bit OS and Processor environment.

Will it work without taking any extra steps ?
I have also downloaded the JDK for 64 bit OS.

Do i need to recompile the source using 64 bit JDK/JVM ? and need to create a new war file ?

is there different tomcat for 64 bit os ?

please let me know..

Thanks & Regards,
 
Steve Luke
Bartender
Posts: 4181
22
IntelliJ IDE Java Python
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Will you need to re-compile the code? No. That's the beauty of Java's portability.

Does tomcat have a 64-bit version? The have a .exe that allows you to run Tomcat as a 64-bit service, which, if you tell it to use your 64-bit JRE and JDK should suffice. You download it from here: Tomcat 6 SVN. Since it isn't part of the normal Tomcat distributable I am not sure if it is supported and tested or not. I don't use it so I have no experience with it.
 
Amit Ghorpade
Bartender
Posts: 2856
10
Fedora Firefox Browser Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Another reason for not recompiling the code is that the environment information is not available in the code. All the memory management and execution is done by the underlying VM and the container.
So as Steve says, try out the Tomcat 64 bit version.


Hope this helps
 
Jigar Naik
Ranch Hand
Posts: 762
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks a lot,

The information is really helpful to me.


Thanks & Regards,
Jigar Naik

[ August 28, 2008: Message edited by: Jigar Naik ]
[ August 28, 2008: Message edited by: Jigar Naik ]
 
Amit Ghorpade
Bartender
Posts: 2856
10
Fedora Firefox Browser Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You are welcome
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!