Java Archive

Java: Go Native!

"I ran starry-eyed into the arms of Java 9 years ago. I build enterprise Java applications in my sad day job. I think I can speak with authority to Java's failings. Both authors of the original documents made claims of 'solution'. I assert that all software exists for the end-user, and a 'solution' that helps the developer, or requires arcane knowledge, solves nothing. Toolkits that allow developers to rapidly create portable code are a necessity to meet business and user needs." Interesting editorial by C.C. Hovey.

Open Letter to Sun: The Case for Open-Sourcing Java

This was a letter I recently wrote to Sun's head of global communications, Russ Castronovo, after reading his interview with Chuck Talk on orangecrate.com, and then reading the ongoing pro-/anti-Mono arguments over at PlanetGnome. Now that Sun seems to be on the brink of making the decision to open-source Java (or not to), I thought it would be an appropriate time to take action.

Nested Classes, Part 2

Robert Simmons continues his efforts to clarify confusion over the use of nested classes in Java in this week's installment, excerpted from Chapter 6 ("Nested Classes") of Hardcore Java. Robert discusses the somewhat troublesome limited-scope inner classes; one specific type within this category, known as anonymous classes; and the various problems programmers can encounter with limited-scope classes.

Put Scopes to work for your J2EE apps

Many enterprise Java technology developers build their own object management infrastructures to improve application performance. However, traditional object pools encounter problems in applications that run across distributed JVMs on multiple physical machines. This article presents an object management framework that uses the concept of scopes to handle distributed systems with ease.

Better Way to FindBugs

Interesting tool for Java developers:Static analysis tools promise to find existing bugs in your code without requiring much effort on the part of the developer. Of course, if you've been programming for long, you know those promises don't always pan out. Even so, good static analysis tools are a valuable addition to your toolbox. In this first of a two-part series, Senior Software Engineer Chris Grindstaff looks at how FindBugs can help improve the quality of your code and eliminate bugs lying in wait.

Using Eclipse with Jakarta Tomcat

Gain the power to develop and test quick JSP's with integrated Java code, using a great IDE that will help improve your productivity. This article will guide you step-by-step through the installation of Eclipse, Jakarta Tomcat, and an Eclipse Tomcat launcher plug-in that will integrate them.

Father of Java Defends the Language

James Gosling for CMP.net.Asia: "When people talk about opening the Java platform, they want to take the source code, remove the licences, and let everyone do what they want with it. But that really refers to people who work on the Java platform itself. We try to make Java as open as while still preserving the interoperability of Java for the large developer community. One way to look at it is, either we annoy the people who build the platforms or those who build the applications." In the meantime, GNU Classpath 0.09 was released.

New features in JDK 1.5

Version 1.5 of Sun Microsystems' Java Development Kit (JDK) is set to be released this summer and promises a list of features to ease the development of your Java applications. In this article DevChannel introduces you to many of the new features and provide code samples, so you can hit the ground running when the final release becomes available.

libjit, a Free Software JIT library

Rhys Weatherley has taken a month's sabbatical from pnet and during this time he created a new project under the DotGNU umbrella, libjit. This library implements Just-In-Time compilation functionality. Unlike other JIT's, this one is designed to be independent of any particular virtual machine bytecode format or language.

Little Hoopla Over New Java Spec

J2EE 1.4, Sun's new Java Specification, will undoubtedly be widely adopted by the makers of Java-based software, but though Sun's attempts to hype it have not been as successful as in the past. Aside from the fact that the software industry just isn't as exuberant as it once was, many vendors are already "ahead of the spec" and have implemented functionality that customers demanded without waiting for Sun and Java to blaze the trail.

Considerations of globalization solutions in J2ME

This article explores a solution for globalization applications in Java 2 Platform, Micro Edition (J2ME). It describes this solution throughout the software development life cycle, including requirements analysis, design, implementation, testing, and deployment. You'll learn why globalization is important in J2ME applications, the guidelines for developing a globalization application, and how to implement these guidelines throughout the development cycle.