|
|
XML Document Validation with an XML Schema In many cases, it's useful not just to get the values from an XML document, but to verify that the document itself is properly formatted. Deepak Vohra takes a look at how to validate XML documents with Xerces2-j and JAXP. [ONJava.com] Developing Your First Enterprise Beans, Part 1 In this first installment of a two-part series of excerpts from Chapter 4 of Enterprise JavaBeans, 4th Edition, you'll learn how to develop your first entity bean. This segment covers how to define the remote interface, how to create a deployment descriptor, how to deploy, and more. Code examples step you through everything you need to do to create and use your first entity bean. [ONJava.com] Understanding the Interplay Between Utility Classes and Static Initialization Using static initializers is a common practice for setting up fields that need to be accessed from distantly related classes. However, without a firm understanding of how statics work with relation to subclassing, and a careful establishment of initialization expectations, difficult problems can arise. Satya Komatineni offers a new pattern that can reduce these problems. [ONJava.com] JDemo: Interactive Testing Refactored The nature of GUI development doesn't lend itself to test-oriented methodologies very well. But that doesn't mean you shouldn't test your components! Markus Gebhard has an alternative: JDemo, a tool patterned after JUnit, for displaying and verifying GUI components. [ONJava.com] IRC Text to Speech with Java Paul Mutton creates a multi-platform IRC bot that uses the FreeTTS Java speech synthesizer library to convert IRC messages into audible speech. Why would you want to use an IRC text-to-speech system? By reading out messages as they arrive, you can keep working, diverting your attention to IRC only when necessary. Paul is the author of IRC Hacks. [ONJava.com]
Monitoring Session Replication in J2EE Clusters Session replication is critical for running enterprise-class application servers, but tracking down problems in J2EE clusters can be difficult. Fermin Castro introduces techniques for monitoring and measuring how well your cluster is replicating sessions. [ONJava.com] Parsing and Processing Large XML Documents with Digester Rules In-memory XML representations such as DOM can be impractical for large XML files, for which different approaches are needed. As Eugene Kuleshov shows, Jakarta Digester offers a lighter, event-driven alternative. [ONJava.com] Building Highly Scalable Servers with Java NIO For massive, high-performance systems, thread-per-client systems may not scale because of the expense in switching thread contexts. Sometimes, as Nuno Santos explains, you have to go lower-level. In this article, he shows how his team used multiplexing features in java.nio and a Swing-like event dispatcher to achieve extremely high performance. [ONJava.com] Java Programming on the Mac Aspect-Oriented Annotations Aspect-Oriented Programming (AOP) and attributes are two leading-edge programming concepts, each with typical applications. By combining them, using attributes to indicate where AOP code should execute, you can effectively declare new Java syntax. Bill Burke introduces this new technique. [ONJava.com] Using the ESB Service Container O'Reilly's Enterprise Service Bus, by Dave Chappell, shows how to use an event-driven SOA to integrate enterprise apps and web services built on J2EE, .NET, C#/C++, or other legacy platforms, into a single integration network that spans the extended enterprise. In this excerpt from Chapter 6 of his book, Dave discusses the ESB service container--a key architectural concept that provides the implementation of the ESB's service interface. [ONJava.com] Java Patterns and Network Management Patterns are often used to solve common problems in software developments, but this approach is also applicable to deploying and managing networks. Stephen B. Morris shows how this approach can help solve problems in this complex field. [ONJava.com] Handling Events in JavaServer Faces, Part 2 In the JSF event model, user actions take place in a client separated from the server, causing delays in the delivery of some types of events. In last week's part one of this two-part excerpt from JavaServer Faces, author Hans Bergsten provided examples to show how JSF deals with this, by using a strict request processing lifecycle. Here in part two, Hans implements event handling for parts of the sample application discussed in part one. [ONJava.com] Develop Your Own Plugins for Eclipse, Part 1 Part of the appeal of the Eclipse platform is its extensibility -- in Eclipse, almost everything is a plugin, and it's easy to get plugins from third parties or write your own. Jérôme Molière shows how to get started with deploying Eclipse plugins. [ONJava.com] An Introduction to IKVM Java and .NET are two different worlds, but they can live within one process with IKVM. This "JVM for .NET" allows .NET (or Mono) to leverage Java code, and vice versa. Avik Sengupta provides an introduction to this important new environment. [ONJava.com] Extend JavaSound to play MP3, Ogg Vorbis, and more JavaSound, part of J2SE since version 1.3, handles a small number of audio formats, but is extensible so that more formats can be supported. The JavaZOOM team has done exactly this, bringing MP3 audio to JavaSound. In this article, they show how it works. [ONJava.com] Creating Custom Desktop Components Swing includes a vast collection of GUI components, but sometimes you need something that's unique to your application. Andrei Cioroianu returns with an installment on how to code your own Swing widget. [ONJava.com] Handling Events in JavaServer Faces, Part 1 In this excerpt from Chapter 8 of JavaServer Faces, author Hans Bergsten looks at the event model in JSF and how it relates to the request processing lifecycle. Next week, in part two of this excerpt, Hans implements event handling for parts of the sample application. [ONJava.com] Creating Varargs in Java 1.5 Tiger This excerpt from Java 1.5 Tiger: A Developer's Notebook, by bestselling Java authors Brett McLaughlin and David Flanagan, shows you how to create and iterate over Java 1.5 varargs (variable-length argument lists). Learning to use varargs will have you writing better, cleaner, more flexible code in no time. [ONJava.com] Maven: Trove of Tips Maven not offers not just a build tool but an entire project environment, including documentation and testing features. All of which is a lot to bite off with an existing project. Andreas Schaefer made the switch to Maven and has some real-world lessons he learned from the experience. [ONJava.com] Features Keeping Up with the Java Joneses Ian Darwin covers a variety of new Java 1.5 features, including J2SE 1.5 threading, the return of printf, and the IDEs NetBeans and Eclipse. Ian wraps up this article with resources to help you keep up with the rest of the Java Joneses. Ian is the author of the recently released Java Cookbook, 2nd Edition. [ONJava.com] XML-Java Data Binding Using XMLBeans XMLBeans, currently in the Apache incubation process, is a promising framework for providing XML/Java data binding unmarshalling well-formed XML into Java objects, and marshalling Java objects into XML files. Hetel Shah provides an introduction to its features. [ONJava.com] Cooking with Eclipse, Part 2 In this second batch of recipes from O'Reilly's Eclipse Cookbook, find out how to connect Eclipse to a CVS repository and how to use Swing and AWT inside of SWT for Eclipse 3.0. [ONJava.com] Cooking with Eclipse In these sample recipes from O'Reilly's Eclipse Cookbook learn how to create a custom perspective in Eclipse, and how to speed up the JDT Editor. [ONJava.com] Peeking Inside the Box: Attribute-Oriented Programming with Java 1.5, Part 2 Continuing an investigation into generating update messages without explicitly coding them, Don Schwarz tries combining some new approaches, including thread sampling and bytecode manipulation. [ONJava.com] An Introduction to Aspect-Oriented Programming with the Spring Framework, Part 1 The Spring framework, which supports development of the different facets of J2EE, provides an aspect-oriented programming module that gives Spring developers the opportunity to apply aspects to their applications. This article shows you how to work with AOP in Spring. [ONJava.com] Better, Faster, Lighter Programming in .NET and Java In Better, Faster, Lighter Java, authors Bruce Tate and Justin Gehtland lay out five basic principles to combat the "bloat" that has built up over time in modern Java programming. In this article, Justin shows how programmers developing .NET apps can apply the same principles, and along the way, cultivate still more ideas that make programming more simple and fun again. [ONJava.com] Designing J2EE Applications for Real-Life Clustered Environments What works on a single server can crash and burn in a cluster. In this article, the authors draw from their practical experience to list and discuss some critical considerations when building J2EE applications so that they can be deployed in a clustered environment without requiring any code changes. [ONJava.com] A Generic MVC Model in Java The Model View Controller (MVC) pattern often leads to large blocks of essentially similar code in various classes; exactly the kind of detail that can be abstracted away with Java 1.5's generics. Arjan Vermeij shows how this can be accomplished. [ONJava.com] |
|
|
|
Does a tool need to be cool by Daniel H. Steinberg [java.net weblogs] MyJXTA 2.3.1a by James Todd [java.net weblogs] Connected Cooking by James Todd [java.net weblogs] Logging is your friend. Trust the logger by Scott Ellsworth [java.net weblogs]
Great Lakes Software Symposium Elk Grove, IL Oct. 1, 2004 Pacific Northwest Software Symposium Redmond, WA Oct. 8, 2004 Atlanta Java Software Symposium Atlanta, GA Oct. 15, 2004 |
|
Sponsored by: |
|||||||||||||||||
|
Contact Us | Advertise with Us | Privacy Policy | Press Center | Jobs Copyright © 2000-2004 OReilly Media, Inc. All Rights Reserved. |