• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Which OS is better for Tomcat

 
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Everyone,

We are in the process of getting java/web project.
We proposed to develop this application in Java with
Spring and Struts. Also we are going to use Tomcat as
the web server.

I wanted to know which OS is better for deployment
of this application.

NOTE : This application is not that much complicated.

Please compare with Linux(RedHat) Vs Windows

Thanks
 
Ranch Hand
Posts: 66
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I believe this depends on the application size war file your are deploying.
Typically windows 2k is good with its performance with small size war file. But when we go for Linux systems large war or ear file deploying is good. Also i faced tomcat startup problem in both the systems. I could not able to find the much difference.

- Vikas.
SCJP 1.4.
 
Mohamed Mubeen
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thank Ajay,

Please update is there any important
issues related to this like security and
other concern also..............

very best regards.
 
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I sincerely doubt that the size of the war file plays any role. I've had no problems deploying war files of 100MB size on either Windows or Linux/Unix.

If you're concerned about security, Windows has more problems in that area than Linux, so unless you have good admins that know what hey are doing (not a given) go with Linux.

But in general, I wouldn't make the decision of which OS to use dependent on Tomcat; it runs well on both.
 
Ajay Vikas
Ranch Hand
Posts: 66
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I believe security does not play any great difference. Because it is product dependent which is independent of OS. But debugging log and application is cumbersome in Linux when compared to windows.

Ulf :
I believe size of war file matters because tomcat takes time in reading resources of a war file which is best in Linux than in windows. This again depends on JVM start parmas :-).

So finally I feel is Tomcat performance does not vary much across OS unless we configure and tune it well.

-Vikas
SCJP 1.4.
 
Ulf Dittmer
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

I believe security does not play any great difference. Because it is product dependent which is independent of OS.


Beg to differ profoundly. There are great differences in security between OSes, much more than between a server like Tomcat running on one OS vs. running it on a different OS. Security always concerns a complete environment; the most secure server in the world doesn't help if the underlying OS is not secure.

But debugging log and application is cumbersome in Linux when compared to windows.


Not sure what you mean by this. Web apps running in Tomcat are the same everywhere in terms of logging and debugging. Can you elaborate?

I believe size of war file matters because tomcat takes time in reading resources of a war file which is best in Linux than in windows.


That may or may not be the case, but startup time on a production system would be an exceptionally bad criterion to choose an OS, especially if the difference is (at most) between seconds and minutes (and probably much less).
 
Bartender
Posts: 1952
7
Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Ulf Dittmer:
If you're concerned about security, Windows has more problems in that area than Linux, so unless you have good admins that know what hey are doing (not a given) go with Linux.



In turn, I sincerely doubt that admins who have no clue as to what they're doing will fare any better at setting up a secure system *nix than they would under Windows
[ August 18, 2008: Message edited by: Jelle Klap ]
 
Heroic work plunger man. Please allow me to introduce you to this tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic