| Similar Articles |
 |
JavaWorld May 2000 Jason Hunter & Brett McLaughlin |
Easy Java/XML integration with JDOM, Part 1 JDOM is an open source API designed to represent an XML document and its contents to the typical Java developer in an intuitive and straightforward way....  |
JavaWorld November 2000 Geoff Friesen |
Applications, applets, and hybrids This article establishes our bearings and sets sail to the land of applications, applets, and hybrids (an unusual category of Java programs)...  |
JavaWorld June 2001 Michael Daconta |
An API's looks can be deceiving When you examine an API, your first impressions are often wrong. The author examines two cases where an intuitive model of how an API should work trips over the complexity of implementation details...  |
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 July 2000 Jason Hunter & Brett McLaughlin |
Easy Java/XML integration with JDOM, Part 2 JDOM is a new API for reading, writing, and manipulating XML from within Java code. In Part 1 of this series, Hunter and McLaughlin explained how to use JDOM to read XML from an existing source. In this final part, they focus on how you can use JDOM to create and mutate XML.  |
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 August 2002 Michael Juntao Yuan |
Access Web services from wireless devices The Simple Object Access Protocol (SOAP) has become the most important data exchange protocol for XML Web services. All Web services applications must support SOAP. This article introduces an essential tool to support Web services on small wireless devices -- the kSOAP parser.  |
JavaWorld July 2000 Mark Johnson |
Programming XML in Java, Part 3 An in-depth look at the Document Object Model (DOM), the most common alternative XML-processing mechanism. See how you can use DOM to manipulate the source code data in an illustrative example program...  |
JavaWorld July 25, 2003 David Geary |
Make your apps fly Allocating numerous objects can degrade your application's performance. This article shows how to implement the Flyweight design pattern to greatly reduce the number of objects your application creates, which decreases your app's memory footprint and increases performance.  |
JavaWorld September 2000 Andre Tost |
XML document processing in Java using XPath and XSLT The XSLT and XPath standards provide a way of handling certain problems that is more elegant and efficient than simply using the DOM API. In fact, using DOM, XSLT, and XPath together, applying each to different problems, will lead to the best code...  |
JavaWorld September 2002 Frank Sommers |
I like your type: Describe and invoke Web services based on service type The Web Service Description Language (WSDL) provides an XML grammar for defining and advertising a Web service, including a service's type. This article gives an overview of how to describe a Web service with WSDL using Apache Axis tools and Java.  |
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 September 2000 Todd Sundsted |
Alternative deployment methods, Part 3: The code In Part 3 of his series on application deployment, Todd Sundsted looks at the code that supports the deployment tool he described in Part 2. This article explains the framework's operation, highlights its design features, and explores the challenges of building this type of application.  |
JavaWorld August 2000 Robert Hustead |
Mapping XML to Java, Part 1 The SAX API is superior to the DOM API in many aspects of runtime performance. In this article we will explore using SAX to map XML data to Java. Because using SAX is not as intuitive as using DOM, we will also spend some time familiarizing ourselves with coding to SAX.  |
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 November 2000 Brett McLaughlin |
Validation with Java and XML schema, Part 3 Taking validation beyond simple if-then-else structures, XML schemas can provide a better way to validate data in Java applications. You'll learn to parse the XML schema, build up Java representations of the schema's constraints, and apply those constraints to an application's data...  |
JavaWorld December 2001 Sam Brodkin |
Use XML data binding to do your laundry This article walks you through two frameworks for generating Java classes automatically from XML data constraints: Sun's Java Architecture for XML Binding (JAXB) and Castor from the Exolab Group...  |
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 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 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...  |
JavaWorld December 2001 Taylor Cowan |
XSLT blooms with Java XSLT (Extensible Stylesheet Language Transformation) offers an excellent vehicle for styling XML documents as HTML. However, it shows some weakness when the transformation requires extensive logic. When XSLT languages fail to complete the job, you can extend your stylesheets with Java classes and take advantage of both languages' features. This article demonstrates how to extend XSLT with Java. You will learn how to instantiate and invoke methods on Java objects from within an XSLT stylesheet. The article also demonstrates how XML nodes are passed to Java classes and returned back to the stylesheet for further processing.  |
JavaWorld February 2002 Jeff Friesen |
Classes within classes As with fields and methods, Java allows classes to be members of other classes. This article explores Java's support for class nesting...  |
JavaWorld October 2000 Robert Hustead |
Mapping XML to Java, Part 2 This article develops a SAX API-based class library that is easily extended to create XML-to-Java mapping code. First, we explore the important ideas that drive the need for the class library. Then we develop a basic approach for implementing the library as well as a few samples that demonstrate some more advanced topics on parsing XML with the SAX API...  |
JavaWorld October 3, 2003 Dawid Weiss |
Discover new dimensions of scripted Java This article presents an extension to BeanShell that turns scripts into real Java classes that support inheritance, Java reflection, method overriding, and so on. The extension is designed to be fully transparent to the Java application using it.  |
JavaWorld January 2002 Jason Cai |
Combine the Session Facade pattern with XML This article explores the benefits and advantages of using the Session Facade pattern. The author discusses when to use the pattern with value objects, and when to use it with XML. He also provides a detailed implementation of the Session Facade pattern integrated with XML...  |
JavaWorld December 2000 Robert Nielsen |
Calculating Java dates Whether you are dealing with financial transactions or planning future activities, you need to know how to create, use, and display dates in a Java program. That requires more than simply looking up the appropriate class in the API reference: just one date can easily involve creating objects in three date-related classes. This tutorial shows what you need to know.  |
JavaWorld December 2001 David Geary |
Decorate your Java code The Decorator design pattern lets you attach responsibilities to objects at runtime. This pattern proves more flexible than inheritance, which is static...  |
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...  |
JavaWorld February 2001 Robert Nielsen |
Learn Java from Ben Franklin While Benjamin Franklin never wrote a line of Java code, his techniques for better writing can be applied to writing Java. Anyone with at least a basic grasp of Java can use Franklin's learning methods...  |
JavaWorld May 2, 2003 Jeff Friesen |
Datastructures and algorithms, Part 1 After presenting basic datastructure and algorithm concepts, this article focuses on the array datastructure and associated algorithms. The article concludes with the assertion that Java's arrays are objects.  |
JavaWorld February 2002 David Geary |
Take control with the Proxy design pattern The Proxy design pattern in Java lets you substitute a proxy for an object. In that capacity, proxies prove useful in many situations, ranging from Web services to Swing icons...  |
JavaWorld October 2000 Michael Koch |
Leverage legacy systems with a blend of XML, XSL, and Java As e-commerce becomes a focal point for companies scrambling to have a presence on the electronic frontier, incorporating those new ventures into the existing infrastructure becomes crucial. A few creative applications using XML and Java can give you a good solution...  |
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 October 2001 Jeff Friesen |
Object-oriented language basics, Part 7 This final installment of Java 101's object-oriented programming series explores Java's support for polymorphism and investigates how abstract classes accommodate generalities in class hierarchies.  |
JavaWorld March 2002 Jeff Friesen |
Exceptions to the programming rules, Part 1 Learn about exceptions and how to handle them in C, C++, and Java. Learning how to handle exceptions in various languages gives you an appreciation for why exception handling works the way it does in Java...  |
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 October 2001 Tony Loton |
JavaMail quick start This article shows the first steps on the road to building Java-based email applications. If you fancy building your own email client to replace Microsoft Outlook, or a Web-based email system to rival Hotmail, this is the place to start...  |
JavaWorld April 11, 2003 Mitch Gitman |
Axis-orizing objects for SOAP Axis is an open source Java framework for implementing Web services over XML-based SOAP. This article guides the reader through the minefield of developing and deploying a sophisticated Web service using Axis.  |
JavaWorld December 2000 Mark Johnson |
C#: A language alternative or just J--?, Part 2 Despite their enormous similarities, Java and C# differ greatly in many language details and also in their basic technical intent. This second article of a two-part series covers C# language constructs and concludes with some speculation on the idea of standardizing C#...  |
JavaWorld November 2001 Jeff Friesen |
Class and object initialization An exploration of class and object initialization, which introduces the strange concepts of the <clinit> and <init> methods...  |
JavaWorld January 2003 Joseph Shomphe |
Enhance your J2EE presentation layer With the introduction of Remoting capabilities to Macromedia's Flash product, Java developers have a whole new type of presentation layer to consider besides JSP (JavaServer Pages) and Swing when building a J2EE application.  |
JavaWorld June 13, 2003 Jeff Friesen |
Datastructures and algorithms, Part 2 This article concludes a two-part series that explores two important computer science topics: datastructures and algorithms.  |
JavaWorld July 2000 Todd M. Greanier |
Flatten your objects The Java Serialization API is used by many other Java APIs (like RMI and JavaBeans) to persist objects beyond the duration of a running virtual machine. This article tries to demystify the secrets of the Java Serialization API.  |
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 February 2001 Brian Goetz |
Design for performance, Part 2: Reduce object creation 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. The author discusses some techniques for reducing temporary object creation...  |
JavaWorld November 14, 2003 Allen Holub |
Create client-side user interfaces in HTML, Part 2 This "Create Client-Side User Interfaces in HTML" series continues by examining the HTMLPane sources. Part 2 offers examples of how to customize the JEditorPane to support custom tags and also provides an extended description of the Factory Method design pattern.  |
JavaWorld February 2002 Dennis M. Sosnoski |
XML documents on the run, Part 1 Event-driven XML document processing with SAX (Simple API for XML) and SAX2 can greatly improve performance and can avoid document size limits associated with in-memory representations such as DOM (Document Object Model) or JDOM...  |
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 September 2002 Joe Walker |
XML glossary With XML evolving at a rapid pace, many developers get lost in a sea of acronyms. This article defines many XML technologies crucial to Java developers  |
JavaWorld August 2001 Ray Djajadinata |
Sir, what is your preference? J2SE 1.4 offers a number of new APIs to make your Java development life easier. This article discusses one of those APIs: Preferences. It explains how Preferences solves typical problems in managing our applications' preferences, while still being simple and easy to use.  |