Hello, and welcome to DDJ.com
CMP Media Launches New Dr. Dobb's Journal

SD West 2006 announces this year's list of Jolt Product Excellence Award winners and Productivity Award winners.

LOG INRegisterForgot password?
What are the green links?
All Access members only
RSS Feed
DDJ > Dr. Dobb's Departments > Java

Java

Editor's Note | News | Features | Discussion Forum | Java RSS Feed

Theory, practice, and tools that work in todayýs most demanding Java application, embedded and system environments.


Source Code Integration
Jonathan Erickson
Alex Krapf discusses the challenges developers face when integrating source code from different programming languages such as Java and C++. (MP3, 5:40 mins.)

Sun Announces New Developer Programs
Jonathan Erickson
Jean Elliot explains the changes that Sun Microsystems is making to its developer support programs. Sun is launching two new programs: the Sun Developer Expert Assistance Program and the Sun Champions Program. (MP3, 5:11 mins.)

New & Noteworthy: And the Scales Fell From Java's Eyes
Rick Wayne
Try Terracotta's new products to pump up performance without rewriting any code, and Sun's Java Studio Creator 2 is a free download that streamlines Web app development for J2EE. Also, two new tomes shed light on grid computing and IT defense.

Java newsletter - March 2006
Eric J. Bruno
Algorithms, data structures, and other interesting bits for Java

Of Interest

April 2006 Of Interest.

An Algorithm for Compressing Space and Time
Tomas G. Rokicki
Making a slow program fast can lead to both joy and frustration. But sometimes a new approach yields amazing improvements.

Consuming .NET Web Services in Oracle JDeveloper
Max I. Fomitchev
Max uses Oracle JDeveloper 10.1.2 to examine the problems you must overcome when consuming ATL/.NET web services in Java clients that rely on Apache SOAP.

Monitoring the Java Virtual Machine
Paul Tremblett
Java Management Extensions (JMX) provide tools for monitoring and managing applications and the resources they use.

Sun Patches 7 Critical Java Runtime Bugs
Gregg Keizer
Secunia labels JRE bugs "highly critical"; no word on possible exploits.

Getting Personal with J2ME's PIM API
Tom Thompson
J2ME, the Java platform for portable devices, doesn't allow access to a device's address book. The JSR 75 Personal Information Management and JSR 75 FileConnection packages change all this.

Google's Summer of Code: Part III
DDJ Staff
Google's Summer of Code resulted in thousands of lines of code. Here are more students who participated.

Displaying GIF Images on J2ME Mobile Phones
Tom Thompson
Surprisingly, many Java-based mobile phones couldn't display GIF image files--until now.

Dynamic Bytecode Instrumentation
Ian Formanek, Gregg Sporar
Dynamic bytecode instrumentation is an innovative technique that makes profiling fast and easy.

Native Queries for Persistent Objects
William R. Cook, Carl Rosenberger
Among other benefits, native queries overcome the shortcomings of string-based APIs.

Ajax: Asynchronous JavaScript XML
Eric J. Bruno
Ajax, short for "Asynchronous JavaScript and XML," lets you create dynamic web pages.

Java Newsletter - November 2005
Eric J. Bruno
Java's success has been based on its ability to "run everywhere." But the reason this is so useful is that it enables developers to build applications that can deliver data and information to users of various computer platforms, relatively equally.

The Java Location API
David Parsons
When it comes to real estate and mobile phones, the three most important words are "location, location, location."

Sorting in Java & C#
David K. Perelman-Hall
David uses reflection to sort a list of complex types using both Java and C#.

Google's Summer of Code: Part I
the DDJ staff
Google's Summer of Code resulted in thousands of lines of code. Here are some of the students who participated.

The OCAP Digital Video Recorder Specification
Linden DeCarmo
The OCAP Digital Video Record specification defines an open API for building DVR applications.

Object-Relational Mapping in Java with SimpleORM
Martin Snyder, Ted O'Connor
SimpleORM is a lightweight--yet powerful--object-relational mapping implementation.

Eclipse.org: New Projects, New People
Jonathan Erickson
Mike Milinkovich talks about recent developments involving people and projects at the Eclipse Foundation. (MP3, 3:47 mins.)

