| Similar Articles |
 |
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 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 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 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 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 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 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 Tom Yager |
Microsoft's C# public beta hits a high note Java's success, and Sun's control of it, has prompted Microsoft to respond with its C# initiative. C# in many ways is a blend of the power of C++ and Java's built-in protections. Java developers will be well served to learn about C#'s pros and cons -- and how the initiative could affect Java's future.  |
JavaWorld July 4, 2003 Mark O. Pendergast |
Navigate through virtual worlds using Java 3D Java 3D is an extension to the Java 2 object library that enables a programmer to create 3D graphical representations of objects and virtual worlds. This article demonstrates three advanced Java 3D programming concepts.  |
JavaWorld February 2003 Laurence Vanhelsuwe |
Unwrap the package statement's potential The package statement is a very powerful Java language feature. Yet most Java programmers, even experienced ones, fail to correctly exploit this power. Intrigued? Read on and see how a simple language feature can have massive repercussions downstream.  |
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 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 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 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 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 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 December 2000 Todd Sundsted |
Secure thread collaboration across protection domains When threads collaborate across protection domains, they introduce interesting wrinkles into the science of building secure applications. This month, we present these scenarios and shows how to use the AccessControlContext and GuardedObject classes to build solid solutions...  |
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 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 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 December 2001 Jeff Friesen |
Trash talk, Part 1 One feature that distinguishes Java from other computer languages is its garbage collection abilities. In this article, This article introduces garbage collection and shows how Java's optional support for it affects your programs...  |
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 2001 |
Java 101 study hall Brush up on Java terms, learn tips and cautions, and enter the first Java 101 reader challenge  |
JavaWorld May 2001 Wm. Paul Rogers |
Encapsulation is not information hiding Encapsulation is a language facility, whereas information hiding is a design principle. This article investigates strengthening class design through careful consideration of each of these concepts...  |
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 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 March 2002 Matjaz B. Juric |
Integrate EJBs with CORBA Interoperability between EJBs and CORBA is important for integrating Java- and non-Java-based applications. This article shows how to achieve integration between an EJB and a CORBA C++ application...  |
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 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 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.  |
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 1, 2003 Allen Holub |
Why extends is evil Improve your code by replacing concrete base classes with interfaces  |
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 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 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 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 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 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 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 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 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 November 2000 Todd Sundsted |
Signed and sealed objects deliver secure serialized content The Java serialization mechanism does not protect the serialized content, and thus introduces the possibility of security flaws in applications using serialization. Two classes are designed to protect the contents of serialized objects from manipulation and examination...  |
JavaWorld January 2001 Frank Sommers |
Object mobility in the Jini environment This article provides background to the use of mobile objects in Jini and describes the Java class loading and object serialization architectures that make mobile code possible. It offers a tutorial on setting up Jini services so that you can make your code available for download by clients...  |
New Architect August 2002 Al Williams |
Unsafe At Any Speed? C#'s relaxed security model may not be the best fit for your business.  |
InternetNews September 27, 2004 Clint Boulton |
Sun Persists with Single Programming Model The company's engineers aim to bring the Java community a little closer by creating one persistence model for JavaBeans and Java Objects.  |
Military & Aerospace Electronics March 2008 Nielsen & Plans |
Java Computer Language Eyes Safety-Critical, Real-Time Applications A new drive in the Java community seeks to expand the language's applicability to safety-critical where failure puts lives at risk.  |
JavaWorld September 2002 Jonathan Lurie |
Product Snapshot: J# J# provides Java developers a key for entering the .Net platform  |
JavaWorld August 2001 Michael L. Perry |
Automate dependency tracking, Part 1 Interactive applications are typically subdivided into information model and user interface subsystems. Automatic dependency tracking can discover dependencies within the system and keep the user interface current...  |
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 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.  |