Similar Articles |
|
JavaWorld May 2002 Ryan Daigle |
Eliminate JDBC overhead Most J2EE and other types of Java applications interact in some way with information persisted in a database. Interfacing with that database involves several iterations of SQL statements, connection management, transaction lifecycles, result processing, and exception handling. The many parts of this ritualistic dance are common in all contexts; however, this replication doesn't have to exist. This article outlines a flexible framework that remedies the repetition of interacting with a JDBC-compliant database. |
JavaWorld November 2000 Abhilash Koneri |
Eliminate tedious programming: Recover data with XML and Reflection The parsing of ResultSets forms one of the most significant tasks involved in retrieving data from a database. But, as a repetitious and uninteresting assignment, it is not a favorite among developers. How to supplant ResultSet parsing in the data access objects... |
JavaWorld March 2002 James Carman |
Write once, persist anywhere Most J2EE applications strive to abstract the database tier by employing the Data Access Object design pattern. This article shows you a DAO pattern framework that you can reuse on all your projects, regardless of object type... |
JavaWorld July 18, 2003 James Carman |
Get down to business In this article, you will learn how to structure your applications such that modifications to the business object implementation do not require changes to the user interface using a simple framework for accessing your business objects. |
JavaWorld January 2001 Joshua Fox |
When is a Singleton not a Singleton? In the Singleton Design Pattern you never have more than one instance of a Singleton class. Yet sometimes you may find that, unexpectedly, more than one Singleton instance exists. How to watch out for those pitfalls and how to avoid the oxymoronic multiple Singleton... |
JavaWorld October 2002 Erik Swenson |
Simplify XML file processing with the Jakarta Commons Digester The Jakarta Commons Digester is a popular open source utility that facilitates XML file processing. This article provides an overview of Digester, followed by an example that uses Digester to parse an XML configuration file. |
JavaWorld May 2001 Markus Dorn |
Reading objects is easy with SAX By following some simple rules when mapping objects to XML, you can easily read object structures, even complex ones, from XML. See how you can use SAX to eliminate that complexity... |
JavaWorld April 25, 2003 David Geary |
Simply Singleton The Singleton pattern is one of the simplest design patterns, but for Java developers, it's full of pitfalls. This article explores the Singleton pattern and how to deal with its pitfalls while discussing multithreading, classloaders, and serialization. |
JavaWorld August 2001 Jeff Friesen |
Object-oriented language basics, Part 5 Every Java class has a superclass. In the absence of an extends keyword, Object is that superclass. Object takes center stage as this article presents its 11 methods... |
JavaWorld May 2000 Michael T. Nygard & Tracie Karsjens |
Test infect your Enterprise JavaBeans Software can never be tested sufficiently, and testing usually starts too late, particularly for J2EE applications. This article presents unit testing techniques and how to apply unit testing to Enterprise JavaBeans (EJBs). |
JavaWorld April 2001 Piet Jonas |
Secure type-safe collections A framework that overcomes the standard Java Collections Framework's main problem: its containers lack the ability to restrict themselves to storing objects of a specific type. The solution uses reflection, wrapper classes, and a collection of static factory methods... |
JavaWorld June 2000 Paul Corazza |
Using the if-then-else framework, Part 3 In this final part of a three-part series, Paul Corazza analyzes the if-then-else framework's performance and shows you how to optimize algorithms and implementation choices and minimize the risks involved in using the framework in larger-scale projects. The final product is a sleek, industry-ready upgrade of the prototype presented in previous articles, complete with new user options, a performance test harness, and automated safety features capable of handling thousands of conditions and rules. |
JavaWorld January 2002 Yuan & Long |
Build database-powered mobile applications on the Java platform This article explains how to create mobile database applications using the Java 2 Platform, Micro Edition/Mobile Information Device Profile (J2ME/MIDP) and the Java 2 Platform, Enterprise Edition (J2EE). The authors introduce an architecture that uses JavaServer Pages (JSPs) as middleware between a MIDP frontend and a database backend. They also explain specific design decisions and implementation issues, such as persistent storage, network connection, session management, and data communication. Their discussion focuses on the integration between the client and server-side Java applications. |
JavaWorld June 6, 2003 Michael Juntao Yuan |
High-availability mobile applications The author first discusses the "occasionally-connected" paradigm for high-availability mobile applications. He explains the roles of mobile databases in this paradigm. Then, he uses an example J2ME application to illustrate the key components of mobile database applications. |
JavaWorld January 2001 Brian Goetz |
Design for performance, Part 1: Interfaces matter Many common Java performance problems stem from class-design decisions made early in the design process, long before most developers even start thinking about performance... |
JavaWorld September 2000 Michael C. Daconta |
Steer clear of Java pitfalls Avoiding Java programming problems can save you considerable time and frustration when developing programs. This month, Michael Daconta presents two API pitfalls and a long-standing bug. |
JavaWorld November 2001 Kurt Jacobs |
Subscribe now for rapid prototyping Developers often find themselves reengineering an API to meet the demand of evolving requirements. By providing a framework for a more flexible system, the Publisher-Subscriber pattern can help you overcome some problems associated with object dependencies... |
JavaWorld December 2000 Steven Gould |
Develop n-tier applications using J2EE Introducing the 13 core technologies of the Java 2 Platform, Enterprise Edition (J2EE): JDBC, JNDI, EJBs, RMI, JSP, Java servlets, XML, JMS, Java IDL, JTS, JTA, JavaMail, and JAF.... |
JavaWorld October 2002 Jeff Friesen |
Java's character and assorted string classes support text-processing Text-processing is one of the more frequent activities in which computer programs engage. Java supports that activity via the Character, String, StringBuffer, and StringTokenizer classes. This article explores each class and introduces you to an assortment of those classes' methods. |
JavaWorld June 2002 Sunil Kumar & Nitin Nanda |
Create your own type 3 JDBC driver, Part 2 Type 3 JDBC (Java Database Connectivity) drivers, primarily useful for Internet/intranet applications with no required client-side setting, provide flexible system administration facilities. This article explains how to compile, deploy, and use a custom driver. |
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 May 2001 Jeff Friesen |
Object-oriented language basics, Part 2 In this article, you'll gain an understanding about fields, parameters, and local variables and learn to declare and access fields and methods... |
JavaWorld September 2000 Bruce Eckel |
Everything is an object, Part 1 This two-part article, excerpted from Chapter 2 in Thinking in Java 2nd. ed., moves you to the point where you can write your first Java program. Bruce Eckel gives an overview of the essentials... |
JavaWorld January 2, 2004 Allen Holub |
More on getters and setters This article provides one of several possible programmatic solutions to the get/set-elimination problem. In particular, it demonstrates how to construct both Web-based and client-side user interfaces without exposing your object's implementation to the entire program. |
JavaWorld April 2001 Geoff Friesen |
Object-oriented language basics, Part 1 An introduction to object-oriented programming and how to declare classes and create objects from those classes... |
New Architect October 2002 Paul Sholtz |
Tame the Information Tangle A new breed of document storage and management systems has appeared that's been specially optimized for publishing XML documents on the Web. A look at native XML databases and XML-enabled databases. |
JavaWorld March 2001 Tony Loton |
Access the world's biggest database with Web DataBase Connectivity What if the World Wide Web really were a database; if each Webpage were a table that you could query using SQL or even JDBC? Then you wouldn't be limited to just browsing. This article provides Java code for accessing web pages in an SQL-like manner. |
JavaWorld June 2001 Jeff Friesen |
Object-oriented language basics, Part 3 The author explores composition and demonstrates its value in object-oriented programming. Composition and inheritance are design consepts related in a manner similar to both sides of the same coin... |
JavaWorld July 2000 Bill Venners |
Objects versus documents for server-client interaction, Part 2 In this three-part series, Bill Venners compares the traditional approach to defining client/server interaction, using protocols and documents, with Jini's strategy of using objects and interfaces. |
JavaWorld April 25, 2003 |
Letters to the Editor Authors discuss static versus lazy resolution; HTML/JavaServer Pages (JSP)/servlets versus Swing; thread safety with singletons; and more. |
D-Lib Jan/Feb 2010 Reilly & Tupelo-Schneck |
Digital Object Repository Server: A Component of the Digital Object Architecture This paper introduces the Digital Object Repository Server, the most recent instantiation of the Corporation for National Research Initiatives' repository work. |
JavaWorld March 2001 Vinay Aggarwal |
The magic of Merlin This technical overview will give you insight into the various new features and APIs of the upcoming JDK 1.4 -- code-named Merlin -- expected to be released this month. |
JavaWorld May 2002 Nitin Nanda |
Create your own type 3 JDBC driver, Part 1 How would you like to create your own type 3 JDBC driver or convert an existing JDBC driver to type 3? Type 3 drivers, primarily useful for Internet/intranet applications with no required client-side setting, provide flexible system administration facilities... |
InternetNews January 9, 2008 Andy Patrizio |
SpringSource's Update to .NET Adds Key Java Features SpringSource's Spring.Net provides programmers with features previously only available to Java developers. |
JavaWorld March 2001 Brian Goetz |
Design for performance, Part 3: Remote interfaces Many common Java performance problems stem from class design decisions made early in the design process, long before most developers even start thinking about performance. This article examines performance issues specific to remote applications... |
JavaWorld December 2000 Andy Schneider |
JUnit best practices Extreme Programming's rise in popularity among the Java community has prompted more development teams to use JUnit: a simple test framework for building and executing unit tests. Like any toolkit, JUnit can be used effectively and ineffectively... |
JavaWorld October 2000 Brett McLaughlin |
Validation with Java and XML Schema, Part 2 A roadmap for taking Java method parameters and validating them against constraints in an XML document. Various approaches will be examined, and you will begin to actually code the utilities for converting those XML constraints into usable Java utilities... |
D-Lib June 2001 John S. Erickson |
A Digital Object Approach to Interoperable Rights Management Fine-grained policy enforcement enabled by a digital object infrastructure... |
JavaWorld April 2001 Budi Kurniawan |
Program multimedia with JMF, Part 1 The Java Media Framework (JMF) enables you to process multimedia resources with just a few lines of code. Indeed, the JMF architecture resembles your stereo system, with its own Player, DataSource, CaptureDevice, and so on. Here's how to become a multimedia expert in no time... |