|
|
A Look at Commons Chain, Part 2 In part one of this two-part series, Bill Siggelkow showed Java programmers how certain design patterns help Commons Chain to define and execute sequential sets of steps. In part two, Bill shows how Struts uses Chain to add custom behavior to request processing. Bill is the author of O'Reilly's Jakarta Struts Cookbook. [ONJava.com] Welcome to a New World: JBoss World 2005 JBoss World, held in Atlanta on March 1-2, kicked off with announcements of new directions for the company and a roundtable of customers discussing the popular application server. This article offers a recap of the opening presentations. [ONJava.com] Migrating a WebLogic EJB Application to JBoss WebLogic and JBoss both offer powerful and popular EJB servers, but they're not completely compatible: an application deployed on one won't immediately deploy on the other. In this article, Deepak Vohra shows how to alter the deployment descriptors to make the migration. [ONJava.com] A Look at Commons Chain: The New Java Framework In part one of a two-part series, Bill Siggelkow covers the basics of Chain, a promising new framework from the Jakarta Commons subproject that lets you integrate Chain into the Struts build process. In part two, Bill will cover how Chain is being applied to Struts and other projects. Bill is the author of O'Reilly's Jakarta Struts Cookbook. [ONJava.com] 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] Introduction to WS-Addressing The proposed WS-Addressing specification defines a standard for incorporating message addressing information into SOAP Web services, instead of leaving this to the transport layer. Beth Linker provides an introduction to this specification and its potential use. [dev2dev] Introducing JBoss Remoting With JBoss World 2005 a week away, JBoss has introduced a new remoting framework. Before you say "another one?" John Mazzitelli hopes you'll take a look at JBoss Remoting, which rids you of RMI-style skeletons and stubs, and offers flexibility and extensibility on both the client and server sides. [ONJava.com] On-Demand Stateful EJBs EJB session beans can be stateful or stateless, but they can't easily change from one to the other. That can be a problem in certain business situations. Swaminathan Radhakrishnan has a pattern that he says can address this problem. [ONJava.com] Internationalization, Part 2 Having your Java apps run correctly both down the street and across the globe presents some hefty challenges. Part one of this two-part excerpt from Java Examples in a Nutshell, 3rd Edition covered the first two steps to internationalization in Java: using Unicode character encoding and handling local customs. This week deals with the third step in the process: localizing user-visible messages. [ONJava.com] Designing a Fully Scalable Application It's difficult, maybe impossible, to know up front how much or in what ways your application will need to scale. But by decoupling parts of the application, you can at least ensure that the scaling process can be kept modular. Amir Shevat shows how some sharable pieces of the MantaRay messaging system can allow your app to grow beyond one box. [ONJava.com] JDMK and Legacy IT Management Keeping a network with legacy (and possibly unreliable) devices is nearly impossible without some automated help. Stephen Morris shows how to use the Java Dynamic Management Kit to keep tabs on your network and find potential points of failure. [ONJava.com]
Internationalization, Part 1 Writing software that is truly multilingual is not an easy task. In this excerpt from Chapter 8 of Java Examples in a Nutshell, 3rd Edition, author David Flanagan offers programming examples for the three steps to internationalization in Java: using Unicode character encoding, handling local customs, and localizing user-visible messages. [ONJava.com] Eclipse Plugins Exposed, Part 1: A First Glimpse Many developers use Eclipse out of the box as an IDE, never investigating its powerful extensibility. But as Emmanuel Proulx shows in this first installment of a new series, Eclipse's modular system of plugins allow you to customize it to your suit your development needs. [ONJava.com] WS-Security in the Enterprise, Part 1: Problem Introduction WS-Security doesn't exist in a vacuum--in an enterprise, it must work with many other systems, which means dealing with other access control systems and potential incompatibilities. Denis Pilupchuk begins his series on integrating WS-Security and enterprise systems by spelling out where the problem lies and what pieces need to be created to resolve it. [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] Object-Relational Mapping with SQLMaps Hibernate is great--if your DBA will let you run generated database queries on his or her system. Sometimes you need to keep the option of hand-optimized queries open. Sunil Patil introduces SQLMaps, a framework that allows you to do just that. [ONJava.com] Bitwise Optimization in Java: Bitfields, Bitboards, and Beyond Flipping bits on and off is the lowest level of computing, and most Java developers are totally isolated from it. But maybe they shouldn't be. In this article, Glen Pepicelli introduces the idea of bitsets--ints and longs whose bitwise representation are the data you're interested in--and how they can be used with mathematical and logical operators to write faster code. [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. Internals of Java Class Loading When are two classes not the same? When they're loaded by different class loaders. This is just one of many curious side effects of Java's class-loading system. Binildas Christudas shows how different class loaders relate to one another and how (and why) to build your own custom class loader. [ONJava.com] QuickTime for Java Components In this excerpt from QuickTime for Java: A Developer's Notebook, Chris Adamson introduces QuickTime components and how they enable runtime discovery of available features, including importers and exporters for graphics and movie formats. [ONJava.com] An Introduction to Service-Oriented Architecture from a Java Developer Perspective Service-oriented architectures offer a new way to think about building software applications, with coarse-grained pieces of functionality split out into "services" that communicate with standardized, widely understood interfaces like XML and SOAP. In this article, Debu Panda shows you how to design and connect SOAs. [ONJava.com] Software Infrastructure Bottlenecks in J2EE Sometimes you can throw more CPUs and memory in a box and your web application doesn't get any faster. This can happen when the bottleneck is not in the hardware but the software; specifically, your application server. Deepak Goel looks at what this looks like in terms of performance characteristics and what you can do about it. [ONJava.com] Validating Objects Through Metadata Metadata, in the form of J2SE 5.0's annotation, allow you to mark up your your code with declarative information, and then use reflection to pull out those annotations at runtime and use them. Jacob Hookom shows how these techniques can be used to validate input to your application. [ONJava.com] Build an eDoc Reader for Your iPod, Part 3 The availability of capable, open-source Java libraries makes it very tempting to call those libraries from otherwise native applications. But it's not always easy. In "Build an eDoc Reader for Your iPod, Part 3", Matthew Russell shows how he used a Java PDF library and Mac OS X's Cocoa-Java bridge to bring PDF support to his eDoc reader. [MacDevCenter.com] Parsing an XML Document with XPath Pulling just a single node value or attribute from an XML document can be inefficient if you have to parse over a whole list of nodes you don't want, just to get to one you do. XPath can be much more efficient, by letting you specify the path to the desired node up front. J2SE adds XPath support, and the JDOM API also offers support through an XPath class. Deepak Vohra looks at both approaches. [ONJava.com] Streaming QuickTime with Java Realtime multicast streaming came to QuickTime in version 5, but now, years later, it's not widely realized that it can be called from QuickTime for Java. Chris Adamson, author of QuickTime for Java: A Developer's Notebook, shows how it works. [ONJava.com] Mock Objects in Unit Tests Unit testing your code against a service or process that's either too expensive (commercial databases) or just not done yet is something you can deal with by simulating the other piece with a mock object. EasyMock can suffice in some cases, but it can only create mock objects for interfaces. Mocquer, based on the Dunamis project, can create mocks for classes, too. Lu Jian shows how it works. [ONJava.com] Caching Dynamic Content with JSP 2.0 Server-side caching is a powerful and popular technique for improving the performance of server-side applications. After all, why compute twice what you can compute once and hang on to? Andrei Cioroianu shows you how to exploit this technique in JSP 2.0. [O'Reilly Network] Working with Hibernate in Eclipse Jim Elliott was curious about whether anyone had written plugins to work with Hibernate in Eclipse, as he'd just finished writing Hibernate: A Developer's Notebook. It turns out there are several such efforts underway. In this article, Jim explores Hibernate Synchronizer--a plugin that automatically updates your Java code when you change your mapping document. [O'Reilly Network] Results from the Second 2004 ONJava Reader Survey Editor Chris Adamson summarizes the results of the recent reader survey, including favorite tools, platforms, and what you want to see on the site in 2005. [O'Reilly Network] ONJava 2004 in Review: Editor's Choice Editor Chris Adamson takes a look back at some of the most interesting articles published on ONJava during the last year. [ONJava.com] Jini: Out of the Bottle and Into the Box What if a Jini lookup service was available in every shipping JVM? Not just for enterprise applications - where Jini is a natural fit - but also in every J2SE and J2ME distribution. Jini is Java's secret weapon. [ONJava.com] |
|
|
|
Watcha doin? by Daniel H. Steinberg [java.net weblogs] Announcing Coyote by Simon Phipps [java.net weblogs] My Extended Java Family by Eitan Suez [java.net weblogs] Eitan's Big Rant of the Year by Eitan Suez [java.net weblogs]
JavaOne San Francisco, CA Jun. 27, 2005 > More |
|
Sponsored by: |
|||||||||||||||||
|
Contact Us | Advertise with Us | Privacy Policy | Press Center | Jobs Copyright © 2000-2005 OReilly Media, Inc. All Rights Reserved. |