Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Deploy on Tomcat

 
Nina Anderson
Ranch Hand
Posts: 148
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I've been developing a java web application on my windows laptop. The application is using Struts, Spring and Hibernate. Now I need to deploy the code on a 64-bit Linux Production Tomcat server.

I'm wondering, do I need to install Struts, Spring and Hibernate on the producation Linux server again in order for Tomcat to recognize the .jar files for all 3 components?

Or will exporting the application's .war file into the Tomcat webapps directory be good enough? I'm worried that since the .war file was created using MyEclipse IDE on my 32-bit Windows laptop, these will be incompatible.

Please, I would appreciate any insight you can provide. Since this is my first time deploying code on an actual live production server.

Thanks.



I'm
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64967
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There's no "installation" for those packages, you just need the jar files in WEB-INF/lib. The war file should work just fine.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic