LdapTemplate: LDAP Programming in Java Made Simple 18 Apr 2006 04:00 GMTIf you've worked with LDAP in Java, you're probably familiar with its JDBC-like hassles: lots of plumbing code, tedious iteration over results, pedantic cleanup, and exception handling hassles. The Spring-based LdapTemplate project alleviates many of those hassles. Ulrik Sandberg and Mattias Arthursson introduce you to the advantages of this approach.
Source: Java.net Clustering at the JVM Level to Maintain Business Logic Integrity 14 Apr 2006 23:12 GMTThe typical three-tier architecture keeps the code Java developers need for clustering inside the business logic, making clustering a real chore. Clustering at the JVM level makes Java applications easier to write and cheaper to run.
Source: DevX Parsing with StAX in JDK 6.0 14 Apr 2006 21:30 GMTMost developers parse their XML documents with the DOM or SAX APIs--one takes up too much memory, and the other uses the highly inefficient push parsing model. Find out how JDK 6.0's pull parsing-based Streaming API for XML is the most efficient method yet.
Source: JavaBoutique Vocal Java 13 Apr 2006 04:00 GMTDisabled users depend on assistive technologies to help them work with computers, and this technology is built into Swing. In this article, Jeff Friesen shows how to use a free implementation of the Java Speech API to create a program that reads the text of Swing and AWT components as a user mouses over them.
Source: Java.net Realtime Form Validation Using AJAX 12 Apr 2006 10:32 GMTUsing Asynchronous JavaScript and XML (AJAX) interactions, data can be validated in near real-time as the user enters information into an HTML form. This article, part of the Java BluePrints Solutions Catalog, shows how to use the power of Java and AJAX to create a simple and effective solution for form validation.
Source: Sun Agile Object to Relational Database Replication with db4o 12 Apr 2006 04:00 GMTStart with the idea of an object database, like db4o, which effortlessly persists arbitrary objects, even those with deep structures, into a database. Then mix in a little Hibernate. Now you can map objects to either the db4o database or a relational database. And as Jim Paterson shows, the db4o Replication System allows you to do some interesting things, even replicating between two relational databases, using db4o in the middle.
Source: O'Reilly Creating Content and Protocol Handlers in Java 11 Apr 2006 21:08 GMTDid you know you can mimic the way your browser handles MIME types in your Java apps? Learn how by creating a Web client, server, and a dedicated viewer for a new image type.
Source: JavaBoutique