Similar Articles |
|
JavaWorld December 2000 Michael C. Daconta |
When Runtime.exec() won't This installment of Java Traps discusses one new pitfall and revisits another from the previous column. Originating in the java.lang package, the pitfall specifically involves problems with the Runtime.exec() method. |
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 2001 Michael C. Daconta |
Practice makes perfect One pitfall stumbled on while porting an Extensible User Interface Language (XUL) game to Java and two pitfalls sent in by readers... |
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 May 2000 Jason Briggs |
Dynamic user interface is only skin deep A skin is a collection of images and a definition file, which together describe an application interface. Here are ways to use skins to customize your applets... |
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 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 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 September 2001 Kevin Pauli |
Pattern your way to automated regression testing In complex systems, the results of one unit test can alter the expected results of another. By applying well-established design patterns to your architecture, you can seamlessly unit test code that accesses databases... |
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 May 30, 2003 David Geary |
Facade clears complexity The Facade design pattern simplifies complex APIs by providing a simplified interface to a complex subsystem. This article explores a built-in Swing facade for creating dialog boxes and a custom facade for getting a Swing application off the ground. |
JavaWorld October 3, 2003 Allen Holub |
Create client-side user interfaces in HTML This article presents a variant on Swing's JEditorPane that makes it possible to specify an entire screen of your client-side user interface (UI) in HTML. |
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 October 2001 David Geary |
Amaze your developer friends with design patterns Design patterns are proven techniques for implementing robust, malleable, reusable, and extensible object-oriented software. This article introduces design patterns to Java developers and explores Strategy, Composite, and Decorator -- three common, yet powerful, design patterns in the JDK... |
JavaWorld July 2000 Jacob Weintraub |
Learn how to store data in objects In this second installment of Java 101, Jacob Weintraub delves into storing data in Java and the various ways you can use that data. Specifically, he examines how objects store data and how you can pass data to objects in method calls... |
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 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 July 2001 Michael Cymerman |
Device programming with MIDP, Part 3 This article explores the methods of communication between the MIDlet and the world at large. Using the APIs contained in Java 2, Micro Edition's Mobile Information Device Profile (MIDP), developers can interact with external systems... |
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 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 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 December 2002 David Geary |
A first look at JavaServer Faces, Part 2 JavaServer Faces, with a well-defined request processing lifecycle and a rich component hierarchy, will profoundly affect the development of J2EE applications. Part 1 of this two-part series introduced JavaServer Faces and explored its fundamental concepts. Part 2 examines more advanced concepts such as custom validation, internationalization, and custom component implementation. |
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 April 2001 Ilirjan Ostrovica |
Facilitate form processing with the Form Processing API This article introduces the Form Processing API, a Java servlet-based API that can help you simplify form processing... |
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 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 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 September 2002 Erik Eide |
Manage your software with the Java Product Versioning Specification This article introduces the Java Product Versioning Specification and functionality built into the Java platform designed to support the evolution of software products and components in a simple, standardized manner. |
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 March 2001 Michael C. Daconta |
Dodge the traps hiding in the URLConnection class This article focuses on problems with posting to an HTTP URL and the bane of new Java programmers, the NoClassDefFoundError... |
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 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 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 December 2000 Tony Loton |
Make an EJB from any Java class with Java Reflection Creating EJB versions of your classes and converting the applications that use them can be time-consuming -- unless you automate the process. Read on to find out how you can automate the routine aspects of EJB development by using Java Reflection... |
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 November 2000 Brian Goetz |
Tweak your IO performance for faster runtime Although poor performance claims have plagued Java for some time, Java programs can run just as quickly as programs written in C and C++ if developers pay attention to performance issues throughout the development cycle, especially in IO... |
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 September 2001 Jeff Friesen |
Object-oriented language basics, Part 6 Learn why Java's standard class library contains empty interfaces (such as Cloneable and Serializable). Also, examine the power of interfaces and learn why they provide more than a workaround for Java's lack of multiple implementation inheritance support... |
JavaWorld December 2000 Victor Okunev |
Validation with pure Java The importance of employing a good data-validation framework cannot be overestimated. The core Java API has everything you need to solve this problem in the most elegant way. |
JavaWorld June 2001 Todd Sundsted |
Secure your Java apps from end to end, Part 1 The foundation of Java security: virtual machine and byte code security... |
JavaWorld December 2000 Brett McLaughlin |
Validation with Java and XML schema, Part 4 Taking validation beyond simple if-then-else structures, XML schemas can provide a better way to validate data in Java applications. You'll parse the XML schema, build up Java representations of the schema's constraints, and learn how to apply those constraints to data in an application... |
JavaWorld August 2001 Bill W. Davis |
Dynamically extend Java applications Do you want to write programs that can be extended without source code changes? The techniques described in this article show you how to use interfaces and dynamic class loading to create highly extensible systems... |
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 March 2002 Dennis M. Sosnoski |
XML documents on the run, Part 2 Frameworks for event-driven programming simplify working with complex document structures in SAX2 (Simple API for XML). This article extends the handling approach introduced in Part 1 by making it fully modular and easily extensible for nested document components... |
JavaWorld July 2000 Patrick Sean Neville |
Crafting Metadata Like a classic plot retold in a new setting, software applications have extended lifetimes when decoupled from their contextual details. This article exposes how traditional configuration files, XML-based properties, and cryptography help keep such details out of code. |
JavaWorld June 2000 Julie Salzmann |
News and New Product Briefs IBM unveils chips with silicon-on-insulator transistors; Syndeo Collaboration Suite creates Web applications with EJBs; MapXtreme 3.0 adds Web capabilities; BeVocal sounds off with VocalSuites; Flashline Component Manager organizes Java resources; Microsoft discovers IE 5 security bug, etc. |
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 September 2000 Jennifer Wilson |
Java Product News Free downloads available for devicetop.com developers; Sun endorses MPEG-4 standard; Flashline.com boosts JBuilder 4 with Flashline Component Manager; new dialog server quickly sets Web interfaces into action; MessageBay adds audio to banner ads; O'Reilly releases second edition of Java programming guide; and more. |
Unix Insider November 2000 Cameron Laird, Kathryn Soraiz & Derek Lac |
Scripting systems unite An introduction to Silk, the programming language that unites Java and Scheme... |
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... |