not entirely sure where this message belongs... does anybody have any insight into free application server options, their alternatives, and jdbc drivers? * i.e. weblogic requires current license keys, not sure about websphere * can apache be used as an application server? * is an application server absolutely necessary for servlets? what are the alternatives? * are there any free jdbc drivers available? how well do they integrate with application servers? are they necessary for application servers. if this message make minimal sense, its because of my newbie status. any help would be really appreciated. thanks.
The Apache Server Project has an application server called Tomcat. Tomcat actually functions as a standalone http server, too, so you can use it as your only web server. No, you don't need JDBC to run servlets, unless your servlets are making database connections. There are tons of free JDBC drivers out there. Just do a web search. I recommend that you go to the database vendor first, though, because they know their own stuff bettern than anyone else. Oracle, for example, has a JDBC driver for each of the four types available for download.
Joined: Jan 31, 2001
Thanks. That has set me off on the right track. I also found this helpful posting at java.sun.com: Forum Home > JavaServer Web Development Kit Topic: Servlets on IIS, anyone got tips? Jan 22, 03:29 AM The system I will run this on (for development and testing only) is a MS Windows 2000 server, with MS IIS web server. The IIS does not support the servlet specs, I've heard, so I have downloaded the JRun Webserver from Allaire (it's free as a development version) which I believe I can set up as a servlet container within IIS. For Java development I have downloaded a package called 'J2SDK1_3_0', which I believe are the core Java classes, and a zip-file called servlet2_2b.zip (which contains a zipped file called 'servlet.jar'). Will it contain all I need for developing servlets? I am a bit confused when it comes to versioning, I understand 1.3.0 is a quite new release, how is support in different browsers/systems? This package will also probably install the JRE1.3, but if not I have downloaded that too. Is that the JRE I should use? I would presume that when testing an Applet communicating with a Servlet on the same machine, that both the applet and the servlet use the same JRE to run. How will it affect execution if they run on two machines with different JRE's? And how about the 2.2b version of the servlet files? I have also downloaded an IDE from Allaire, called Kawa. I have tried that before and like it, but that's a 90 day evaluation, so if anyone knows about a free IDE I would be happy to hear it. If there are somebody that have any tips or tricks, or experiences with servlets under Windows, or if somebody could tell me if I got all I need (and how about JDBC?) I would be very thankful. -----------------------------------------------------------------Re: Servlets on IIS, anyone got tips? Message 3 of 4 Alternatively, if you download the java server web development kit jswdk-1.0.1, available off this site somewhere, it has the servlet and jsp jar files in their current versions and a built in webserver which although by no means powerful enough for real world use is great for development stuff because you don't have to move the servlets out of their home directory. A general tip that I only discovered the other day but is really handy- copy any jar files that you need to use into the jre/lib/ext directory, because then the system can find them. I do a lot of servlet development and I have also found Allaire's Kawa IDE to be a brilliant tool for this- it can be set up to run the server and recieve all its output for debugging and it doesn't touch your code at all. You can download it free for a while and its well worth a look if you want to use your own code but also use an IDE.