We turned off ads, and we're running a FUNDRAISER, so donate to our FUNDRAISER! Or become a Patreon!

Java Archive

Sun should Open Source Unprofitable Parts of Java

Even if Sun prefers to retain control over a stragic asset like Java, it should take a hard look at the components of Java that are related to platform-breadth and market-reach rather than to profitability, and slough these off to small, reactive Open Source efforts. javax.swing.text.html would be a good component to start the experiment with, says Rick Jelliffe. Check out the comments on that page too.

Design cross-platform Java UIs with native performance

Can you write Java code that compiles across several platforms but still performs as fast as native code? This is a problem that has vexed Java developers, particularly when it comes to applications with complex UIs. This article proposes an interesting solution to this problem. You'll learn how to use JNI to access SLIK, a cross-platform C API that offers native performance on both Windows and UNIX. The JNI APIs demonstrated in this article will help you write skinned GUIs that run under both Linux and Windows with no code changes.

JCP 2.6 Looking for More Input

Sun Microsystems officials rolled out Java Community Process (JCP) 2.6 Tuesday, along with a goal of more community participation in order to improve Java specifications. Although JCP 2.6 enhancements have been in the works for the past year, the timing of the release comes amid IBM's recent push for an open source implementation of Java.

Java: When segments collide

While sizing the heap for 32-bit Java applications on AIX, you can sometimes run into situations where a segment is claimed by two or more parts of the process simultaneously. This article shows how to detect this situation by using a well-established set of applications as examples, and we also show the reasoning behind the configuration changes suggested to avoid this situation.

Sun to Meet IBM Over Freeing Java

In response to an open letter from IBM asking Sun to join the company in developing an open-source version of Java, Sun plans to meet with IBM to discuss the issue, Sun sources said. Sun officials planned to meet with IBM as early as Thursday to discuss the merits of whether the company should work with IBM on an independent project to create an open-source implementation of Java.

Fixing the Java Memory Model

JSR 133, which has been active for nearly three years, has recently issued its public recommendation on what to do about the Java Memory Model (JMM). Several serious flaws were found in the original JMM, resulting in some surprisingly difficult semantics for concepts that were supposed to be simple, like volatile, final, and synchronized. In this installment of Java theory and practice, the author shows how the semantics of volatile and final will be strengthened in order to fix the JMM. Some of these changes have already been integrated in JDK 1.4; others are slated for inclusion in JDK 1.5. On other Java news, IBM urges Sun to make Java open source.

Application modeling with WebSphere Studio V5.1

An application model is analogous to a construction project blueprint, and is an important ingredient in application development. This article shows the steps for developing a Java application based on a Rational Rose class diagram using the Eclipse Modeling Framework, and also shows how to develop the same Java application using the Universal Modeling Language visualization tool.

Java Desktop Development

Java is a great technology for servers, personal computers, and mobile devices. Java is successful on servers and mobile devices because these environments need Java's cross-platform support. The situation is different on personal computers, but this could change sooner than you might think. In this article, Andrei analyzes how Java can improve the desktop world and then present the three major Java GUI toolkits: AWT, Swing, and SWT.

Sun Fires Back over Open Source Java Accusations

Sun has offered a frank response to the open letter from Eric S, Raymond, President, Open Source Initiative, in which he called on Sun to make its Java platform Open Source and described the company's Open Source strategy as 'spotty' and 'confused'. 'I'd say this is 100 per cent rant,' Sun's Chief Technology Evangelist, Simon Phipps said. 'His simplistic accusations don't hold water... If this is the way that Open Source treats its friends, I'd hate to see how it treats its enemies.'

New Age Dawns at Eclipse; .NET Windows Forms from Java SWING

Eclipse, an increasingly influential open-source development tools project, will kick off its first programmer conference next week amid strong industry momentum and lingering questions regarding its future direction. Elsewhere, learn how an application in Java SWING can invoke and display a Windows Form, pass parameters to the form and wait for a return value when the form is closed. This type of technique shows how organizations can introduce new forms and controls based on Windows Forms into an existing Java SWING environment and helping them to rapidly deploy .NET applications without having to rip out existing infrastructure or wait until new replacement applications are written.