Similar Articles |
|
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 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 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 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 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 September 2002 Jeff Friesen |
Packages organize classes and interfaces Professional Java developers organize frequently used classes and interfaces in class libraries for later reuse. Learn what constitutes a package, how to create a package of classes and interfaces, how to import packaged classes and interfaces into a program, and more. |
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 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 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 March 2001 Geoff Friesen |
The ins and outs of standard input/output The author focuses on standard I/O. The mechanism uses devices for inputting and outputting data and still plays a role in modern GUI (graphical user interface) operating systems... |
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 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 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. |
Home Toys August 2004 Gary Drake |
Using a Low Cost Personal Computer to Create a Web Enabled Monitoring System With a little care, free software and Automation from BroadbandSentry your old desktop computer can be converted to monitor the Status of your home or office. |
Linux Journal May 1, 2000 Jacek Artymiak |
Python Programming for Beginners If you want to outsmart the Spanish Inquisition, learn Python. This article is a practical introduction to writing non-trivial applications in Python. |
JavaWorld February 2003 Jeff Friesen |
Regular expressions simplify pattern-matching code To help you write simpler pattern-matching code, Java provides regular expressions. After introducing you to terminology and the java.util.regex package, the author explores many regular expression constructs supported by that package's Pattern class. |
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 February 2001 Todd Sundsted |
Construct secure networked applications with certificates, Part 2 Although it's not the only runner in the certificate race, the X.509 certificate standard is so far ahead that its eventual victory is all but guaranteed. A description of X.509 certificates and introduction to the classes -- a standard part of the Java 2 platform -- that support them. |
JavaWorld September 26, 2003 Sam Mefford |
Overcome Java 1.3-1.4 incompatibilities API version incompatibilities that force you to maintain separate codebases for newer versions can exponentially increase your frustration level. This article demonstrates techniques for overcoming interface version incompatibilities, charting a course for a single codebase. |
JavaWorld April 25, 2003 Anthony Karre |
A do-it-yourself framework for grid computing Large-scale grid computing frameworks can be successfully used to build computational grid infrastructures, but their sophistication can also be a barrier for software designers experimenting with entry-level grid computing. |
JavaWorld November 2001 John Chamberlain |
Implement a J2EE-aware application console in Swing Learn the fundamentals of Swing while creating a command console to control complex enterprise applications. A console provides a window into a system's operation and allows operators to configure, monitor, and control the system in real time... |
JavaWorld July 2000 Allen Holub |
Modify archives, Part 1 It turns out to be very difficult to modify a jar or zip file using Java's out-of-the-box archive support. This article is the first of a two-part series that will describe a class that permits the painless modification of existing archives. |
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 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 January 2001 Gregg Sporar |
Retrofit existing applications with RMI Partitioning an existing application so it is distributed across multiple CPUs is easy using Java's Remote Method Invocation (RMI). However, RMI must be carefully introduced into existing source code... |
Linux Journal June 1, 2007 Ariel Ortiz |
An Introduction to Metaprogramming How to write programs that write programs. Metaprogramming at first may seem to be an advanced topic, suitable only for programming language gurus, but it's not really that difficult once you know how to use the adequate tools. |
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 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 December 2001 Bill Pierce |
Diagnose common runtime problems with hprof Ever been a few days from releasing an application when testing reveals a memory leak or something causing the CPU to spin out of control? Few people realize that the Java 2 JDK provides a useful profiling tool called hprof, which you can use to diagnose these behaviors with minimal fuss... |
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 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 February 2001 Oliver Enseling |
iContract: Design by Contract in Java The Design by Contract technique stresses the importance of explicitly specifying the constraints that hold before and after a software component executes. The iContract Java language extension implements Design by Contract for Java. |
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 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 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 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 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 May 2001 Todd Sundsted |
Build secure network applications with SSL and the JSSE API SSL (Secure Socket Layer) is the de facto standard for securing a communication channel between two applications that converse over the Internet. Sun's JSSE (Java Secure Socket Extension) provides SSL support for Java applications... |
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 August 2002 Greg Holling |
Put Java in the fast lane This article presents some techniques for locating performance bottlenecks in Java applications and offers suggestions for improving Java performance. Along the way, you'll look at some of the classes in the new java.nio package. |
JavaWorld November 2001 Wm. Paul Rogers |
J2SE 1.4 premieres Java's assertion capabilities, Part 1 J2SE (Java 2 Platform, Standard Edition) 1.4 adds a simple assertion facility to Java. This article, the first in a two-part series, covers the mechanics of using the new assertion facility... |
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 February 2002 Dirk Reinshagen |
Connect the enterprise with the JCA, Part 2 This article demonstrates a simple JCA (J2EE Connector Architecture) adapter implementation. After you read this article, you'll possess a good understanding of how to build your own JCA adapter... |
JavaWorld August 2000 Gaurav Pal & Sonal Bansal |
Exceptions in Java: Nothing exceptional about them The judicious and proper use of the Java exception-handling mechanism can pay rich dividends by delivering quality code that works. In order to use the powerful error-handling features of Java, users must understand key issues that impact its design and implementation. |
JavaWorld July 2002 Rinaldo Di Giorgio |
Serve clients' specific protocol requirements with Brazil, Part 6 This article demonstrates how to use the following technologies with the Brazil toolkit: Jini, BeanShell, and the Java API for XML Messaging (JAXM), Xalan-Java, servlets, Velocity, and LDAP. It also discusses the larger purpose of this series: to demonstrate how to use Brazil to support new technologies and APIs in ways that API developers might not have considered. |
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 September 19, 2003 Brian Connolly |
Client quality reporting for J2EE Web services This article implements a general-purpose architecture for recording client response times for J2EE Web services. The sample implementation was built using the Sun ONE Application Server and IDE, but the general approach can be easily adapted to other J2EE implementations. |
JavaWorld December 2001 Brian Goetz |
Exceptional practices, Part 3 Exceptions provide a powerful mechanism for handling error conditions in Java programs. Part 3 covers message catalogs, a technique you can use to simplify the process of localizing your application for foreign markets. The use of message catalogs has additional benefits beyond localization -- they make it practical for documentation writers and human interface designers, rather than developers, to control the error messages. |
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 December 2000 Raghavan N. Srinivas |
Java security evolution and concepts, Part 3: Applet security This article will take a look at the challenges of security for, and the deployment of, applets... |