Like most colleges I suppose, my college gives me free space for a website. Because I'm a computer science major who's doing a lot of programming and web design/development, I'm trying to squeeze as much as I can out of this. So currently, I can write CGI scripts (Perl) and run database queries on my own personal database (mySQL). But they don't support servlets... and because my Java prowess far outmatches that of my Perl, I'd really prefer doing JSP over Perl scripts, even though I have more experience with Perl (only because I have yet to write one JSP because I don't have a server that offers it). So my mission is to convince my admin to allow servlets so I can write some JSP stuff. And your mission is to come up with good things to tell my admin ) Here's our conversation so far...<br><br>"We don't currently have any plans to implement servlets. Personally, I think they're way too big a security hole to let students execute whatever they want on the servers. Even as it is, running scripts can be kind of scary, and I'm looking at installing something like cgi-wrappers to make sure malicious users can't do terrible things to the system via scripts. (Not that they can't anyway, just from the shell, but this would make me a bit less nervous.)"<br><br><br>> Maybe I'm unclear, what are the different risks for Perl CGI scripts and servlets?<br><br>"They're actually pretty similar. But we support perl already, and Java has problems of its own (like eating CPU like there's no tomorrow...)."<br><br>===============<br><br>Now, from what I understand, Java used to be a memory hog, but has since come to run very smoothly (and can even run faster than C/C++ at times) due to its automatic garbage collection. I know CGI can be very slow because each query is a seperate hit to the server... I recall that being different for something like ASP/JSP, but I'm not sure. Is JSP more efficient in that way? If so, please let me know, I need ammo )<br><br>Also... Java's security has improved greatly, especially from Java 1.1 to Java 1.2. But is it more secure than a Perl script? Please, give me something to tell my admin )<br><br>Please forgive the double post, this is going to both the Java and JSP forums... thanks again. <p>Liam Morley<br><a href=mailto:lmorley@wpi.edu>lmorley@wpi.edu</a><br><a href=] :: imotic :: website :: [</a><br>"light the deep, and bring silence to the world.<br>
light the world, and bring depth to the silence."
light the world, and bring depth to the silence."