Similar Articles |
|
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 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 October 2000 Bruce Eckel |
Everything is an object, Part 2 Eckel takes you through name visibility and using components from other libraries; the static keyword; and comments and embedded documentation. By the end, you should be able to build your first Java program... |
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 October 2001 |
Java 101 study hall Brush up on Java terms, learn tips and cautions, and enter the first Java 101 reader challenge |
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 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 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 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 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 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 Wm. Paul Rogers |
Thanks type and gentle class Confusing the concepts of object and class deserves an askance look. Failing to distinguish between type and class, however, typically goes unnoticed. Yet the battle to separate implementation and interface concerns requires type-oriented thinking... |
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 Erwin Vervaet |
Java: It's a good thing In response to Simson Garfinkel's article 'Java: Slow, Ugly, and Irrelevant', the author takes a more realistic look at Java's situation. Indeed, Java is far from perfect. But when you take the time to look beyond the flames and the hype, what is left is an exciting and competitive language... |
JavaWorld September 5, 2003 Allen Holub |
Why getter and setter methods are evil The getter/setter idiom is a commonplace feature of many Java programs. The use of accessors violates the basic object-oriented principle of encapsulation, so you should avoid using them. This article discusses getter/setter cons and offers an alternative design methodology. |
JavaWorld July 2001 Jeff Friesen |
Object-oriented language basics, Part 4 The author shows how to use inheritance to create layered objects, and compares and contrasts inheritance with composition... |
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 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 June 20, 2003 Holger Knublauch |
An AI tool for the real world Using Protege, developers and domain experts can build conceptual models and knowledge bases and access them via an easy-to-use Java API. |
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 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 June 13, 2003 Camerlengo & Johnson |
Make the Java-Oracle9i connection This article provides Java programmers with techniques for utilizing Oracle9i's new object-oriented features such as inheritance, custom constructors, dynamic dispatch, array descriptors, and mapping strategies from a Java class hierarchy to an Oracle type hierarchy without using traditional object-relational (O/R) mapping strategies. |
JavaWorld January 2, 2004 Humphrey Sheil |
In pursuit of perfection If we could just address Java's weak points, we might make Java that mythical beast -- the perfect technology platform. So then, what are those changes? Is there such a thing as the perfect technology platform, and does Java have the potential to become it? |
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 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 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 October 2000 Robert Nielsen |
Understanding constructors To learn Java, you must understand constructors. Because constructors share some characteristics with methods, it is easy for the Java beginner to confuse them. However, constructors and methods have important differences... |
JavaWorld January 2002 Bill Venners |
Joshua Bloch: A conversation about design Joshua Bloch, an architect in Sun's Core Java Platform Group, explains his unique insight into API design, extreme programming, code quality and reuse, refactoring, defensive copies, and the extent to which client programmers should be trusted... |
JavaWorld April 2001 Wm. Paul Rogers |
Reveal the magic behind subtype polymorphism A careful examination of polymorphism reveals that polymorphic behavior is best understood in terms of type, rather than as dependent on overriding implementation inheritance. That understanding allows developers to fully take advantage of polymorphism... |
JavaWorld May 2001 Thierry Manfe |
Embed Java code into your native apps Embedding Java code into a Unix application developed in C or C++ can create problems related to GUIs or threads synchronization. Here's a solution that relies on a good understanding of the Unix APIs and robust software architecture... |
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 September 2001 Wm. Paul Rogers |
Maximize flexibility with interfaces and abstract classes Most introductory Java texts take an implementation-centric stab at how to use interfaces and abstract classes. However, few provide a clear design distinction for choosing between these two similar object-oriented constructs... |
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 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 July 2002 Hugo Scavino |
Bridge the gap between Java and Twain While the Twain C API has allowed traditional programming languages like C, C++, and Delphi to easily integrate imaging devices, Java has no native support for such hardware. Instead, Java relies on its Java Native Interface (JNI) specification to bridge the gaps. |
JavaWorld December 2002 Alex Blewitt |
Sort it out A common requirement for applications that display lists or tables of data is the ability for users to sort those results. In this article, Alex Blewitt shows how to sort data in Java using the Comparable and Comparator interfaces, and how a generic bean-sorting utility sorts JavaBeans displayed in a graphical user interface. |
Salon.com January 21, 2003 Farhad Manjoo |
Is there hope for Java? A judge has ordered Microsoft to make it easy for Sun's popular programming language to work with Windows. But the remedy may be too little, too late. |
JavaWorld March 2002 |
Letters to the Editor JavaWorld readers warn about synchronization; present a Servlet 2.2-compliant solution for mixing protocols in Web apps; suggest using the Data Object Access design pattern with the Value Object design pattern... etc. |
JavaWorld November 2002 John Zukowski |
Check out three collections libraries The Java Collections Framework has been a standard part of the Java core libraries since the Java 2 Platform's birth. We look at some recent changes and other options available, such as the Jakarta Commons Collections and the updated Java Generic Library (JGL) from Recursion Software. |
Salon.com January 8, 2001 Simson Garfinkel |
Java: Slow, ugly and irrelevant The programming language once hailed as a revolutionary breakthrough is no substitute for simply training good programmers... |
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 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. |
New Architect August 2002 Al Williams |
Unsafe At Any Speed? C#'s relaxed security model may not be the best fit for your business. |
Linux Journal July 2001 Reuven M. Lerner |
Custom JSP Actions Learning shorthand for complicated Java code.... |
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 November 2000 Mark Johnson |
C#: A language alternative or just J--?, Part 1 Early this summer, Microsoft caused a huge media splash by preannouncing .Net, a new distributed application framework. Integral to .Net is a new language called C#, which initially appears highly similar to Java. This article, the first in a two-part series, compares C# to Java -- describing language features and design trade-offs -- and places C# in the context of Microsoft's broader .Net strategy. |
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 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 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... |
CIO November 15, 2001 D.F. Tweney |
Strong Java Despite Microsoft's best efforts, Java is well-established in the enterprise. Can it hold its ground? |