Most read:
Popular archives:
Java Q&A Forums - Let the great migration begin
We're pleased to announce the first phase of the integration of the Java Q&A Forums with our community platform, JavaWorld's
Daily Brew. Whether you're one of our longtime forum users or a brand newbie, we hope you'll visit the Java Q&A Forums in their new home alongside JW Blogs.
| Enterprise AJAX - Transcend the Hype |
| Oracle Compatibility Developer's Guide |
The responses have been overwhelmingly positive toward servlets. JavaWorld readers use servlets for everything from simple file serving to acting as the brains of their Web application. And they choose servlets over alternative approaches for quite a variety of reasons.
Let's look at the results.
More than 600 JavaWorld readers responded to the poll question, "Why do you use servlets?" Here's a look at the actual voter breakdown:
Whoa! Is it true that only 4 percent of developers use servlets to generate HTML? Probably not. These numbers can be misleading, unless you keep in mind (as the page indicated) that readers could choose only one item from the list, even if they use servlets for several tasks. In the comments section, many readers indicated that they use servlets for multiple tasks.
You needed an "All of the above" option. I use servlets to serve HTML, replace CGI, access databases, to create Web-based applications, and to generate images.
Hey, I use them for more than one thing! To replace cgi, to serve pages, to access databases, as Web based-applications and other (I define servlets which handles other protocols than http, like POP3 and FTP). I use servlets on the client machine (in proxy servers). I think this is a very limited survey!
Why do I have to choose only one of the uses for servlets? I use servlets to access databases and to serve html pages, and thereby they have completely replaced the use of CGI programs in my company. Why do I use servlets? The answer to this question is easy: It's easy - if already know Java, writing a servlet is not difficult. All communications problems have already been taken care of, so you only have to worry about what the servlet should do, and not about how it should return it to the client. Because it is so easy to write a servlet, it is of course also a fast way of developing, which is excellent. tw e-mail: bex@forum.dk
Well that's a stupid survey. Making people click only one checkbox is ridiculous. I use servlets for all of those things (and more), and most people are going to want to generate HTML *and* replace CGI, and of course it's a Web-based app for more folks. Come on, put a bit more work into writing this survey, at the moment it looks like a joke!
Turns out the software (a CGI program) used for tabulating poll results limits voters to one item. Rumor has it a future version (built using servlets) won't have this limitation. In the meantime, JavaWorld will redouble its efforts to ask questions that work better within the software's limitations -- and continue to encourage readers to use the comments section to detail their opinions (which, after all, usually offer information that's more valuable than mere numbers or pie charts).