• Post Reply Bookmark Topic Watch Topic
  • New Topic

Questions regarding web servers  RSS feed

 
Rob Hunter
Ranch Hand
Posts: 832
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Just trying to get a handle on this so the questions may be quite simplistic fo many of you. But I appreciate the responses.
Is IIS required to run JSPs?
If not, is there any benefit to having both?
A JSP engine is required to run JSPs but do you have to install the JDK separately from installing a JSP engine? Basically, will JSPs run without separately installing the JDK?
Anything additional that might help explain how each functions would be appreciated. Thanks.

Rob
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 66207
151
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is IIS required to run JSPs?


Absolutely not.

If not, is there any benefit to having both?


Only if IIS provides some needed function that the JSP container will not. For web apps that do not rely upon any IIS-specific behavior, a standalone servlet engine such as Tomcat or Resin works quite well.

A JSP engine is required to run JSPs but do you have to install the JDK separately from installing a JSP engine? Basically, will JSPs run without separately installing the JDK?


I believe that depends upon the container (and version). Most containers will require a JDK to be installed. You would need to check for the specifics for the container that you plan to use.
 
Rob Hunter
Ranch Hand
Posts: 832
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Bear for the helpful info. Someone mentioned to me that IIS was 'required' to run such apps as those written in ASP. Is that true? They go on to say that ASP is interpreted while JSP is compiled and this is, if not all, part of the reason why. Are there any free JSP engines out there and, if so, which ones are the best? The best for writing test programs from beginner to intermediate. Thanks again.

Rob
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The best is a matter of opinion.
The most popular (and my personal favorite) is Tomcat.

http://jakarta.apache.org/tomcat


To answer the other questions.
Legacy ASP is interpreted.
ASP.NET uses objects compiled to high level byte code (like Java).

And Yes, IIS is required to run either ASP or ASP.NET.
If you're developing in Java, this shouldn't be of any concern to you.
[ August 03, 2005: Message edited by: Ben Souther ]
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 66207
151
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Someone mentioned to me that IIS was 'required' to run such apps as those written in ASP. Is that true?


IIS is required for ASP. I do not if there are other ASP engines. It is not required for JSP.

They go on to say that ASP is interpreted while JSP is compiled


Since I would never use a proprietary technology such as ASP, I'm really not all that familiar with the details, but from what I understand, it is not compiled.

Are there any free JSP engines out there and, if so, which ones are the best?


Ben already metioned Tomcat which is free and is probably the best known of the JSP containers. I'd recommend it not only because it is a good container, but because it will be the easiest one to get help on should you run into questions.

Resin, from caucho.com, is also excellent (and free for casual use) but not quite as well-known.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!