I have a basic three tier web application, and I want to use GlassFish. Assuming same admin skills, any difference in having the host OS be Windows 2003 Server or RedhHat?
|
feedback
|
|
Sooner or later you'll probably run in to problems when deploying on Win2K3 due to Windows file locking issues. But you'll learn to work around it - one way or another. Also see this question: All else equal, I would not select Windows as server OS for glassfish, but I would not strongly advice against Win2K3 either. | |||
|
feedback
|
|
I second fredarin. A dupe from an answer I posted on SO: 0 vote down If you check the glassfish source, specifically ./appserv-commons/src/java/com/sun/enterprise/util/io/FileUtils.java, you'll see all of the contortions that Glassfish goes through in order to delete/rename files and directories on Windows. This is a Windows problem, with its restrictions on deleting and renaming open files. There are all sorts of tricks in there, including requesting a GC from the JVM multiple times in the hope of closing the file stream, "pseudo" renaming, sleep-try loops. Some examples:
In practice this sometimes translates to borked deployments or redeployments on Windows, as some files cannot be deleted or moved and end up being left behind. Of all the Glassfish instances I run I've never had a problem on Solaris 10 and always have problems relating to this on Windows. In short, any *NIX will be better for this reason alone, other platform admin considerations aside. | ||||
|
feedback
|
|
I'm not sure there are any huge differences, assuming the same spec. I have heard some admins say that running Application Client Container (ACC) is faster on linux. | |||
|
feedback
|