My Publications

Java Servlets for JavaScripters

In this article (written primarily for those developing in server side JavaScript) I explain the basics of working with Java on the server via the Servlet API. I start with a brief overview of servlets and their role in server-side software development. Then I compare Javascript applications with servlets in a number of crucial areas of program design. Server side JavaScript and Java servlets are alike in more way then you might think. Download a PDF of this article.

  Permalink |  Comments[0]



Applet to Servlet Communication

Java Applets and servlets can be used together in the design of today’s multitiered web applications. Applets provide a convenient mechanism for building powerful, dynamic interfaces to applications, while servlets give us a highly efficient means to handle requests on a web or application server. Due to limitations imposed on applets by the browser security model, getting data and messages into or out of an applet isn’t as straightforward as it might seem. In this article I explain the restrictions facing developers in the applet-servlet architecture and explore several different communications tactics that enable data transfer between them. Download a PDF version of this article.

  Permalink |  Comments[0]





Beyond Dynamic HTML: Using JSP for Non-HTML Content

JavaServer Pages technology is often used to generate dynamic HTML on the web, but did you realize that it can go farther than that? JSP can be used to generate all sorts of dynamic text, from XML to cascading style sheets. This article even shows you how to create an Excel spreadsheet through JSP. Available in the June 2001 issue of JavaReport. (Not Online).

  Permalink |  Comments[0]



Building Your Own JSP Components

This article was adapted from my book, Web Development with JavaServer Pages. The JSP component model is centered on Java software components called Beans, which must adhere to specifications outlined in the JavaBean API. The JavaBeans API, created by Sun Microsystems with industry cooperation, dictates the rules that software developers must follow to create stand-alone, reusable Java software components. By using JSP’s collection of Bean tags, content developers can use the power of Java to add dynamic elements to their pages without writing a single line of code. Download a PDF of this article.

  Permalink |  Comments[0]



The Nuts and Bolts of Relational Databases

Relational databases have long been a staple of big, well-funded enterprises, but lately they’ve been finding their way to a different audience of users. Nowadays, most large-scale web sites employ databases for at least some portion of their content. User registration information, inventory records, and event calendars are all commonly managed through a database. Consequently, some web developers are finding themselves faced with the challenge of getting up to speed on database development. If you’ve never developed database code and aren’t sure how a database works, this article will help by providing you with an introduction to the core concepts. Download a PDF of this article.

  Permalink |  Comments[0]



Adding Database Support with JDBC

In this article, I describe how to use JDBC to add database support to your Java applications, applets, or servlets. If you’ve never developed database code in Java before, this article will help you get started. Download a PDF of this article.

  Permalink |  Comments[0]



Looking into Enterprise JavaBeans

This article will introduce you to Enterprise JavaBeans, Sun’s enterprise component model for quickly building reusable, transaction enabled applications. In it you will learn how applications can be designed around EJB components, learn the difference between EJBs and JavaBeans, and build a simple component. Download a PDF of this article.

  Permalink |  Comments[0]



Extending the Server Side JavaScript File Object

This article focuses on component development with Netscape’s Server Side JavaScript technology. In it, I explain how to create and extends objects for your own use inside your applications. Throughout the article I extend the built in File object to add a number of useful new methods and extensions. Download a PDF of the article.

  Permalink |  Comments[0]



Form Data Handling in JavaScript

This article explains a technique for working with form data through JavaScript (on the client, not the server). In it, I explain how to leverage the client, bypassing the server entirely, to process and work with information. Not only does it reduce deployment complexity, but it also enables you to provide online/offline capabilities without resorting to applets or plugins in some cases. Download a PDF of this article.

  Permalink |  Comments[0]



DevEge Web Developer’s Library

devedge.gif I was a contributing author to this collection of tricks, tips, and essays on numerous aspects of web application design and development. It was edited by Paul Dreyfus, and contains information about Java, JavaScript, and HTML. A lot of material in the book comes from Netscape developers and authors. Purchase from Amazon.com

  Permalink |  Comments[0]



< Newer Articles | Older Articles >