Written primarily for those currently developing on the server in JavaScript, this article explains the basics of working with Java on the server through Sun's Java Servlet API. It includes a brief overview of servlets and their role in server-side software development, and Comparison of JavaScript applications with servlets in a number of crucial areas of program design.