ONJava.com -- The Independent Source for Enterprise Java
O'Reilly Network.oreilly.comSafari Bookshelf.Conferences. Sign In/My Account | View Cart   
Articles Weblogs Books Learning Lab eDocuments  


  

Configuring Database Access in Eclipse 3.0 with SQLExplorer
Have Eclipse users written their last create table?

  

Five Things I Love About Spring
Code faster and maintain less, choose your own services and persistence framework, and more

  

Business Rules Engines Within Enterprise Platforms
Business Rules Engines Within Enterprise Platforms

  

Quick and Easy Custom Templates with XDoclet  Got Ruby-on-Rails envy? With XDoclet templates, you can automate the creation of all kinds of boilerplate Java code: beans, controllers, services, and more. Jason Lee used XDoclet to help his Spring development, and in this article he shows you how to get started.   [ONJava.com]

Generic Types, Part 2  In part one of this two-part excerpt from Java in a Nutshell, 5th Edition, David Flanagan described how to use generic types. This week David details how to write your own generic types and generic methods, and concludes with a tour of important generic types in the core Java API.   [ONJava.com]

Building Cocoa-Java Apps with Eclipse  Eclipse is a gloriously powerful, open source IDE, which is a joy to use when working with Java. It makes sense, then, when writing Java-based Cocoa apps, to use Eclipse. But how? What does Eclipse know about the esoteric world of Cocoa-Java? Well, with a little help from Ant, the flexible build system, you can tell it everything it needs to know. Mike Butler shows you how.  [MacDevCenter.com]

The REST of the Web  REST, Representational State Transfer, is a collection of design principles that use simple, stateless HTTP for data transfer, without the method-call-like abstractions of RMI or SOAP. Jason R. Briggs shows how you can use this simple architecture, with Jython and Velocity, to develop nimble, loosely coupled web applications.   [ONJava.com]

Generic Types, Part 1  In part one of this two-part excerpt from Java in a Nutshell, 5th Edition author David Flanagan explores the basic use of generics in typesafe collections, and then delves into their more complex uses. In addition, he covers type parameter wildcards and bounded wildcards. In part two next week, David tackles how to write your own generic types and generic methods.   [ONJava.com]

Oracle Space SweepstakesOne giant leap for developers -- The company that brings developers cutting-edge technologies like BPEL and ADF will soon bring one lucky developer to the edge of space. Enter now for the Oracle Space Sweepstakes for a chance to win a Space Adventures suborbital space flight, along with other prizes including Mac PowerBook G4s, 20GB Apple iPods, and Star Wars Trilogy DVD sets.

--Advertisement--

XML Namespaces Don't Need URIs  Mike Day argues that using URIs to identify XML namespaces was a terrible mistake that's caused far more trouble than it's worth.  [XML.com]

Five Favorite Features from 5.0  A lot has been written about Java 5.0's great new features, leaving David Flanagan to focus on this review of five of his favorite new API features: the Callable and Future interfaces, new APIs for varargs and autoboxing, new ability interfaces, the @Override annotation, and MatchResult. Read to the end, where David reveals a bonus sixth feature, a new language syntax supported by Java 5.0 but known to very few. David is the author of Java in a Nutshell, 5th Edition.   [ONJava.com]

Enterprise Streaming  The Java Message Service is a lynchpin of J2EE, but is in some ways more difficult and less flexible than more basic forms of communication, like the stream model of the java.io package. However, as Amir Shevat writes, the two are not mutually exclusive--you can write to JMS topics and queues with streams.   [ONJava.com]

Simplifying Java with Jakarta Commons Lang  Harshad Oak provides an overview of the Jakarta Commons Lang project and shows how the components in this project can simplify and accelerate development.  [dev2dev]

Managing Component Dependencies Using ClassLoaders  Use of the Class-Path entry within a JAR file's manifest can help you manage external dependencies--to a point. Once you start using multiple JARs that need incompatible versions of external JARs, problems quickly ensue. As Don Schwarz shows, you can get out of this problem by using your own class loader to manage the dependencies.   [ONJava.com]

