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  


  

Constructing Services with J2EE
Building portable web services with J2EE 1.4

  

Developing for the Web with Ant, Part 2
Deploying web apps using get, serverdeploy, and scp

  

Features: Errors and AJAX
Using AJAX to log JavaScript errors

  

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]

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]





Designing an Enterprise Application Framework for Service-Oriented Architecture
Designing an Enterprise Application Framework for Service-Oriented Architecture


Java Cookbook: Recipe of the Day

You need to put some String pieces (back) together.

Do it now.

Weblogs: Links & Commentary

The real story about how Anakin Skywalker became Darth Vader by Kirill Grouchnikov [java.net weblogs]

Blarg #15: How can I do image processing on the server-side? by Jayson Falkner [java.net weblogs]

Java Internal Use License (JIUL) released for JDK 5.0 by Ray Gans [java.net weblogs]

About that proxy server ... by Gregg Sporar [java.net weblogs]
More Java-related web logs.

Today's News
May 29, 2005

Mozilla Extending Javascript? Nomad128 writes "Mozilla's Deer Park 1 Alpha RC appears to have extended the Javascript spec for the first time in quite some time. New features include Array object methods "every" (logical AND), "some" (logical OR), "map" (function mapping), and "forEach" (iteration). They also appear to have added native XML support. Will this speed up the development of AJAX applications and give Moz a leg-up over IE7?" [Source: Slashdot Org latest news headlines]

Technical Article: Using JScape's WebGalileo Tree Component JSCAPE Inc. has implemented a rich set of JavaServer Faces components with added support for the Java Studio Creator IDE. Try out JSCAPE's WebGalileo Faces tree component in your web application using this sample application with accompanying technical article. [Source: Java Technology Highlights]

May Tools Month The Java Studio Creator IDE is only one of the tools featured in May Tools Month. Our tools are winning awards, setting new performance benchmarks, and gaining momentum among both Solaris and Java technology developers. [Source: Java Technology Highlights]

Patch Update Updates to the collaboration module for Sun Java Studio Enterprise 7 are now available on the Update Center and SunSolve. The patch update provides information about the patch, bugs fixed, and installation instructions. [Source: Java Technology Highlights]

Chat Transcript: Java Enterprise System and Sun Java Studio Enterprise Integration Java Studio Enterprise is the development tool for the Java Enterprise System. Sun Microsystems' engineers Charles Beckham, Ludovic Champenois, and Inderjeet Singh discuss some unique plug-ins to enable faster, more productive development and deployment. [Source: Java Technology Highlights]


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