Sun's groundbreaking programming language vaulted to popularity with Web developers. But now it's losing ground to a raft of upstarts.
Design patterns help users to abstract details at a higher level and better understand architecture. If you are familiar with Gang of Four design patterns and the JavaServer Faces (JSF)framework in general, this article will help you gain insight about the design patterns used in JSF framework, and how they work in-depth.
An unwritten consensus in the IT industry is that data shared between object-oriented software and relational databases is best exchanged with object/relational (O/R) mapping frameworks where the entity relationship (ER) model follows the object-oriented model. This article proposes a reversed, lightweight approach supported by a small framework called Amber.
What if you could combine Cocoa (that easy-to-use extension to C that is the primary language used for development on the OS X platform) and Java (one of the most widely used languages on the Internet) to create an OS X native application that utilizes the power of Java's libraries? Marcus Zarra does just that in this latest article in his series on Cocoa from the Java developer's perspective.
The Apache Geronimo application server supports Web services along with other aspects of the latest Java 2 Platform, Enterprise Edition specification. This article describes how to use Web services facilities provided by the Apache Geronimo application server to build Web services-enabled J2EE applications. It demonstrates how the Geronimo application server relies on robust support for J2EE standards, providing a number of facilities for building both Web services and their clients.
There is an object relational mapper out there that is a hidden gem. Instead of creating a full domain model, its job is to map Java objects directly to SQL statements. This framework is called iBatis, and its goal is to implement 80% of the JDBC boilerplate code you would otherwise have to do yourself. In addition, it provides a simple mapping and API layer that lets developers quickly develop data access code. This article explains how iBatis can help you.
Most developers (and the general public, for that matter) haven't yet gotten the idea that the next step in wireless applications is going to be all about location. Mologogo uses GoogleMaps with a Java and a GPS-enabled cell phone to show a target phone's position on a GoogleMap, allowing you to track it from your own phone or through the Web. This artcle provides insight into Mologogo and other Web 2.0 contenders and their privacy issues.
"For the last couple of years the community has been working to ensure that developers can create applications using Java without having to depend on proprietary software. Today, the Free implementations are already very capable and support a vast amount of functionality that developers expect from a Java-like environment. Important large applications like JOnAS, OpenOffice.org 2, Eclipse 3 and Tomcat 5 are known to work and now included in distributions like Ubuntu and Fedora Core. This document provides a road map of the various projects; how they work together, where they are, where they're going, and how we make sure that they work well and are compatible."
Marcus Zarra discusses Core Data, which is a new framework that was introduced by Apple with the release of OS X 10.4 Tiger. Core Data replaces the need for building data objects and helps manage storing data in a flat file, XML file or SQLite database. Marcus walks you through some of the basic usages of Core Data and tells you why it is so useful.
"It's official. Java has taken the top spot away from C++ to become the top language on SourceForge. Mats Henricson points out in his blog that as of yesterday, Java has 16738 projects on SourceForge, compared to the 16731 of C++."
While programs in the Java language are theoretically immune from memory leaks, there are situations in which objects are not garbage collected even though they are no longer part of the program's logical state. This article explores a common cause of unintentional object retention and shows how to plug the leak with weak references.
Sun's Looking Glass 3D desktop can now be executed on any machine which supports Java Web Start.
Sun and Microsoft engineers continue to work on up-the-stack interop between Java and .NET. Sun pledged to enable Java interop to Microsoft’s Windows Communication Foundation (WCF) by developing and distributing open source implementations of key WS-specs.
KVO? KVC? Say what? Key-Value Observing and Key-Value Coding, that's what. As an introduction to Apple's new Cocoa/Objective-C API called Core Data, Marcus Zarra shows you why KVO/KVC is an incredibly useful feature in its own right and deserves the attention of any developer new to the Cocoa/Objective-C arena.
With the build 59 of Mustang (Java 6), Sun's Java Hotspot Client virtual machine gained substantial performance. According to some numeric intensive tests, the new register allocator mechanism provide the Client virtual machine with an average of %58 higher performance.
Sun is offering its high-end Java IDEs, Sun Java Studio Creator and Java Studio Enterprise, at no cost. Java Studio Enterprise 8 is the commercial IDE, which is based on open-source Netbeans 4.1. Java Studio Enterprise is capable to generate UML diagrams from your source code and vice versa. It has also a built-in collaboration tool that allows better team-work. Java Studio Creator is the Sun's Visual Basic Studio. It allows you to develop J2EE-App using Java Server Faces as front end.
Coming from his background in Java development, the concept of using delegates and categories, as opposed to subclassing, was a bit foreign to Marcus Zarra. In Java subclassing, nearly everything was quite common. So common in fact, that Sun provided generic subclasses in quite a few cases. Objective-C and Cocoa, however, have a different approach. Marcus walks you through the different approaches used in Objective-C programming. Also: the Java platform includes a number of packages that are concerned with the movement of data into and out of programs. These packages differ in the kinds of abstractions they provide for dealing with I/O (input/output). This chapter covers primarily the stream-based model of the java.io package.
"Java 5.0 offers developers some powerful new choices for developing high-performance concurrent applications. Download the IBM Java 5 Standard Edition and start your Java 5.0 coding today."
"Because of the limits of embedded devices (for example, memory and screen size), there are some differences between the SWT widgets and eSWT widgets that greatly influence how you use them. This article shows you how the embedded Standard Widget Toolkit differs from the usual SWT Toolkit and provides best tips and practices for using it as you develop your own eSWT application based on the Model-View-Controller framework."