Similar Articles |
|
JavaWorld December 2002 |
Letters to the Editor Which getResource() strategy should you use with an obfuscator? How do you use CachedRowSet with multiusers? Can you declare a type-safe collection in C#? |
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 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 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 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 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 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 December 2001 |
Letters to the Editor In this month's letters, David Geary expounds further on the Decorator pattern, Humphrey Sheil defends EJB performance, and Jeff Friesen talks more trash... |
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 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 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 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 November 2002 B.J. Fesq |
Sun boosts enterprise Java This article provides a clear understanding of the enterprise Java platform's direction and introduces J2EE (Java 2 Platform, Enterprise Edition) 1.4's support for emerging Web services standards. |
JavaWorld October 2001 David Geary |
Amaze your developer friends with design patterns Design patterns are proven techniques for implementing robust, malleable, reusable, and extensible object-oriented software. This article introduces design patterns to Java developers and explores Strategy, Composite, and Decorator -- three common, yet powerful, design patterns in the JDK... |
JavaWorld November 2000 Abhilash Koneri |
Eliminate tedious programming: Recover data with XML and Reflection The parsing of ResultSets forms one of the most significant tasks involved in retrieving data from a database. But, as a repetitious and uninteresting assignment, it is not a favorite among developers. How to supplant ResultSet parsing in the data access objects... |
JavaWorld January 2002 Jason Cai |
Combine the Session Facade pattern with XML This article explores the benefits and advantages of using the Session Facade pattern. The author discusses when to use the pattern with value objects, and when to use it with XML. He also provides a detailed implementation of the Session Facade pattern integrated with XML... |
JavaWorld June 2002 Walter Hurst |
Design patterns make for better J2EE apps This introductory-level article describes how to combine J2EE with object-oriented design patterns to build a scalable, flexible, and extensible application architecture. It explains the importance of application architecture and design patterns and provides basic tips for using design patterns to build application architecture for J2EE projects. |
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 March 2003 Michael Juntao Yuan |
J2EE and beyond As J2EE technology matures, basic Java and J2EE programming skills are no longer adequate to secure a highly paid job in today's tightened market. This article discusses the latest trends in J2EE and developer training. |
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 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 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 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 November 2000 Brian Goetz |
Tweak your IO performance for faster runtime Although poor performance claims have plagued Java for some time, Java programs can run just as quickly as programs written in C and C++ if developers pay attention to performance issues throughout the development cycle, especially in IO... |
JavaWorld November 2001 Michael C. Daconta |
Practice makes perfect One pitfall stumbled on while porting an Extensible User Interface Language (XUL) game to Java and two pitfalls sent in by readers... |
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 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... |
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 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 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 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 August 2000 Sanjay Mahapatra |
Programming restrictions on EJB Sanjay provides an overview of the programming restrictions on EJB component code that developers should adhere to and lists the features in Java that you'd be wise to avoid in order to write reliable and portable EJB 1.1 components.. |
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 April 27, 2001 Jennifer Wilson |
Java Product News Motorola releases first MIDP-certified wireless phones... WebGain's Application Composer builds EJB applications... Brokat Advanced Server/J 4.6 now J2EE-compatible... OASIS releases Java tests... Poet and NewMonics integrate products... etc. |
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 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 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 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 September 2000 Brian Goetz |
The Lucene search engine: Powerful, flexible, and free Lucene is a Java-based open source toolkit for text indexing and searching. It is easy to use, flexible, and powerful -- a model of good object-oriented software architecture. We explore what Lucene does, how it works, and what software engineers can learn from its design... (3,400 words) |
JavaWorld July 25, 2003 |
Letters to the Editor JavaWorld authors discuss byte code encryption, jEdit's attractive features, method synchronization, and more. |
JavaWorld April 4, 2003 |
Java Product News QFS updates UI testing tool... INM introduces Moka Xtra... etc. |
JavaWorld September 19, 2003 Brian Connolly |
Client quality reporting for J2EE Web services This article implements a general-purpose architecture for recording client response times for J2EE Web services. The sample implementation was built using the Sun ONE Application Server and IDE, but the general approach can be easily adapted to other J2EE implementations. |
JavaWorld June 2002 Humphrey Sheil & Michael Monteiro |
Rumble in the jungle: J2EE versus .Net, Part 1 Heard a lot about .Net versus J2EE? Wondering what that conflict means for you? An unbiased explanation as to how J2EE and .Net match up. |
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 March 28, 2003 |
Java Product News IBM revamps Toolbox developer service... JabberD Quickstart available for free download... Gallaware enhances servlet framework... ClientSoft announces Web services/legacy integration system... Parasoft unveils error prevention suite... IronEye SQL available for free trial download... etc. |
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 October 2000 Siva Visveswaran |
Dive into connection pooling with J2EE Connection pooling is a technique used for sharing server resources among requesting clients. This article focuses on support for connection pooling of both database resources and nondatabase resources in a J2EE environment... |
JavaWorld December 2000 Jeremy Roschelle |
Untangle your servlet code with reflection You can enlist the Reflection API to unravel an all-too-common problem in servlet development: doGet() and doPost() methods that grow long, complex, and hard to extend and debug. The use of reflection described here is fairly lightweight... |
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... |