| View: | [ 2009 | 2008 | 2007 | 2006 | 2005 | 2004 | 2003 | 2002 | 2001 ] |
| Articles Books | HOW-TOs Tutorials |
- Java theory and practice: State replication in the Web tier by Brian Goetz - [Clicks: 65]
Most nontrivial Web applications require maintaining some sort of per-session state, such as the contents of a user's shopping cart. How state will be managed and replicated in a clustered server application has a significant impact on the scalability of the application. Many J2SE and J2EE applications store state in the HttpSession provided by the Servlet API. This month, columnist Brian Goetz examines some of the options for state replication and how to most effectively use HttpSession to provide good scalability and performance.
http://www-106.ibm.com/developerworks/library/j-jtp07294.html - Jul, 2004 - Write thread-safe servlets by Phillip Bridgham - [Clicks: 164]
… Well, if you're a Java programmer and developing Web applications, then thread safety is an issue you must contend with regardless of your application type or project size. Your servlet and JavaServer Pages code is subject to thread safety issues due to the way your servlet container uses it. This article presents thread safety in simple terms and explains why it can be an issue for your servlets. You also learn how to avoid writing non-thread-safe servlets and how to make servlets thread-safe.
http://www.javaworld.com/javaworld/jw-07-2004/jw-0712-threadsafe.html - Jul, 2004 - Servlet and JSP performance tuning by Rahul Chaudhary - [Clicks: 95]
In this article, Rahul Chaudhary describes performance-tuning techniques (PTT) that can be used to improve the performance of servlets and JSP pages, thus improving the performance of your J2EE applications. The author assumes the reader has basic knowledge of servlets and JavaServer Pages.
http://www.javaworld.com/javaworld/jw-06-2004/jw-0628-performance.html - Jun, 2004 - Unheralded Java Filters Simplify Web-app Testing by Eric Jansson - [Clicks: 49]
Java filters, the powerful—yet under-appreciated—components of the Java Servlet specification, can perform a range of useful tasks. Make them a part of your Java Web application toolkit.
http://www.devx.com/Java/Article/21029 - May, 2004 - Generating Images with JSPs and Servlets by Joshua Marinacci - [Clicks: 69]
Java's imaging APIs aren't just for desktop applications anymore! In this article, Joshua Marinacci looks at how servlets and JSPs can use the Java2D graphics API to create on-demand graphics for web users.
http://today.java.net/pub/a/today/2004/04/22/images.html - Apr, 2004 - Using a Request Filter to Limit the Load on Web Applications by Ivelin Ivanov, Kevin Chipalowsky - [Clicks: 60]
When your site is slow, users keep clicking and making new requests, which only makes things worse. Kevin Chipalowsky and Ivelin Ivanov present a servlet filter that limits the stress a single user can put on your Java web application.
[Includes source code]
http://www.onjava.com/pub/a/onjava/2004/03/24/loadcontrol.html - Mar, 2004 - Another Java Servlet Filter Most Web Applications Should Have by Jayson Falkner - [Clicks: 68]
Adding to his previous must-have servlet filters, Jayson Falkner introduces another: one to activate client-side caching, so browsers won't re-request items they can just cache.
http://www.onjava.com/pub/a/onjava/2004/03/03/filters.html - Mar, 2004 - Cooking with Java Servlets & JSP, Part 2 by Bruce W. Perry - [Clicks: 53]
In this second and final batch of recipes excerpted from Java Servlet & JSP Cookbook, author Bruce Perry shows you how to access an EJB from a servlet on WebLogic, and how to connect to Amazon Web Services (AWS) with a servlet or JSP.
[O'Reilly Book Excerpts: Java Servlet & JSP Cookbook]
http://www.onjava.com/pub/a/onjava/excerpt/jsvltjspckbk_chap01/index1.html - Mar, 2004 - Cooking with Java Servlets & JSP by Bruce W. Perry - [Clicks: 61]
Learn how to use the Java Plug-in HTML Converter tool to generate the tags for embedding an applet, how to configure a javax.sql.DataSource for use in a servlet with the Tomcat web container, and how to use the JSTL's XML and XSLT-related tags.
[O'Reilly Book Excerpts: Java Servlet & JSP Cookbook]
http://www.onjava.com/pub/a/onjava/excerpt/jsvltjspckbk_chap01/index.html - Feb, 2004 - The Servlet API and NIO: Together at last by Taylor Cowan - [Clicks: 40]
Think it's impossible to combine NIO and the Servlet API? Think again. In this article, Java developer Taylor Cowan shows you how to apply the producer/consumer model to consumer nonblocking I/O, thus easing the Servlet API into a whole new compatibility with NIO. In the process, you'll see what it takes to build an actual Servlet-based Web server that implements NIO; and you'll find out how that server stacks up against a standard Java I/O server (Tomcat 5.0) in an enterprise environment.
[Includes source code]
http://www-106.ibm.com/developerworks/library/j-nioserver/ - Feb, 2004 - Performance testing Java servlet-based Web applications: A guide for software test engineers by Len DiMaggio - [Clicks: 41]
As testing expert DiMaggio walks readers through the ins and outs of performance testing for applications built with Java servlets, he makes special note of ways that servlets’ distinctive characteristics can affect overall application performance.
http://www-106.ibm.com/developerworks/rational/library/2820.html - Jan, 2004 - Using a Request Filter to Limit the Load on Web Applications by Kevin Chipalowsky, Ivelin Ivanov - [Clicks: 36]
In this article, we present the design of a filter that synchronizes client requests and restricts the load each user can put on your applications. Application designers can use our filter to prevent a downward performance spiral where well-intentioned users drag an already overloaded server to its knees.
[Includes source code]
http://cocoonhive.org/articles/LoadControlFilter/load_control_filter.htm - Jan, 2004
- Java Servlet & JSP Cookbook
by Bruce W. Perry - [Clicks: 85]
O'Reilly Media, Inc., Paperback - 2004
- Servlets How-To Documents - [Clicks: 42]
These How-To Documents are aimed at helping developers to quickly start understanding certain Java Servlet features, without having to consult the detailed documentation of products or technologies.
[- How to handle exceptions in servlets; - How to read init parameters in a servlet; - How to read server information in a servlet; - How to read client information from a servlet request; - How to redirect a servlet request to another URL; - How to manage the client state using cookies.]
http://otn.oracle.com/sample_code/tech/java/codesnippet/servlets/index.html - Apr, 2004
- Introduction to Java Servlet technology by Roy Miller - [Clicks: 59]
Java developer and trainer Roy Miller revamps ourexisting introductory servlet material into this single easy-to-follow, hands-on tutorial. Roy introduces explains what servlets are, how they work, how you can use them to create Web applications of any degree of sophistication you can imagine, and how you can use servlets most effectively as a professional programmer.
[Formats: HTML, PDF, Zip]
http://www-106.ibm.com/developerworks/edu/j-dw-java-intserv-i.html?S_TACT=104AHW02 - Dec, 2004 - Building dynamic Web sites with WebSphere Studio V5.1.1 by Ron Ben-Natan - [Clicks: 39]
This tutorial demonstrates how to use WebSphere Studio V5.1.1 for building dynamic Web sites. The tutorial walks you through a simple example that makes use of Java servlets and JavaServer Pages in order to implement a simple messaging center. Using WebSphere Studio, you learn how to develop dynamic Web sites and then how to test and debug your code.
[Formats: HTML, PDF, Zip]
http://www-106.ibm.com/developerworks/edu/i-dw-wes-dynweb511-i - Jan, 2004