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  


  

Domain Searching Using Visitors
Support search by visiting your data

  

Playing Movies in a Java 3D World, Part 1
Using JMF to play movie clips inside of a Java 3D scene

  

Parallel task execution in J2EE using the Work Manager specification
Managing concurrent tasks in J2EE

  

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]

O'Reilly Learning LabLinux/Unix SysAdmin Certificate Special -- Learn system administration skills online and receive certification from the University of Illinois College of Extended Education. Courses include: The Unix File System, Networking and DNS, Unix Services (including email and web servers), and Scripting for Administrators with Sed, Awk, and Perl. It's all at the O'Reilly Learning Lab. Enroll today and save 40%.

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]

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]

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]





J2ME Tutorial, Part 2: User Interfaces with MIDP 2.0
J2ME Tutorial, Part 2: User Interfaces with MIDP 2.0


Java Cookbook: Recipe of the Day

You want to find text regardless of case.

Do it now.

Weblogs: Links & Commentary

Blarg #16: OpenOffice Rocks! er, wait...no it doesn't. Oh yeah, now it does (Unless I broke it?)! by Jayson Falkner [java.net weblogs]

JPOX 1.1.0-beta-3 in Maven by N. Alex Rupp [java.net weblogs]

Fit code, part 3 - Parse and Fixture by William C. Wake [java.net weblogs]

If Charles is going to be there... by Gregg Sporar [java.net weblogs]
More Java-related web logs.

Today's News
June 02, 2005

Getting Started with NetBeans, Part 1 Learn how to use NetBeans IDE basic features, such as the drag-and-drop Form Editor, the Source Editor, and the Properties pane by creating a simple GUI application that calculates overtime pay. [Source: Java Technology Highlights]

Refactoring in NetBeans 4.1 The NetBeans 4.1 IDE now has built-in support for refactoring. This article helps you to make the most of these up-and-coming tools that allow you to automatically improve source code without changing your application's external behavior. [Source: Java Technology Highlights]

JavaServer Faces in Action Book Chapter Read JavaServer Faces in Action, Chapter 8, which explains how to build a static Login page with JavaServer Faces and JSP technologies and then test your knowledge. [Source: Java Technology Highlights]

NetBeans 4.1 IDE Chat Transcript What are the plans for JSF support in NetBeans? Get the answer to this and other interesting questions by reading the transcript of this recent online chat. [Source: Java Technology Highlights]

Is Rodi BitTorrent's Replacement? tilleyrw writes "From ZDNet Blogs: 'Rodi is a small-client P2P application, written in Java, that improves on BitTorrent by allowing both content searches and full anonymity. It's released under the General Public License (GNU). Even your IP address can be hidden using Rodi through a process called "bouncing." That is, if A wants a file from B, they get C to agree to stand-in on the exchange. B gets C's IP address, not A's. Through IP Spoofing A can even hide their identity from C. Rodi can also be used from behind corporate firewalls and LANs using Network Address Translation (NATs), something most home gateways have.' " [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