Java Archive

Evaluating Eclipse vs. IntelliJ IDEA

Both Eclipse 3.0 and IntelliJ IDEA 4 are feature-rich, Java IDEs that provide syntax checking, code assistance, and code generation for coding. In addition, they both provide support for refactoring, Ant, unit testing, and CVS. And soon, the Eclipse Visual Editor 1.0 for building GUIs using either AWT/Swing or SWT will be available. But some important differences exist between the two. This article briefly compares the features, ease of use, and stability of Eclipse and IDEA.

News Tip: NetBeans 4.1 Early Access Release Now Available

The NetBeans open source project is proud to announce the early access release of the NetBeans IDE 4.1 as the project delivers significant new development capabilities for the Java 2 Platform, Enterprise Edition 1.4 (J2EE) including Enterprise Java Bean (EJB) components and Web Services.

An Ocean and Synth look at JDK 5.0

Now that Tiger is an official release, it's time to explore even more exciting differences between the 1.4 version of the Java 2 Standard Edition platform and 5.0 of the Java 2 Development Kit. In this installment of Taming Tiger, UI expert John Zukowski explores the newly available Ocean and Synth look and feels. Now, even non-programmers can develop custom look and feels without writing code or having the benefit of a good eye!

Increase stability and responsiveness by short-circuiting code

Keep your Web applications running when tasks lock up. High volume Web sites often require asynchronous or threaded operations to achieve target performance criteria. While threads in Web containers are considered bad practice, the alternative is for developers to make blocking calls to code they cannot control. It becomes important that dependencies of this nature fail-fast. This developerWorks article covers a homegrown short-circuit pattern that ensures threaded execution and completion of a process in a fixed window of time.

Get enhanced security with IBM’s release of 1.4.2 Java SDK

The 1.4.2 release of the IBM developer kit for the Java platform provides the most comprehensive security offering for the Java 2 platform to date. It differs from the Sun 1.4.2 JDK in that IBM has implemented providers for all the Java security components. It includes several IBM-specific security providers with new features and better security enhancements than the Sun 1.4.2 JDK. This articles discusses the new IBM JDK release and a solid foundation for developing and deploying security-sensitive, end-to-end enterprise applications. The new 1.4.2 JDK can downloaded from here.

Java Performance Myths Set Straight

Urban legends are kind of like mind viruses; even though we know they are probably not true, we often can't resist the urge to retell them (and thus infect other gullible "hosts") because they make for such good storytelling. Most urban legends have some basis in fact, which only makes them harder to stamp out. Unfortunately, many pointers and tips about Java performance tuning are a lot like urban legends -- someone, somewhere, passes on a "tip" that has (or had) some basis in fact, but through its continued retelling, has lost what truth it once contained.

What would happen to Java if Sun…

This article discusses a topic that is often discussed among Java developers, and raised as a problem with Java's license by GPL advocates. What would happen to Java if Sun were to go out of business or be aquired by another company? Unfortunately, the article really doesn't give any answers. It only raises more questions and leaves room for lots of discussion.

New desktop features in Java Tiger

In this article, Chet Hasse talks about some of the new features of Tiger (Java 1.5) intended for programmers of desktop applicatons. Some of the highlights include OpenGL rendering for accelerated graphics capabilities, and hardware accelerated image copies have been extended to all image methods with no programmer intervention required for hardware accelerated copies to be used when they can be used. CUPS support and printing of JTable objects has also been added, along with several other major desktop enhancements.

Programming With Potent XMLBeans

On the XML and Java technology frontier, where numerous technologies jostle for space, XMLBeans is making a mark for itself in a very short time. This article introduces the technology with a simple example, takes you through the step-by-step process of compilation and binding, and discusses advanced features like XML cursors, tokens, and XQuery expressions. It also discusses how XMLBeans is more powerful than other XML-Java technology data binding techniques.