Similar Articles |
|
JavaWorld February 2002 Anders Eliasson |
Implement Design by Contract for Java using dynamic proxies The Design by Contract (DBC) theory can dramatically raise software quality and reusability levels by forcing you to think in terms of contracts. Contracts formally specify the responsibility relationship between a client (class user) and a supplier (class). Additionally, DBC clearly separates specification (what) from implementation (how). This article explains DBC's importance in object-oriented development and describes a DBCProxy framework that achieves DBC transparently in Java using dynamic proxy classes. |
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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 |
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? |
Linux Journal January 1, 2003 Per Bothner |
Compiling Java with GJC Although Java isn't a popular choice for free projects, GJC can make it a viable option. |
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 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 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 Todd Sundsted |
Secure your Java apps from end to end, Part 1 The foundation of Java security: virtual machine and byte code security... |
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. |
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 May 2001 Raghavan N. Srinivas |
Java security evolution and concepts, Part 4 This article details the optional, yet important, packages that enhance Java security. Bonus: A working applet to demonstrate this article's concepts. |
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 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 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 2002 Frank Sommers |
A birds-eye view of Web services The author defines Web services, explains how they operate, and compares them to related Java technologies. He also presents a general programming model for Web services, independent of any framework or technology... |
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 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 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... |
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 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 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 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 January 2002 |
Letters to the Editor Does J2EE violate fundamental Java concepts? Are Java extensions with XSLT truly beneficial? How do you incorporate a visual mode with Struts and Tiles? Plus, readers debate the value of enums, propose an additional advantage to EJB, and comment on exception-handling... |
JavaWorld August 2000 Sanjay Mahapatra |
Benefit from platform-independent builds This article explains the advantages of using a platform-independent, automated build process, and it describes two tools that support such a process, namely Make in Java (jmk) from the Free Software Foundation and Ant from the Jakarta Apache Project. |
InternetNews June 28, 2004 Michael Singer |
J2SE 1.5: A Tiger By the Tail The Standard Edition is slated for a fall release via the Java Development Kit (JDK). J2SE 1.5 introduces several revisions to the core XML platform. |
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 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 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... |
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 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? |
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... |
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. |