Similar Articles |
|
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 December 2001 Wm. Paul Rogers |
J2SE 1.4 premieres Java's assertion capabilities, Part 2 This installment discusses the methodology behind using assertions. Assertions are a valuable tool in assuring program correctness and should not be confused with the program robustness facilitated by Java's exception-handling process... |
JavaWorld August 1, 2003 Allen Holub |
Why extends is evil Improve your code by replacing concrete base classes with interfaces |
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 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 Jeremy Blosser |
Explore the Dynamic Proxy API In Java 1.3, Sun introduced the Dynamic Proxy API, which can basically mimic any interface. Add that to an abstract data model, and you can conform any loosely typed data to a strongly typed interface. This article discusses some of the Dynamic Proxy API's many benefits... |
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 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 November 2001 |
Letters to the Editor Should you enable assertions in a production system? What's the difference between Jxta and Jini? Do access modifiers prevent inheritance? Is MVC a design pattern? |
JavaWorld September 2000 Frank Sommers |
Activatable Jini services, Part 1: Implement RMI activation Jini services must be long-lived and resilient, and must efficiently manage their computational resources with little user intervention. This article shows how to use RMI activation to manage computational resources and increase the availability of Jini services... |
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 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 August 2002 Guy Gur-Ari |
Empower RMI with TRMI Transparent Remote Method Invocation (TRMI) extends RMI to simplify the creation of distributed applications by allowing centralized RemoteException handling and by allowing any interface to be used remotely. This article tours TRMI's inner workings. |
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 November 2001 Michael J. Rettig |
Reflection vs. code generation You can use the power of Java's Reflection API to reduce tedious code writing, and use active code generation to overcome reflection limitations... |
JavaWorld November 2000 M. Jeff Wilson |
Get smart with proxies and RMI RMI enables developers to either get a remote reference to a distributed object, in which all method calls are forwarded to the server object, or get a copy of the remote object and invoke on it locally. You can combine these approaches in a way that is transparent to the client code... |
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 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 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 June 2002 Dirk Laessig |
Score big with JSR 77, the J2EE Management Specification The specification's core is based on the model of managed objects, explained in this article. JSR 77 also defines an Enterprise JavaBeans (EJB) component for easily accessing these managed objects. |
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 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 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. |
D-Lib May/Jun 2007 Saidis & Delis |
Type-consistent Digital Objects This article provides an overview of the Digital Object Prototype framework and highlights its type-conformance capabilities and shows how heterogeneous digital material can be treated in a uniform manner without resorting to custom developments. |
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 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 March 2002 Jacek Kruszelnicki |
Persist data with Java Data Objects, Part 1 The Java Data Objects (JDO) standard provides a unified, simple, and transparent persistence interface between Java application objects and data stores, and can significantly affect how we deal with persistent data... |
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 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 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 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 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 November 2001 Kurt Jacobs |
Subscribe now for rapid prototyping Developers often find themselves reengineering an API to meet the demand of evolving requirements. By providing a framework for a more flexible system, the Publisher-Subscriber pattern can help you overcome some problems associated with object dependencies... |
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 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 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 April 2001 Kelly Davis & Robert Di Marco |
Manage distributed sessions Using RMI and the Proxy API introduced in JDK 1.3, this article describes a technique that allows one or more servlet servers to maintain session information on one or more session servers. By adopting this architecture, no single point of failure will exist for session management... |
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. |
D-Lib Jan/Feb 2010 Reilly & Tupelo-Schneck |
Digital Object Repository Server: A Component of the Digital Object Architecture This paper introduces the Digital Object Repository Server, the most recent instantiation of the Corporation for National Research Initiatives' repository work. |
JavaWorld May 2001 Jennifer Wilson |
Java Product News Zero G enhances its installation platform... ObjectFrontier launches first EJB 2.0-compliant persistence manager platform... eSpaces helps Java newbies develop complex projects... iBus//Mobile 2.0 simplifies wireless development... JCP plans update for Java Speech API... etc. |
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? |
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 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 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. |
Military & Aerospace Electronics March 2006 Ribault & Bailey |
Adoption of Assertion-Based Verification Improves Debug and Design Quality France's Thales Airborne Systems has adopted an assertion-based verification approach to design verification FPGAs. With debug productivity balancing the cost of adding assertions, the increase in quality remains as the net benefit of assertion-based verification. |
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... |
D-Lib June 2001 John S. Erickson |
A Digital Object Approach to Interoperable Rights Management Fine-grained policy enforcement enabled by a digital object infrastructure... |
JavaWorld March 25, 2002 James Niccolai & Matt Berger |
Sun exec sees focus shifting to clients Providing a consistent way to run Java programs on PCs, cell phones, and other client computers is the next hurdle in evolving Java, said the head of Sun Microsystems' Java and XML software group... |
JavaWorld September 2000 Tal Liron |
Launching into Java Here's the vision: Instead of clunky Web applications, service providers will design full-blown Java applications with multiple windows, drag and drop, printing and database-query capabilities, directory access, and message queuing, all in a package that runs from users' desktops... |
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. |