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  
advertisement
O'Reilly Open Source Convention: August 1- 5, 2005, Portland, OR


  

Bean-Managed Transaction Suspension in J2EE
Empowering bean-managed transactions

  

What Is Business Process Modeling?
Building an ideal BPM architecture

  

Memory Leaks, Be Gone
Finding and fixing leaks

  

Upload Files with JSF and MyFaces  Want to support uploading of files from the user's browser to your web application? You could parse the multipart form data yourself--or you could let Java do it for you. JSF doesn't support this out of the box, but, as Andrei Cioroianu shows, several JSF-based frameworks do.   [ONJava.com]

Taking JUnit Out of the Box  JUnit is practically ubiquitous among Java developers as a way to test code, but it's somewhat limited by the fact that it's only meant to run in one JVM on one box, hampering its usefulness when developing distributed applications. In this article, Amir Shevat shows how the open source JUnit extension Pisces helps JUnit overcome this limitation.   [ONJava.com]

Features: The Evolution of JAXP  Rahul Srivastava provides an introduction and update to the latest release of JAXP, a Java XML API.  [XML.com]

Generics in J2SE 5.0  Generics are one of the most prominent language features in J2SE 5.0, but are you using them yet? Properly used, they allow greater flexibility, compile-time type safety, and fewer annoying and potentially unsafe casts. In this article, Budi Kurniawan shows how they work.   [ONJava.com]

Getting Started with Maven  In this excerpt from Maven: A Developer's Notebook, authors Vincent Massol and Timothy M. O'Brien show you how to install and start working with Maven, the do-it-all Java project builder/manager.   [ONJava.com]

O'Reilly Learning LabOpen Source Programming Certificate: Save 50% -- Our Open Source Programming Certificate Series will teach you the core technical skills necessary to fully understand programming using Linux or Unix operating systems, languages, libraries, and databases. Completion of this series also earns you a Certificate of Professional Development through the University of Illinois Office of Continuing Education. For two weeks only, save 50% on all Open Source Programing Certificate Series classes. Offer ends July 31st.

XML as a Bridge Between SQL and Web Applications  Have you ever wanted to treat data returned from an SQL query as XML? In this tutorial, Alexander and Olexiy Prokhorenko present a technique for doing just this.  [dev2dev]

JavaOne 2005: Participate in the Future of Java  JavaOne 2005 is touting the successes of Java, charting the next versions of Java's standard and enterprise editions, and calling on members of the Java community to participate in Java's future.   [ONJava.com]

POJO Application Frameworks: Spring Vs. EJB 3.0  Spring and EJB 3.0 are both reactions, in their own ways, to the complexity of EJB 2.1 and the complaints piled upon it. Both support developing with Plain Old Java Objects (POJOs) and give the framework responsibility for handling transactions, security, persistence, etc. But the two use substantially different approaches. In this article, Michael Yuan puts the two frameworks up against one another to see how they stack up.   [ONJava.com]

What Developers Want  Regardless of the language and platform you choose for development, you likely share some goals with your fellow developers: to be productive, to use good tools, and to keep your tools and processes out of your way while you create good software. Murugan Pal, CTO of SpikeSource, explains ten attributes he thinks developers want.   [ONLamp.com]

An Ant Modular Build Environment for Enterprise Applications  Most Java developers already use Ant for their builds, but are you getting everything you could out of this tool? With a complex enterprise application, in which classes may be used in several tiers, it's important to control where the code lives and how it gets built, so you can build .jars with just the code needed for each tier. Les Hazlewood shows how this approach leads to faster builds and downloads, and even catches errant dependencies.   [ONJava.com]

Java City: The Java Enterprise Ecosystem  Should we worry about promoting a healthy Java community? Or is everything just fine in Java City? Jim Farley asks you to weigh in on these questions, and others, in the Talkbacks, and next week at JavaOne. He plans a followup article summarizing what you have to say. Your comments may help to shape content in Jim's upcoming book, Java Enterprise in a Nutshell, 3rd Edition, due out in the fall.   [ONJava.com]

Decorating Servlet Request Objects  The Decorator design pattern can be usefully applied to J2EE projects. In this article, Budi Kurniawan shows how to decorate Servlet request objects.  [dev2dev]

