An Introduction to Java Servlets
An introduction to overall servlet architecture and what you need to develop your application with servlets. Plus several code examples to show you how to use the Servlet API.
Build a servlet-based application that executes SQL statements against a database
This tutorial shows how to use a Java servlet, a JavaServer Page (JSP), and a static Java class to create an application that can be used to interactively execute any standard SQL statement against a database that's running on a server. You can use an application like this one to work with a database as you're developing an application. In this article, this application will be referred to as the SQL Gateway application.
Cargo Repeatable System Tests for Web Apps
Writing logically repeatable tests is especially tricky when testing Web applications that incorporate a servlet container. Now you can write logically repeatable system tests every time with the introduction of Cargo, an open source framework that automates container management in generic fashion.
Develop Contact Center Telecom Applications
Learn just how easy it is to create a basic telecommunications
application using Session Initiation Protocol (SIP) servlets.
The use of open standards such as SIP, together with Java
programming, has radically simplified the task of creating
complex applications.
Doclet your servlet!
This article provides a simple example of how you can use the Doclet API to produce better documentation that addresses specific needs beyond standard JavaDoc class documentation.
Filter code with Servlet 2.3 model
Discover freely available servlet filters you can use today. You'll learn how these filters work and what you can do with them. For a grand finale, author describes his own multipart request filter that simplifies the handling of file uploads.
Introduction to Servlets, JSP, and Servlet Engines
This article will give you the necessary basics for understanding what Servlets are and the benefits to using them. You will also learn how they relate to JSP and how to set up your own Servlet Engine.
J2EE Web Application Events
Web application events are new in Servlet 2.3 specification. They give you greater degree of control over your web application. In this article we will study two important application events : * Application startup and shutdown * Session creation and invalidation
Java Servlet Programming: Enterprise Servlets and J2EE
This article demonstrates how the robust Servlets API and its containers are used and integrated with other J2EE API on a growing number of enterprise-based Web sites.
Java Servlets - Part 1
In this article, I'll take you through the basics of writing and deploying Java Servlets on your own Web server. I'll begin with the assumption that you're already equipped with a Servlet-capable Web server.
Java Servlets - Part 2
In this second part, we'll look a little more in depth at what makes Servlets tick. First off, we'll examine how the HttpServletRequest object can be used to fetch information about the browser request responsible for...
JavaServer Pages Servlet Developer White Paper
If you're already using JavaTM Servlets, you may wonder what advantages JavaServer PagesTM (JSP) technology has for you. You can already develop interactive Web pages with servlets alone. So is JSP technology just an easier way for people who don't write servlets to get this functionality? Although JSP pages can jumpstart servlet development, that's only part of the story. Even if you're comfortable writing servlets, there are several compelling reasons to investigate JSP technology as a complement to your existing work.
Manage distributed sessions
Using RMI and the Proxy API introduced in JDK 1.3, this article describes a technique that allows one or more servlet servers to maintain session information on one or more session servers. By adopting this architecture, no single point of failure will exist for session management.
Secure Java servlet Web applications by exploiting HttpSession capabilities of WebSphere
Using a test automation application as an example, this article
demonstrates how WebSphere Application Server's HttpSession
capabilities can be exploited to secure Java servlet Web
applications, at a level of granularity lower than that of the
J2EE programmatic security model.
Servlet 2.3 API Features Exposed
This article unveils the latest features and tricks of the new
Java Servlet 2.3 API. This article begins with an introduction
to Servlet concepts (for those new to this area) and then takes
an overview of each of the new features, the application
lifecycle events, and Servlet filters.
Servlet Inter-communication with CORBA
Learn how to invoke a CORBA object from an HTML form using a servlet, and use the information to create a sample multiplication servlet.
Servlets and JSP Pages Best Practices
Java Servlet technology and JavaServer Pages (JSP pages) are server-side technologies that have dominated the server-side Java technology market; they've become the standard way to develop commercial web applications. Java developers love these technologies for myriad reasons, including: the technologies are fairly easy to learn, and they bring the Write Once, Run Anywhere paradigm to web applications. More importantly, if used effectively by following best practices, servlets and JSP pages help separate presentation from content. Best practices are proven approaches for developing quality, reusable, and easily maintainable servlet- and JSP-based web applications. For instance, embedded Java code (scriptlets) in sections of HTML documents can result in complex applications that are not efficient, and difficult to reuse, enhance, and maintain. Best practices can change all that.
Servlets and JSP Step Up
The upcoming J2EE 1.4 includes the new Servlet 2.4 and JavaServer Pages (JSP) 2.0 technologies for Web application development in Java. This article offers a look at the new features in both specifications and provides sample code for each feature where appropriate. The article assumes familiarity with the previous versions: Servlet 2.3 and JSP 1.2. The examples presented were tested with Tomcat 5, which is included in the Java Web Services Developer Pack 1.2.
Servlets in Apache Tomcat and BEA Systems' WebLogic Server
In this article, Steven Gould reviews the steps involved in developing servlets, then describes how to take the servlet and create a Web application -- in both expanded format and as a WAR. He illustrates how to deploy the Web application in Apache Tomcat -- a widely used, freeware servlet container and the Java Servlet 2.2 Reference Implementation -- and in WebLogic Server 6.0, a full J2EE application server.
Take control of the servlet environment, Part 2
This second of a three-part series article, demonstrates the power of the RSEF framework by implementing a wrapper that gives you greater control over session management.
Untangle your servlet code with reflection
This article presents a technique to modularize the functionality of a complex servlet using reflection, thereby simplifying the servlet structure.
Web app security using Struts, servlet filters, and custom taglibs
Enterprise-level business applications need rigorous security regulations with varying roles; each role also requires its own set of access control lists. This article explains how you can use Struts, taglibs, and servlet filters to develop a powerful and flexible security model that can be used directly by almost any Web-based application.
What's new in Java Servlet API 2.2?
This article explains the differences between Java Servlet API 2.1 and 2.2, discusses the reasons for the changes, and shows how you can write servlets using version 2.2.
Writing Servlet 2.3 Filters
This article shows us how to write Servlet 2.3 API Filters. Filters are Java classes that can intercept requests from a client before they access a resource; manipulate requests from clients; intercept responses from resources before they are sent back to the client; and manipulate responses before they are sent to the client.
Computer Graphics World Computer graphics professionals turn to Computer Graphics World to them decide which computer graphics products to purchase to make their job more cost effective! ...
subscribe now