Java & RFID Tags
Shamshad Ansari
The Java Communication API lets you send commands to and receive responses from RFID readers such as the TI S2000 Micro Reader.

Functional Programming in Java
Mark Zander
Generic Java lets you extend the language to gain some of the advantages of functional programming languages.

Developing JSR-168 Portlets
Ted O'Connor, Martin Snyder
The JSR-168 portlet specification defines APIs for building applications viewed inside portal frameworks.

Cool Beans
Rick Wayne
Three Java development environments built on the NetBeans platform provide powerful tools for building anything from applets to enterprise Web applications.

Sun Launches Java Teaching Portal
Jonathan Erickson
Andrea Gooden, executive director of the Sun Microsystems Foundation, discusses the recently launched Java Teaching Innovations Portal, designed to implement Java-based school curricula. (MP3 Audio, 4:24 mins.)

Pragmatic Exceptions
Benjamin Booth
Pragmatic Exceptions September 2005

Testing Web Applications
Sean Dawson, Kristin Kerr
Sean and Kristin automate web application testing by integrating JWebUnit into Hippo's existing test framework.

High-Performance I/O with Java NIO
Brian Pontarelli
The NIO library offers a high-performance technique for handling input/output (I/O) operations.

Mobile Java & 3D Applications
Oscar Vivall, Tom Thompson
Oscar and Tom examine the Mascot Capsule Micro3D and JSR 184 APIs, then use them to develop high-quality 3D applications for mobile phones.

NetBeans 4.1 & Eclipse 3.1
Eric J. Bruno
NetBeans 4.1 and Eclipse 3.1 are at the forefront when it comes to development platforms for J2SE, J2EE, and J2ME.

JavaOne 2005 Thursday
Eric J. Bruno
As JavaOne winds down, Robert LeBlanc, General Manager of IBM WebSphere talks up future plans for the J2EE-based app server application server, as well as IBM’s ongoing support for open-source projects including Apache, Eclipse, Geronimo, WS standards, and Linux. James Gosling looks at future challenges for the Java platform’s second decade.

JavaOne 2005 Wednesday
Eric J. Bruno
Oracle Senior VP shares vision for building an enterprise backbone for SOA; Mobile Java promoted by Nokia and IBM; and Bono phones it in at U2 concert.

JavaOne 2005 Tuesday
Eric J. Bruno
Java Business Integration the biggest draw in attendance; Sun acquires SeeBeyond's Java-based integration tools; exhibit-floor notes on Enerjy, Exadel, Oracle, and more.

JavaOne 2005 Monday
Eric J. Bruno
Sun Executives emphasized openness and the importance of community, sang Happy Birthday, and outlined roadmaps for the Mustang and Dolphin releases. Java branding got a "2"-ectomy, and BEA CTO Mark Carges spoke about the future of Java Enterprise development including an upcoming speed bump for the JRocket JVM and the need for a new type of application server, called the "Edge Container".

JavaOne 2005 Preview
Shannon Cochran
Sun's JavaOne conference turns ten this year. The show will feature keynotes from BEA, Oracle, IBM and Nokia; product releases including an Eclipse 3.1 rollout, and several after-hours parties.

EPerl: Perl, C++, and Java
Kevin Wittmer
EPerl is a collection of C++ and Java classes that wrap around the Perl interpreter API, making it straightforward to execute a Perl subroutine, script, or statement block from within C++ or Java.

Microbenchmarking C++, C#, and Java
Thomas Bruckschlegel
Thomas uses fundamental data processing and arithmetic operations to measure the performance of C++, C#, and Java.

NoodleGlue: Bridging C/C++ and Java
Tree
Integrating Java and C++ code can be a painful process, but tools like NoodleGlue make it easier.

Cascading Style Sheets & JavaServer Faces
Tor Norbye
JavaServer Faces support Cascading Style Sheets and make it easy to create web applications.

JMX Redux
Juan C. Dueñas, Manuel Santillan, Jose Luis Ruiz
The Java Management Extensions 1.2 is becoming the de facto Standard for Java application and services management.

High-Performance Data Management in Java
Charles Lamb
High-performance data management involves on-disk persistent storage, in-memory data storage, and cache management.

