|
|
Flexible Event Delivery with Executors Event-handling is critical to any GUI application, and many developers know the hazards of making a method call to unknown or poorly behaved code from the event-dispatch thread. J2SE 5.0's concurrency utilities offer more fine-grained control over how code executes. Andrew Thompson applies that to offer better ways to handle events. [ONJava.com] Java Component Development: A Conceptual Framework In general terms, a component is one or more classes with an external API that satisfy some requirement. But how do you build components that are really practical--that handle configuration changes or third-party integration well? Palash Ghosh has some ideas about the concepts behind components. [ONJava.com]
Inside WSRP The WSRP protocol allows portals to consume remote portlets running on other portal servers. Learn how the WSRP protocol operates, and how to write portable portlets that can run locally or remotely. [dev2dev] Building Modular Applications with Seppia Isn't object-oriented programming supposed to be about code reuse? The Seppia framework encourages reuse by allowing you to combine functionality collected in multiple .jar files, stitching the behavior together with JavaScript. Lorenzo Puccetti has an introduction to this interesting framework. [ONJava.com] SwarmStream: A Next-Generation HTTP Stack for Java Ry4an Brase and Chad Tippin provide an overview of SwarmStream Public Edition's feature set. SwarmStream, a free tool for improving the performance of Java's built-in HTTP networking routines, is among the cool new technologies you'll learn about at this week's Emerging Technology Conference. If you couldn't be there in person, check out our conference coverage page for all the goings-on. [ONJava.com] Reducing Upgrade Risk with Aspect Oriented Programming Upgrading code in the field is usually frowned upon, if not prohibited outright, because of the risk and expense of pushing code changes through a release cycle. But could you just insert the tiny bit of code you need with AOP? Stephen B. Morris looks at how careful design and separation of responsibilities can make this less risky. [ONJava.com] 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] |
|
|
|
How to Make Java Suited For Desktop Apps by Fernando Lozano [java.net weblogs] Improving search by Daniel H. Steinberg [java.net weblogs] JAXP 1.3 sources now at Java.Net! by Eduardo Pelegri-Llopart [java.net weblogs] myjxta :: voice by James Todd [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. |