Similar Articles |
|
JavaWorld July 25, 2003 Dustin Marx |
More JSP best practices Advancements in the JavaServer Pages specification have eased the development of highly maintainable and standardized JSP-based Web applications. This article discusses key advancements and how each of them enables easier development of robust JSP Web applications. |
JavaWorld December 2000 Jeremy Roschelle |
Untangle your servlet code with reflection You can enlist the Reflection API to unravel an all-too-common problem in servlet development: doGet() and doPost() methods that grow long, complex, and hard to extend and debug. The use of reflection described here is fairly lightweight... |
JavaWorld November 2001 Dustin Marx |
JSP best practices This article discusses simple approaches and best practices that, when used correctly, facilitate JavaServer Pages (JSPs) development. These tips ensure reusable and easily maintainable JSPs, JSPs that allow developers to focus on their programming strengths... |
JavaWorld February 2001 Steven Gould |
Servlets in Apache Tomcat and BEA Systems' WebLogic Server This article 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... |
JavaWorld May 2002 Steve Ditlinger |
Mix protocols transparently in Struts This article builds on the solution for transparently mixing HTTP and HTTPS protocols presented in "Mix Protocols Transparently in Web Applications", showing how to extend Struts to incorporate that solution... |
JavaWorld February 2002 Julien Mercay & Gilbert Bouzeid |
Boost Struts with XSLT and XML Struts is an innovative server-side Java framework designed to build Web applications. This article introduces the processing model underlying Struts, describes the Struts framework itself, and presents Model 2X, which enhances Struts... |
JavaWorld January 2001 Milan Adamovic |
Process JSPs effectively with JavaBeans The JavaServer Pages Model II concept is well known. The basic idea is that the presentation should be separated from the processing code. This article offers an effective, reusable design for moving the dynamic content, processing, and validation from a JavaServer Page to a corresponding JavaBean... |
JavaWorld June 2002 David Geary |
Take command of your software How to use the Command pattern both in client-side Java to attach application-specific behavior to Swing menu items and in server-side Java to implement application-specific behavior with the Apache Struts application framework. |
JavaWorld August 2000 Mark Pollack |
Code generation using Javadoc This article presents a custom doclet that provides a simple extensible architecture to generate code for SQL schema, and Java and C++ classes from simple Java class definitions. |
JavaWorld August 2000 Simon Brown |
Encapsulate reusable functionality in JSP tags JavaServer Pages (JSP) are a great mechanism for delivering dynamic Web-based content. This article will show how easy it is to build, deploy, and use your own custom JSP tag, using the Servlet/JSP reference implementation, Tomcat. |
Linux Journal July 2001 Reuven M. Lerner |
Custom JSP Actions Learning shorthand for complicated Java code.... |
JavaWorld May 23, 2003 Andrei Cioroianu |
Call JavaBean methods from JSP 2.0 pages JavaServer Pages (JSP) 2.0 introduced many new features that will change the way you develop Java Web applications. This article walks you through three examples that show how to separate the JSP/HTML markup from the Java code using the new expression language (EL) and developing custom tags with dynamic attributes. |
JavaWorld February 2002 Steve Ditlinger |
Mix protocols transparently in Web applications To maintain the security of sensitive data as it travels over the Internet to or from the browser, Web applications often rely on Secure Sockets Layer. The secure Webpages and processes that transmit sensitive data utilize HTTP over SSL (HTTPS) rather than the usual HTTP. Integrating SSL into a Web application should prove seamless and simple to implement as well as maintain. This article explores typical SSL implementations and develops an SSL solution using the J2EE servlet redirect mechanism to protect sensitive data transmission. It also develops an overall solution combining JavaServer Pages custom tags and an application-specific servlet base class. |
New Architect January 2003 Paul Sholtz |
Instant Update Making your data and spreadsheets Web viewable through MVC: The Model-View-Controller (MVC) pattern is an established and well-understood software design method. |
JavaWorld November 2000 Kevin Unger |
Solve your servlet-based presentation problems Should you use raw servlets, JSP pages, servlets with a templating engine, an automatic HTML-to-Java compiler, or XSL stylesheets to implement content presentation in your next thin-client application? This article surveys the various techniques and helps you make the best decision... |
JavaWorld January 2001 Vincent DiBartolo |
FreeMarker: An open alternative to JSP You can place FreeMarker tags in text files of any format and are not married to any server-side architecture or solution. FreeMarker is easily extensible, and you can quickly build a library of reusable custom objects that will live longer than the technology solutions that utilize them... |
JavaWorld November 2002 David Geary |
A first look at JavaServer Faces, Part 1 JavaServer Faces, with a well-defined request processing lifecycle and a rich component hierarchy, will profoundly affect the development of Java 2 Platform, Enterprise Edition (J2EE) applications. Part 1 of this series introduces JavaServer Faces and explores its fundamental concepts. |
JavaWorld February 2002 Victor Okunev |
Generate JavaBean classes dynamically with XSLT For some projects, you need a more flexible business object structure. This article lays a foundation for a simple framework to build truly adaptive systems, saving you hours of routine programming... |
JavaWorld December 5, 2003 Borislav Iordanov |
Dynamic server includes with local runtime context This article shows how to achieve true black-box reuse of frontend logic in the form of JSP pages or Java servlets, by wrapping the servlet request object and effectively creating a local runtime context for an included resource. |
JavaWorld December 2000 Thor Kristmundsson |
Strut your stuff with JSP tags Learn how to use the custom tags from the open source Struts library and create extensions that ease the coding of properties associated with field values and user input validation... |
JavaWorld June 2000 Thomas E. Davis |
Use Microsoft's Internet Information Server as a Java servlet engine Are you a Java fanatic trapped in a Microsoft-only shop? Using just Microsoft's Internet Information Server and pure Java, you can run Java servlets without the help of any third-party products. |
Linux Journal November 2001 Michael Yuan |
Linux in Education: Implementing a Research Knowledge Base Keeping up with large volumes of research requires a system both flexible and intuitive... |
JavaWorld February 2002 Thierry Janaudy |
Accelerate EJB 2.0 development with EJBGen EJBGen is a free command-line tool that limits your code editing to just one file, the bean class. Step-by-step, this article shows you how to use EJBGen to speed your Enterprise JavaBeans (EJB) 2.0 development, especially for entity bean container-managed persistence... |
JavaWorld November 2000 Anil Hemrajani |
Freeware: Is it really worth it? It is very tempting to use the free products available now, such as Java servlet/Java Server Pages (JSP) engines and relational databases. But let the buyer beware -- you might get what you pay for... |
JavaWorld August 29, 2003 David Geary |
Follow the Chain of Responsibility The Chain of Responsibility (CoR) pattern decouples the sender and receiver of a request by interposing a chain of objects between them. This article discusses the CoR pattern and two implementations of that pattern in the Java APIs -- one from client-side Java and the other from server-side. |
JavaWorld April 2001 Anil Hemrajani |
How many times do you restart your server during development? Java's dynamic class-loading capabilities are a major plus, but its lack of class-reloading functionality can waste development time when you're forced to restart your server several times. Is there a solution? |
JavaWorld June 2001 Brian R.J. Heumann |
Personalize your Website with skins You can give your users control over your Website's look and feel by exploiting user profiles and factoring out key visual design elements into skins. This article demonstrates a basic skin server and shows how you can use that server to begin personalizing your JSP-based Website. (1,000 words) |
JavaWorld August 29, 2003 |
Letters to the Editor JavaWorld authors discuss byte code encryption; jEdit's attractive features; method synchronization; and more. |
JavaWorld March 2003 Jason Hunter |
Servlet 2.4: What's in store On March 7, 2003, Sun Microsystems released the "Proposed Final Draft 2" specification for Servlet 2.4. This article explains the differences between Servlet 2.3 and 2.4, discusses the reasons for the changes, and explains how you can take advantage of the new features in 2.4. |
JavaWorld October 2001 Ilirjan Ostrovica |
Facilitate form processing with the Form Processing API 2.0 This introduction to the Form Processing API's newest version explores its most significant improvements: form design in XML format, support for clients other than HTML, enhanced support for various presentation techniques, and validation in field groups. He illustrates those features through an application example implemented with two different presentation techniques -- JSP and XML-XSLT-HTML in a Servlet 2.3 filter. |
JavaWorld July 11, 2003 Robert Swarr |
Power Java programming -- free! This article shows you how to build an IDE that includes open source tools such as CVS, Ant, and JUnit. It shows you how to transform the jEdit programmer's text editor into an IDE that supports an extreme programming approach and how to extend jEdit by developing your own plug-ins. |
JavaWorld January 2001 Jason Hunter |
Servlet 2.3: New features exposed In October 2000, Sun released the 'Proposed Final Draft' specification for Servlet API 2.3. This article explains the differences between Servlet API 2.2 and 2.3, discusses the reasons for the changes, and shows you how to write servlets (and now filters!) using 2.3... |
JavaWorld December 2001 |
Letters to the Editor In this month's letters, David Geary expounds further on the Decorator pattern, Humphrey Sheil defends EJB performance, and Jeff Friesen talks more trash... |
JavaWorld November 2000 Thomas E. Davis, Craig Walker |
Take control of the servlet environment, Part 1 The ever-popular servlet cleanly and simply develops and deploys Web-based applications. However, although Java is platform independent, the Web as a whole is not. The language and the servlet API do not provide such niceties as optional session-persistence schemas (i.e., store in memory, in a database, or in a cookie), and they don't easily accommodate ad hoc solutions to shortcomings in cookie handling. To handle such issues, Thomas Davis and Craig Walker have developed an unobtrusive framework, an invisible layer between your servlets and the servlet engine, that gives you greater control over the environment. |
JavaWorld July 2000 Mario Apicella |
Secant keeps Web servers responsive Secant's Extreme Internet Server 3.5 Web server guarantees Website reliability by offering dynamic load balancing across multiple Java servlet and JSP engines. Although it lacks support for some popular scripting languages, it could be the answer to your Web server prayers. |
D-Lib Nov/Dec 2009 Cristina & Daniel Tofan |
A Low Cost, Low Memory Footprint, SQL and Servlet-based Solution for Searching Archived Images and Documents in Digital Collections A simple, elegant solution to digitizing special collections documents to meet the needs of the institution without additional monetary commitments. |
JavaWorld May 2002 |
A J2EE presentation pattern: Applets with servlets and XML Sometimes a standard HTML view on your J2EE-based system doesn't offer a sophisticated enough user interface. Based on the pattern described here, you can enhance such a Web interface with the Java Plug-in. The Java Plug-in lets you embed applets that consume XML documents and display the contained data in a particular way. These XML documents contain presentation data derived from servlets looking at your business logic tier. This lets your users access powerful UI components while still retaining a strong decoupling between the business logic and presentation tiers---without complicated firewall issues. |
JavaWorld December 2000 Thomas E. Davis, Craig Walker |
Take control of the servlet environment, Part 2 Implement a wrapper that gives you greater control over session management. Session state can be stored in the browser, in the server's memory, or in the database. You can have all three solutions at your fingertips, painlessly interchangeable... |
JavaWorld June 2001 Jason Hunter |
Filter code with Servlet 2.3 model An in-depth look at the new servlet filter model with an examination of several freely available filters. You'll learn how these filters work and what you can do with them... |
JavaWorld January 2001 Thomas E. Davis & Craig Walker |
Take control of the servlet environment, Part 3 Browser cookies are wolves in sheep's clothing. Developers use these incredibly simple and useful mechanisms to create Web-based applications that rely on the persistence of sessions. However, cookies feature an odd little problem in relation to subdomains... |
JavaWorld June 2001 Tim Fielden |
Middleware that beats the budget For applications ranging from dynamic Websites to large-scale e-commerce systems, organizations shopping for a Java application server would do well to consider open source solutions. Many that provide enterprise-class features are available free or for low licensing fees... |
JavaWorld September 2000 John Zukowski |
Which JSP book serves up the best lesson? JavaServer Pages is the latest craze for generating dynamic content Webpages for cross-platform and cross-Web server support. With at least six JSP books in stores today, more coming, and book prices rising, making the best book choice can be overwhelming... |
JavaWorld March 2001 Sonal Bansal & Gaurav Pal |
Deliver cellular messages with SMS The growth in mobile communication devices has fueled demand for Internet-enabled services that those devices can readily access. This article details a practical server-side Java-based push solution that can provide information services to cell phones via SMS... |
JavaWorld March 2002 Humphrey Sheil |
The JavaOne grapevine, Part 3 The Concurrency Utilities BOF, IBM and Java, JiniFest, and more... |
InternetNews March 17, 2006 Sean Michael Kerner |
Apache Tomcat Hits Sweet Sixteen Apache Tomcat is now proclaiming stability for the 16th release in its 5.5.x series. Version 5.5.16 further strengthens the maturity of the platform as the march to the next major version begins. |
JavaWorld March 2001 Dr. John Farrell |
Make bad code good Practical steps for revising, refactoring, and rebuilding bad code so that it performs the functions required of it, and becomes good code that you're proud to maintain. By following these steps, you can save the project without losing your sanity or working late... |
D-Lib Jul/Aug 2000 Thornton Staples & Ross Wayland |
Virginia Dons FEDORA: A Prototype for a Digital Object Repository After shopping for a digital library system unsuccessfully, in 1999 we created a digital library research and development group and set about creating the system that we need. |
JavaWorld February 2001 Eoin Lane |
Add XML to your J2EE applications The author proposes an open source replacement for the J2EE presentation layer by building an XML-aware application server with a fully operational end-to-end solution. The solution consists of an application server based on open source technologies from Apache, jBoss, and the W3C... |
JavaWorld April 2001 Kelly Davis & Robert Di Marco |
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... |
JavaWorld May 2002 Nik Silver |
Jtrix: Web services beyond SOAP This article describes Jtrix, an open source Web services platform for secure, roving applications. It examines the limits of existing standards, Jtrix's core model, and how Jtrix enables you to create Web services in such areas as hosting, disk space, and CPU time... |