Meaningless Drivel is fun!*
The moose likes Servlets and the fly likes Do I need MSVC++? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Do I need MSVC++?" Watch "Do I need MSVC++?" New topic
Author

Do I need MSVC++?

ricky gonzalez
Ranch Hand

Joined: Jun 30, 2000
Posts: 167
Hi, I am trying to install Apache JServ and I was wondering if I need MSVC++? Would any ANSI C compiler work?
Thanks.
Anonymous
Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
You will need MSVC++, any ANSI C compiler will not be able to do the job as support of GUI based programming is not available.
Also application developed to make it web enabled , support of
MSVC++ is required.
ricky gonzalez
Ranch Hand

Joined: Jun 30, 2000
Posts: 167
Thank you so much. I think I'll have to use something other than Tomcat now. BTW, what is the difference between JServ and Tomcat?
Irene Fernandez
Greenhorn

Joined: Jan 26, 1999
Posts: 15
Apache JServ 1.1.2 is the "servlet engine" used by a web server like Apache Web Server 1.3.11, for example, to execute servlets. Servlets and JSPs are written using 1)Sun's classes in JSWDK1.0.1 or 2)using Apache's classes in Tomcat.
Irene
[This message has been edited by Irene Fernandez (edited September 20, 2000).]
Irene Fernandez
Greenhorn

Joined: Jan 26, 1999
Posts: 15
I have recently downloaded the Apache Web Server 1.3.11 and the Apache JServe 1.1.2. I have set these up and I am successfully executing the example and a servlet I have written. I did not use or need the MSVC++ compiler. Why would I want to compile the web server?
Thanks for your help.
Irene
[This message has been edited by Irene Fernandez (edited September 20, 2000).]
Frank Carver
Sheriff

Joined: Jan 07, 1999
Posts: 6920
Just in case anyone reading this is unclear, Apache is a web server which supports file-serving, CGI, and so on, but not Java Servlets. To run Java Servlets you need a "Servlet Container" which either "plugs-in" to a standard web server (such as Apache), or works on its own (serving files as well as servlets).
The original "official" Servlet Container for Apache was JServ, but at the same time as JServ was being produced there were also several others developed, both commercial and open. Sun were impressed by the effort on JServ, and handed over development of the standard "reference" Servlet Container to the Apache Group.
The Apache Group, in turn, slowed down development of JServ in favour of the new container, known as Tomcat.
The situation at the moment is that Tomcat is the reference Servlet Container and defines the behaviour of the Servlet 2.2 and JSP 1.1 specifications. It will run either stand-alone or as a plug-in to Apache, and is recommended over JServ. Commercial Servlet Containers like JRun and ServletExec are also available both to plug in and to run stand-alone, and other open-source Servlet Containers are also available.
For anyone starting out with Servlets, and wishing to use them with minimum trouble and expense, I recommend installing one of the open-source Servlet Containers, and running it stand-alone without another web server. I Recommend either Tomcat ( http://jakarta.apache.org ) or Resin ( http://www.caucho.com ) as good quality, robust, and standards-compliant containers.


Read about me at frankcarver.me ~ Raspberry Alpha Omega ~ Frank's Punchbarrel Blog
ricky gonzalez
Ranch Hand

Joined: Jun 30, 2000
Posts: 167
Thanks Frank for the clear explanation. So TomCat by itself is good enough for servlet testing, without JServ or even Apache?
Do I just place the class files of the servlets in the "local host 8080" directory under the directory "work"? How do I load one particular servlets over others?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Do I need MSVC++?
 
Similar Threads
JNI Tutorial (Step 5)
COM bridge.
Can't find dependent libraries
Who's using threads?
location of jni.h and jni_md.h?