Similar Articles |
|
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 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 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 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 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 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 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 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 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 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 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 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 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 April 2002 David Kearns |
Java scripting languages: Which is right for you? A scripting language can give your Java programs power they wouldn't ordinarily have. Utilities such as IBM's Bean Scripting Framework make hooking Tcl, Python, Perl, and other scripting languages into your Java application easy. However, risks and costs abound... |
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 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 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 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 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 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. |
Unix Insider November 2000 Cameron Laird & Kathryn Soraiz |
Specialty scripting languages In this week's Regular Expressions, Cameron Laird and Kathryn Soraiz outline four small, but growing, scripting languages... |
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 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 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... |
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 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 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. |
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 July 25, 2003 |
Letters to the Editor JavaWorld authors discuss byte code encryption, jEdit's attractive features, method synchronization, and more. |
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 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 October 2001 |
Letters to the Editor A reader educates Jack Harich on the definition of myth... Gorsen Huang discusses the overhead of using the Reflection API with EJB... Tony Sintes and a reader ponder why Sun omitted parseDouble() prior to Java 1.2... Jeff Friesen offers a worldwide list of time zones... |
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 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 June 2001 Tarak Modi |
Clean up your wire protocol with SOAP, Part 3 An even simpler way to create SOAP services using Apache SOAP and JavaScript... |
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 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 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 2000 |
Letters to the Editor (June 23, 2000) Jason Hunter addresses a gripe with calling instanceof when using JDOM; Mark Johnson responds to feedback on his XML series; reader challenges Tony Sintes about whether it truly is impossible to write a swap method... |
JavaWorld April 25, 2003 |
Letters to the Editor Authors discuss static versus lazy resolution; HTML/JavaServer Pages (JSP)/servlets versus Swing; thread safety with singletons; and more. |
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 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 December 2000 Tony Loton |
Make an EJB from any Java class with Java Reflection Creating EJB versions of your classes and converting the applications that use them can be time-consuming -- unless you automate the process. Read on to find out how you can automate the routine aspects of EJB development by using Java Reflection... |
JavaWorld April 2002 |
Letters to the Editor How does PreparedStatement perform? How do you compile Java code dynamically? Does ChainedException preserve the original exception? How do you combine a sorting Decorator with a filtering Decorator? JavaWorld authors answer these questions and more... |
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 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 October 2002 |
Letters to the Editor Is JAAS responsible for retaining user data? Do the JVM and compiler share literal pool responsibilities? Is there a tool that performs manifest version incrementing? JavaWorld authors answer those questions and more in this month's Letters to the Editor. |
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 June 2000 Thomas E. Davis |
Use Microsoft's Internet Information Server as a Java servlet engine Are you a Java fanatic trapped in a Microsoft-only shop? Using just Microsoft's Internet Information Server and pure Java, you can run Java servlets without the help of any third-party products. |