Java & Bluetooth
Paul Tremblett
The Java Specification Request 82 defines a standard API for Bluetooth applications.

Scripting Java Applications with Sleep
Raphael Mudge
Sleep is a freely available library for adding scripting services to Java applications.

Java Annotations and apt
J. Benton
Java 5.0 introduces "annotations" that integrate metadata technology directly into the language.

Java & Static Analysis
Amit Chaturvedi
Make the review process more manageable and predictable by using static analysis.

Measuring Java Reuse, Productivity, and ROI
W. David Pitt
David presents a way to measure productivity and reusability that occurs in Java development projects.

Dr. Dobb's Journal July 2005
Jonathan Erickson
Java Programming

Eclipse Tools
Mike Riley
When IBM decided to open source its powerful Java-based IDE at the dawn of the 21st century, it couldn't have selected a better name. Eclipse has not only covered the Sun, it's ignited a corona of vibrant plug-ins. By Mike Riley

Programmer's Book Review
Miles Thibault, Gregory V. Wilson
This month we look at Pragmatic Project Automation: How to Build, Deploy, and Monitor Java Apps, by Mike Clark; and Java Cryptography Extensions: Practical Guide for Programmer, by Jason Weiss.

Eclipse & Custom Class Loaders
Greg Bednarek
All classes used in a Java application are loaded by the System class loader, or a custom, user-defined class loader.

Optimal Queens
Timothy Rolfe
Optimal Queens is a classic problem in mathematics and computer science. Timothy optimizes it in C and Java.

Shake 'n' Break
Rick Wayne
Appease your inner de Sade with Compuware’s two new DevPartner tools, debug your Web app with Spline, and get the message with FioranoMQ 8.0. Also, Parasoft releases a fresh Jtest, with automatic JUnit test-case generation.

A Sound File Editor for Netbeans
Rich Unger
Here’s a full-featured Java IDE built on top of the Netbeans Platform—an open-source framework for building Java client applications.

Making a Scene with Java3D
Michael Pilone
Java3D is a free library that provides a scenegraph and 3D rendering context for creating graphics applications.

Digital Bob Cratchit
Rick Wayne
Sift and clean your Java code with Agitar’s Agitator 2.0, and stay inside the lines with ILOG’s Rules for .NET. Also, jProductivity’s Protection! Pro repels freeloaders from your Java code, and two new tomes talk privacy and security.

Java Web Services & Application Architectures
Eric J. Bruno
Eric uses the Java Web Service Developer Pack to build a financial portal.

Jacl.NET
Will Ballard
Jacl.NET is a port of the Jacl Java-based TCL interpreter to the .NET Framework.

Dreamweaver Wannabes
Michael J. Yuan
Once, J2EE developers could only dream of an IDE that could easily build pure J2EE Web applications--now, three new contenders take the stage. Do we have a winner?

In the Woodshed
Robert C. Martin
As Avery and Jean are sequestered for some serious attitude adjustment, our apprentice Alphonse proceeds with Jerry on the dosage tracker testing. Will they actually get something done before Avery and Jean emerge?

Java Frameworks and Tools
Gregory V. Wilson, Laura MacDougall
Tapestry in Action by Howard Lewis Ship, and Better, Faster, Lighter Java by Bruce A. Tate and Justin Gehtland.

Plug-Ins & Java
Michael Pilone
Michael uses design patterns and concepts in the development of a Java plug-in framework.

Cloudscape & the Derby Project
Ken North
Cloudscape is a Java-based, lightweight, embeddable, relational-database engine with a raft of freely available supporting drivers, plug-ins, and other tools.

Secure Web Forms & Struts Extensions
Hari Gopal
Web forms with digital signatures provide a secure way to meet the authentication requirements of e-commerce apps.

The Eclipse Visual Editor for Java
Michael Pilone
The Eclipse Visual Editor for Java is a plug-in for, well, visual editing.

The New Modularity
Gregor Kiczales
Aspects open up new possibilities for previously locked-down parts of platforms.

Contributing to Eclipse
Kent Beck, Erich Gamma
Eclipse's plug-in architecture means that every programmer is potentially a toolsmith.