Regular Expressions in J2SE  Java applications that perform text searching and manipulation using String and StringTokenizer classes often result in complex code, leading to a maintenance nightmare. Another alternative is regular expressions. Hetal Shah explains how to implement regular expressions using the java.util.regex package, and how it can make your code easier to write and maintain.  [ONJava.com]

Form Your Own Design Pattern Study Group  Like most complex subjects, design patterns are best learned over a period of time, not in a few sittings. Eric Freeman and Elisabeth Freeman, coauthors of Head First Design Patterns, suggest one way to ease the learning curve (and have some fun along the way): form a study group, using their book. If you're ready to get your engineering team together, the Freemans get you started in this article with a plan to follow and chapter-by-chapter questions to help generate discussion.   [ONJava.com]

Quick Start Guide to Enterprise AOP with Aspectwerkz 2.0  Aspect-oriented programming is a great extension to Java, though not yet popular within the enterprise environment. David Teare introduces some production-ready aspects performing logging and profiling, together with a complete application demonstrating the process.  [dev2dev]

Features: Getting Started with XQuery, Part Two  Bob DuCharme, our intrepid XSLT explorer, continues his introduction of XQuery, the new programming language for XML.  [XML.com]

Eclipse Plugins Exposed, Part 2: Simple GUI Elements  Eclipse is largely composed of plugins, but you can't just write any arbitrary code and have Eclipse magically incorporate it. In part two of his series on Eclipse, Emmanuel Proulx introduces Eclipse's "extension points" by showing how to create toolbar buttons, menu items, and dialogs.   [ONJava.com]

WS-Security in the Enterprise, Part 2: The Framework  Denis Pilupchuk continues his series on developing a WS-Security toolkit by developing a general framework to match the needs identified in part one and by starting to map WSSE features to Java objects.   [ONJava.com]

Features: Getting Started with XQuery  Bob DuCharme, our intrepid XSLT explorer, turns his attentions to XQuery, the new programming language for XML.  [XML.com]

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]





How To Build a ComputeFarm
How To Build a ComputeFarm


Java Cookbook: Recipe of the Day

You don't want to worry about storage reallocation; you want a standard class to handle it for you.

Do it now.

Weblogs: Links & Commentary

The Price is Right by Gregg Sporar [java.net weblogs]

Not too young by Daniel H. Steinberg [java.net weblogs]

Open Office and Java - I'm for it by John Reynolds [java.net weblogs]

Open Office and Java - I'm for it by John Reynolds [java.net weblogs]
More Java-related web logs.

Today's News
May 13, 2005

Sun, Microsoft Get Closer Sun and Microsoft continue to rest their differences, teaming to make Windows work with Java. [Source: internetnews.com: Top News]

Timing is Everything Any time you introduce dynamic effects, animations, or time-based events to a Java application, you find yourself re-implementing the same functionality you have written for every application that required timing or animation. This article considers the current situation and what is needed in a timing framework. [Source: Java Technology Highlights]

Building a Better Mousetrap: Making Development Easier with Java Tools Sun Microsystems' tools architect, Bob Brewin, discusses the future of Java tools, developer productivity, and collaborative application development. [Source: Java Technology Highlights]

NetBeans 4.1 is out [Source: Javable.com (English)]

Firefox Updated to 1.0.4 Exstatica writes "Firefox has been updated to 1.0.4 and they have fixed a few critical security holes, all javascript vulnerabilities. The Mozilla Foundation announced these vulnerabilities May 7th. 'There are currently no known active exploits of these vulnerabilities although a proof of concept has been reported." You don't have to upgrade, but it's recommended.'" We've reported on these vulnerabilities previously. [Source: Slashdot Org latest news headlines]


Events

JavaOne
San Francisco, CA Jun. 27, 2005

> More


Sponsored by:




Contact Us | Advertise with Us | Privacy Policy | Press Center | Jobs

Copyright © 2000-2005 O’Reilly Media, Inc. All Rights Reserved.
All trademarks and registered trademarks appearing on the O'Reilly Network are the property of their respective owners.

For problems or assistance with this site, email