Exploring Laszlo Classes, Attributes, and Events  Laszlo offers an interesting option for rich client-side GUIs--XML markup of widgets and their event handling, which is then converted into a Flash executable that is run with the Flash plugin in the user's browser. Satya Komatineni introduces Laszlo and shows how to get started writing web applications with it.   [ONJava.com]

How to Talk About Jini, J2EE, and Web Services at a Cocktail Party  Heard about distributed technologies for Java, but not sure what they are or why they're important? Kathy Sierra and Bert Bates, authors of Head First Java, 2nd Edition, present this cocktail-party overview. Hold your own in conversation with Java geeks.   [ONJava.com]

Securing Web Services with mod_security  Web services build atop HTTP to allow more flexible applications. However, their flexibility and ubiquity do not always protect against vulnerabilities due to the way HTTP works. Fortunately, the mod_security module and some planning can block potential attacks at both the protocol and application level before they start. Shreeraj Shah explains.  [ONLamp.com]

Prevalence: Transparent, Fault-Tolerant Object Persistence  Want to persist your objects, with transactional integrity? You probably assume you're going to be using a database, but not so fast--for lighter uses, particularly for prototyping and testing, the idea of "prevalence" may make more sense. Jim Paterson introduces it by way of Prevayler, a popular prevalence framework.   [ONJava.com]

Playing Movies in a Java 3D World, Part 2  In part one of this two-part series, Andrew Davison walked through how to use JMF to play movie clips inside of a Java 3D scene. In this second and final installment, he discusses another version of the movie screen, using QuickTime for Java. Andrew is the author of Killer Game Programming in Java.   [ONJava.com]

A Firefox Glossary  Brian King, with some help from Nigel McFarlane, covers everything from about:config to "zool" in this fun, fact-filled Firefox glossary. It's by no means exhaustive, but you'll find references to specific chapters or hacks throughout the glossary to Nigel's book, Firefox Hacks. When you're ready to dig deeper, check out his book.   [O'Reilly Network]

Domain Searching Using Visitors  Modern applications typically require domain searching functionality--the ability to search for data within the context of the application domain. In this article, Paul Mukherjee describes an approach to domain searching using the Visitor pattern, and explains its advantages.   [ONJava.com]

Playing Movies in a Java 3D World, Part 1  The ability to play a movie clip inside of a Java 3D scene opens up opportunities for richer, more interesting 3D content. Andrew Davison, author of Killer Game Programming in Java, describes how he implemented a Java 3D movie screen, using the Java Media Framework (JMF) Performance Pack for Windows v.2.1.1e, as well as J2SE 5.0 and Java 3D 1.3.2.   [ONJava.com]

Parallel task execution in J2EE using the Work Manager specification  As it stands, the J2EE specification provides no easy way to initiate the execution of parallel tasks. JSR 237, the Work Manager for Application Servers specification, changes this. In this article, Dmitri Maximovich introduces the specification, and provides an example of how to use it. His code runs on the current beta of WebLogic Server 9.0.  [dev2dev]

Constructing Services with J2EE  Web services are a popular means of deploying service-oriented applications, and the standards in J2EE 1.4 make it easier to develop services that are portable and interoperable. Debu Panda shows you how, and takes a look at how things will get easier in J2EE 5.0.   [ONJava.com]

Developing for the Web with Ant, Part 2  In this second installment of a two-part excerpt from Ant: The Definitive Guide, 2nd Edition, Steve Holzner covers the tasks for deploying web apps with get, serverdeploy, and scp.   [ONJava.com]

Features: Errors and AJAX  AJAX is hot, but is it real? How mature are the techniques, and can you use them right now? Joshua Gitlin offers a method for trapping client-side JavaScript errors and logging them, server-side, with AJAX.  [XML.com]

Wire Hibernate Transactions in Spring  The proper handling of transactions across multiple data stores, supporting multiple application flows, is the kind of heavy lifting J2EE servers were built for. But what if you're using the lighter-weight Spring framework? Binildas C. A. shows how you can wire Spring and Hibernate together to achieve the transaction support you desire.   [ONJava.com]

Developing for the Web with Ant, Part 1  Developing for the Web is bread and butter for Ant developers. In part one of this two-part excerpt from Ant: The Definitive Guide, 2nd Edition, author Steve Holzner covers the tasks specifically designed for packaging web applications, including war, cab, ear, and jspc. And stay tuned for part two next week, which will cover the tasks for deploying web apps, including get, serverdeploy, and scp.   [ONJava.com]

Setting up a Secure Subversion Server  You've finally persuaded your users to stop emailing documents back and forth when they need to collaborate, but you've had to recover three overridden versions on the shared network drive this week. Dru Lavigne has an answer; this month's FreeBSD Basics column demonstrates how to allow users to collaborate on documents with safe and secure version control provided by Subversion.   [ONLamp.com]

Configuring Database Access in Eclipse 3.0 with SQLExplorer  It's 2005 and you're using Eclipse. Should you still be creating your database tables and seeding them with data by hand, from an SQL command-line utility? Deepak Vohra introduces the SQLExplorer plugin for Eclipse, which allows you to put a GUI on your development-time database access.   [ONJava.com]

Five Things I Love About Spring  For hardcore enterprise development, Bruce Tate turns to Spring, the topic of his latest collaboration, Spring: A Developer's Notebook. In this article, Bruce describes five reasons why he is hooked on Spring.   [ONJava.com]

Business Rules Engines Within Enterprise Platforms  This article compares ILOG JRules to the XML-based rule engine within BEA WebLogic Platform 8.1. The article also discusses the role of Java Specification Request (JSR) 94 for the integration of rule engines into a J2EE platform.  [dev2dev]

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]