C++, Java, & Service-Oriented Architectures
Eric J. Bruno
C++ and Java can be integrated—and there are cases where it makes sense to do so, such as when a system needs to be language and platform independent.

Can Microsoft Be Eclipsed?
Luc Hatlestad
As Linux on the desktop inches ever closer to reality, the once-unthinkable notion that open source could challenge Windows on client installations suddenly doesn't seem so far-fetched.

Competition Heats Up For Java, .Net Tools
Charles Babcock
IBM, along with other sellers of Java development tools, and Microsoft are trying to grab a piece of the other's territory.

WebMethods Releases New Version Of Portal Software
Matthew Friedman
Upgrade includes compliance with latest portal standards, adds visual tools.

mValent Automates Pre-Production WebSphere, WebLogic Config Management
Alan Smithee
mValent, Inc. announced version 2.2.of Infrastructure Automation Suite, its configuration, change and release management software for Web-based J2EE enterprise applications that use BEA WebLogic or IBM WebSphere.

BEA Takes An Open Approach
Charles Babcock
The company hopes to broaden the appeal of its Workshop visual-development tools by releasing some code under an open-source software license

IBM Rational To Build Software-Quality Tools On Hyades Framework
Elizabeth Montalbano
IBM will standardize its Rational suite of software quality assurance, monitoring and testing tools on the open-source Hyades framework.

BEA Executive Defends Decision Not To Join Eclipse
Elizabeth Montalbano
A BEA executive defended BEA's decision not to join the Eclipse Foundation in light of news that the Java software vendor is supporting third-party development of an Eclipse plug-in for Project Beehive.

IBM Releases Five New Java Technologies To AlphaWorks
Elizabeth Montalbano
IBM Monday will make available a host of new Java development technologies on its developer site for emerging technologies, alphaWorks.

Eclipse Updates Open-Source Tools Platform
Elizabeth Montalbano
The Eclipse Foundation is releasing Eclipse 3.0, a release developers said makes the platform viable as a foundation not only for development tools but also for new applications.

Eclipse Shines Brighter With Developers
Matthew McKenzie
The future looks brighter than ever for the Eclipse development platform, according to a recent market research study.

Scrappy and Mappy
Rick Wayne
Corda's OptiMap makes Mr. Wayne's life a lot easier, Groove Networks goes e-mail one better, Quest's PerformaSure hunts down your J2EE bottlenecks, and Shunra's Stratus 2.0 simulates nutty networks.

A Special Guide to Application Servers: The Major Players
Chris Minnick
The first app servers eased session management, enabled three-tier software on the Web, improved accessing server-side data, and simplified common tasks. Since then, J2EE and Web services have revolutionized the market—but which one's for you?

Template-Generated JNI
Vladislav Tcheprasov
The Java Native Interface was designed to facilitate cross-platform development between Java and languages such as C++. The template-based approach presented here eliminates much of the tedium of this process.

The Jpydbg Debugger
Jean-Yves Mengant
Jpydbg, the debugger Jean-Yves presents here, is a Python plug-in for the JEdit framework.

Testing Java Servlets
Len DiMaggio
Java servlets differ from other types of programs, thereby affecting your testing strategies.

The Testing Toolbox
Frank Cohen
With these 10 tools, Java scalability, performance and functionality are no longer elusive. Chockful of techniques, they enable software developers, QA technicians and IT managers to effectively proof programs.

Managing J2EE Risks
Paulo Merson
If you’re making the leap to distributed application development with Java 2 Enterprise Edition, take heart: You’re smack in the middle of the bell curve. Here’s a handy guide to assessing whether your team has what it takes to succeed with J2EE.

Mixing ActiveX with Java
Al Williams
Al uses JACOB, which is a library for running Java code under Windows to connect with ActiveX objects—for robotic control.

GCJ & the Cygnus Native Interface
Gene Sally
The GNU Compiler for the Java Programming Language is a GCC front-end for Java.

Java Generics and C++ Templates
Vladimir Batov
Who says Java Generics are better than C++ templates? Well, someone did, and Vladimir examines both to find out for himself.

