Which web server to use for JSP?

I don't like Tomcat and I don't understand the whole point of having to run botch Apache and Apache Tomcat.What other good web server to use instead of Tomcat? Is Sun Java System Web Server any good?
[215 byte] By [antiwindows789a] at [2007-11-26 16:25:48]
# 1
You don't have to run both Apache and Apache Tomcat. You can run Tomcat by itself.Gabsaga
gtataa at 2007-7-8 22:49:51 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 2

> I don't like Tomcat and I don't understand the whole

> point of having to run botch Apache and Apache

> Tomcat.

You don't have to run the web server. Tomcat has an HTTP server built in.

> What other good web server to use instead of Tomcat?

Jetty would be my next choice.

> Is Sun Java System Web Server any good?

Not really.

%

duffymoa at 2007-7-8 22:49:51 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 3
Why is Sun Java System not good?
antiwindows789a at 2007-7-8 22:49:51 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 4
It's alright for development purposes (just like Tomcat is), but I would prefer JBoss for production environments. From all products mentioned it is the most stable, in my honest opinion.
gimbal2a at 2007-7-8 22:49:51 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 5
Yes but JBoss is not a web server. I'm looking for a good web server for JSP. Sun Java Web Server sounds good to me.
antiwindows789a at 2007-7-8 22:49:51 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 6
Good discussion
Rojara at 2007-7-8 22:49:51 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 7

> Yes but JBoss is not a web server

Why not? It can service webpages, so in my book that makes it a webserver. Don't get discouraged by the fact that it is called an application server, that means that it is a webserver with additional features (such as enterprise javabeans, but also more robust management options).

Just for your information, the server that Sun bundles with J2EE is also an application server.

gimbal2a at 2007-7-8 22:49:51 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 8
What I wanted to say is that JBoss is not meant to be used as a webserver, right?Which web server would you recommend for JSP?
antiwindows789a at 2007-7-8 22:49:51 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 9

What is it that your server needs to be able to handle? Jsps? HTML? Anything else?

Can you give reasons for not liking Tomcat?

As far as I'm concerned its the best, most widely used out there. I don't see how you can go wrong.

Going with JBoss won't avoid Tomcat. JBoss uses it "under the hood" so to speak to provide the servlet container.

You could always try [url http://www.mortbay.org/] jetty[/url] I guess, but I don't think you would find it that different.

And "the whole point of having both Apache and Tomcat" is explained [url http://tomcat.apache.org/faq/connectors.html#integrate] here [/url]. If it doesn't apply to you, then Tomcat runs fine just on its own.

Cheers,

evnafets

evnafetsa at 2007-7-8 22:49:52 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 10

My server needs to handle JSPs of course :).

The reason why I don't like Tomcat is because I can't configure it the way I want to configure it. I'm used to IIS, which is of course a crappy server but at least it has a GUI and at least IIS is well documented.

Apache, as well as Apache Tomcat, is poorly documented. I have tried installing Tomcat webadmin under Linux and I must say that I have never seen a worse "webadmin" or any administration tool ever, it didn't work and there were no useful options. Having to Google the whole time to find configuration information about either Apache or Tomcat is a pain in the ***. Tomcat looks to me more like some web server that everybody uses, because it's free, over real not free web servers (which is of course not true, I guess) so I'm trying to find a web server that is well documented and supported and one that works well.

antiwindows789a at 2007-7-8 22:49:52 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 11

Also, I'm pissed off at the fact that users cannot upload files with Tomcat >:(. Yeah, I know, there is a "special add-on" but I don't care about that, Tomcat should come fully prepared out of the box. Not having such features shows to me IMO that it's a worthless amateur web server.

I want a web server for business purposes.

Message was edited by:

antiwindows789

antiwindows789a at 2007-7-8 22:49:52 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 12

Ok, what are your requirements for configuration?

Is that security?

Network/application setup?

Datasource configuration?

What sort of options do you want in an admin tool?

Most of the Tomcat config is done through xml files. Personally I never liked Sun's deploy tool because it hid all that stuff under the hood, and I wanted to know what was going on ;-).

Yes a lot of people use Tomcat because its free.

But also the corollary to that is because a lot of people use it, it has been thoroughly tested and found to be stable.

If you can give a little bit more in the way of what you want from a server in terms of what you want to accomplish with it, maybe you can get a decent answer here.

But just saying "Tomcat sux what else is there" is not going to get a good response - as you have found out ;-)

evnafetsa at 2007-7-8 22:49:52 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 13
I use Apache in front of JBoss AS with the mod_jk connector.There is also the JBoss Web Server which can deploy both Java, PHP and ASP http://www.jboss.com/products/jbossweb. In my next setup I will probably skip Apache+JBoss AS and use JBossWeb instead.
Niklasa at 2007-7-8 22:49:52 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 14
The following file upload example should work with Tomcat: http://www.roseindia.net/struts/strutsfileupload.shtml
Niklasa at 2007-7-8 22:49:52 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 15
what about BEA ... but its not free....
golanblna at 2007-7-21 16:45:28 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...