Coordinating cluster traffic
Coordinating cluster traffic


Java Cookbook: Recipe of the Day

The use of debugging printouts and assertions in your code is still not enough.

Do it now.

Weblogs: Links & Commentary

Visualize your schema dependencies by Kirill Grouchnikov [java.net weblogs]

XML Standards as ObjectOriented Code Part I by Jody Garnett [java.net weblogs]

About Plastic Look and Feel by Romain Guy [java.net weblogs]

How to create scalable icons with Java2D by Kirill Grouchnikov [java.net weblogs]
More Java-related web logs.

Today's News
July 24, 2005

Ant - The Definitive Guide pankaj_kumar writes "Apache Ant, the Java replacement for make , belongs to the rare breed of category killer software for automating Java software development tasks. It is an Apache open source project, has won numerous awards, boasts comprehensive online documentation and is used by most Java developers. So, what could a book say that is already not available online?" Read on for Kumar's review of Ant: The Definitive Guide. [Source: Slashdot Org latest news headlines]

IBM Collaborating With Open Source Java Project lord_rob the only on writes "According to news.com, IBM has begun participating in the open-source Java project Harmony and intends to contribute code to the initiative, according to a Big Blue executive. At this point, IBM's participation is limited to thoughts on design, but the company has plans to contribute code to the project in the future." From the article: "We really like to see the community get started, and they're still working out the rough edges of what they want to deliver. And we didn't want to disrupt that," [Source: Slashdot Org latest news headlines]

A View From Asia: A Conversation With Technology Evangelist Chuk Munn Lee Sun Microsystems' technology evangelist Chuk Munn Lee, who has spent six years working with key Asia-Pacific ISVs to design, prototype, develop, tune, size, and benchmark their applications, presents his distinctive perspective on Java technology. [Source: Java Technology Highlights]

HP Fires Father of OOP An anonymous reader writes "Wow. Hewlett-Packard has disbanded its Advanced Software Research team and sent its leader, reknowned programmer Alan Kay, packing. From today's Good Morning Silicon Valley: 'HP is bidding adieu to legendary Silicon Valley technologist Alan Kay. A founder of Xerox's Palo Alto Research Center, Kay -- who once said, "The best way to predict the future is to invent it" -- was instrumental in the development of the windowing GUI and modern object-oriented programming. He envisioned a laptop computer long before the first ones rolled out and his Smalltalk programming language was a predecessor to Sun Microsystems' Java. Hard to believe HP's cutting him loose.' Maybe Apple will hire him." [Source: Slashdot Org latest news headlines]

Mpeg-1 & 4 Open source streaming media in Java, MediaFrame [Source: Streaming Media News headlines]


Events
There are no current events at this time.

> 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