A Service-Oriented Architecture for Mobile Applications
David Houlding
David develops a Microsoft PocketPC client implemented as a set of web services across .NET and J2EE/Axis.

C++, Java, & XML Processing
Eric J. Bruno
Eric compares XML processing in both Java and C++ using the Apache Xerces XML parser.

Java Reflection & Smalltalk-Like Method Dispatching
Barry Feigenbaum
Here's how the Java Reflection APIs can be used to provide ad hoc polymorphism support.

Java & the OpenCable Application Platform
Linden DeCarmo
Linden examines the strengths and weaknesses of the OpenCable Application Platform's Java interfaces.

The Java Virtual Machine Profiler Interface
Christof Schmalenbach, Christian Hoefig
The Java Virtual Machine Profiler Interface is an API for low-level performance measurements.

Fixed, Floating, and Exact Computation with Java's Bigdecimal
Mike Cowlisha, Joshua Bloch, Joseph D. Darcy
Features in the J2SE 1.5 BigDecimal class make calculations easy.

Java Management Extensions
Paul Tremblett
Java Management Extensions provide the architecture, design patterns, APIs, and services for distributed apps.

Building a Lightweight JMS Provider
Eric J. Bruno
Here's a Java Message Service provider that is lightweight both in size and overhead—but not in features.

The General-Purpose Gadget
Rick Wayne
Instrumentation Widgets for Mobile Devices offers attractive emulators for real-world displays, and Simplicity 3.0 for Palm provides a rich, unobtrusive J2ME development environment. Also, EmEditor's mighty macros prove it's still all about text, and Mainsoft bridges two worlds with its Visual MainWin for J2EE.

From Headless to Rich UI
Michael J. Yuan
The OSGi framework isn't just for embedded gateway devices—this versatile set of open specifications is universally useful.

Sweet and Simple
Jeff Langr
Java 1.5's new features—including enhanced for loops, autoboxing, variable arguments, typesafe enum, static import and metadata—make coding easier and more enjoyable to write. Part 3 of 3.

On the Newsstand


Table of Contents
Order this issue now.
Subscribe to DDJ

Departments

64bit
AI
Architecture & Design
C++
Database
Eclipse & Open Source
Embedded Systems
Global Developer
Java
Lightweight Languages
Linux/UNIX
Mobility
Security
SOA, Web Services & XML
Testing & Debugging
Windows/.NET

CMP DevNet Spotlight

Global Web Site Performance Improvement
Jeffrey Fulmer explains how to get a comprehensive picture of your site's performance and describes some tips for improving it.

In the News

DDJ Newsletters

Dr. Dobb's Linux Digest Newsletter
edited by Steven Gibson
A monthly compendium that will highlight the most important Linux discussions happening in usenet groups as well as on the Web.
--more--

DDJ Resources

Mobilized Software
Developer Events

DevNet Podcasts

Antarctica: Eclipse Comes In From the Cold
Josh Reed discusses the Antarctic Geologic Drilling Program, and the important role that open source tools played.

Software Glitch Implicated in Mars Global Surveyor Failure
NASA Watch reports that NASA's Mars Global Surveyor stopped responding to commands a few months ago due to improperly coded software.

Info-Link

DDJ Store


Dr. Dobb's Developer Library DVD: Release 2
The Dr. Dobb's Developer Library DVD is a new fully searchable DVD that includes 17 years of Dr. Dobb's Journal, 14 full years of C/C++ Users Journal, 3 years of The Perl Journal, nearly 4 years of Dr. Dobb's Sourcebook, and thousands and thousands of lines of source code—all on one DVD!

Click here for more information.

 




MarketPlace

Instant Answers to Your IT & Business Questions
Sign Up & Get Full Access To The Definitive Online Book Collection With SkillSoft's Books24x7ďż˝.

Build IT Knowledge with Current & Trusted Content
Helps Employees Develop & Hone New Technical Programming Skills. Sign Up & Get Full Access.

Online Crash Analysis
Automatically capture customer crash data, no debugger required. Support for .NET, C++, OS X, Java.

Discover WinDev 11 RAD
and develop 10 times faster ! ALM, IDE, .Net, PDF, 5GL, Database, 64-bit, etc. Free Express version

Wanna see your ad here?