ONJava.com -- The Independent Source for Enterprise Java
oreilly.comSafari Books Online.Conferences.

advertisement

AddThis Social Bookmark Button

ONJava.com Articles

301 to 350 of 810 Prev Next

Cooking with Java Servlets & JSP
By Bruce W. Perry
Learn how to use the Java Plug-in HTML Converter tool to generate the tags for embedding an applet, how to configure a javax.sql.DataSource for use in a servlet with the Tomcat web container, and how to use the JSTL's XML and XSLT-related tags, in these sample recipes from O'Reilly's Java Servlets & JSP CookbookFeb. 25, 2004

Configuring JBoss 4.0 JDBC Connectivity
By Deepak Vohra
JBoss uses the HypersonicDB by default, but with a few configuration changes, it can use any JDBC-equipped database. Deepak Vohra shows how to use Oracle, Sybase, MySQL and other databases with JBoss. Feb. 25, 2004

Java vs. .NET Security, Part 4
By Denis Piliptchouk
Java and .NET address similar code security issues, but which one offers the best security implementation? Denis Piliptchouk's series concludes with a look at user authentication and permissions, and a final wrap-up. Feb. 25, 2004

The Eclipse Project Looks Ahead
By Daniel H. Steinberg
EclipseCon revealed the Eclipse project as not just an IDE, but a rich client platform with a flexible architecture, an active community, and a bright future. Daniel Steinberg gives a summary of the week's events. Feb. 18, 2004

Security in Struts: User Delegation Made Possible
By Werner Ramaekers
Struts may not have an all-encompassing security scheme, but what it does offer is extensibility. Werner Raemakers looks at how to extend Struts' security by allowing one group of users to delegate permissions to others. Feb. 18, 2004

Java Desktop Development
By Andrei Cioroianu
Java developers can choose between three primary GUI toolkits for desktop applications: AWT, Swing, and SWT. Andrei Cioroianu looks at the history, pros, and cons of each in this first article in a series on standalone Java development. Feb. 18, 2004

Six Cool New JSP and Servlet Features
By Bruce W. Perry
Bruce Perry describes six cool new features Java developers using Tomcat 5.x and other Servlet-API-2.4- and JSP-2.0-compliant containers will want to use in their projects. Bruce is the author of Java Servlet & JSP CookbookFeb. 11, 2004

Eclipse: A Java Developer's Guide
By Steve Holzner
A beta preview of Steve Holzner's Eclipse: A Java Developers Guide. This chapter is titled "Building Eclipse Projects Using Ant." Feb. 4, 2004

Using JUnit With Eclipse IDE
By Alexander Prohorenko
Test-driven development principles call for writing the tests before writing any code. Alexander and Olexiy Prohorenko demonstrate how this approach can be used with the JUnit testing tool and the Eclipse IDE. Feb. 4, 2004

A First Look at Tomcat 5
By Daniel H. Steinberg
Online version of the ONJava Newsletter for 29 January 2004. Jan. 29, 2004

Java vs. .NET Security, Part 3
By Denis Piliptchouk
Java and .NET address similar code security issues, but which one offers the best security implementation? Denis Piliptchouk's series continues with a look at how each platform handles code protection and code access. Jan. 28, 2004

What's New in Tomcat 5
By Jason Brittain
In December 2003, the Apache Tomcat developers released version 5.0.16 as the first stable release of Tomcat 5. Jason Brittain looks at the latest features and offers insight into the goals established for version 5.0, which had a direct impact on development. Jason is a coauthor of Tomcat: The Definitive GuideJan. 28, 2004

Furnaces and Databases
By Daniel H. Steinberg
Online version of the ONJava Newsletter for 22 January 2004. Jan. 22, 2004

Managing Your Dependencies with JDepend
By Glen Wilcox
Attributes like scalability and maintainability are qualitative in nature and hard to quantify, even hard to know until your code fails. But by analyzing dependencies between packages, JDepend gives you a way to measure how well-architected your code is. Jan. 21, 2004

Effective Unit Testing with DbUnit
By Andrew Glover
Writing unit tests first can be impractical when your code will depend on access to a database. Enter DbUnit, which allows you to write simple XML files to fill in for the yet-to-be populated database for testing purposes. Jan. 21, 2004

Data Binding with XMLBeans
By Daniel H. Steinberg
Online version of the ONJava Newsletter for 20 January 2004. Jan. 20, 2004

Aspects without AspectJ
By Daniel H. Steinberg
Online version of the ONJava Newsletter for 15 January 2004. Jan. 15, 2004

Introduction to Aspect-Oriented Programming
By Graham O'Regan
Aspect-oriented programming (AOP) offers the ability to overlay new functionality atop existing code not by rewriting and recompiling, but by adding "aspects" to the compiled code. Graham O'Regan has an introduction. Jan. 14, 2004

Hibernate Your Data
By Davor Cengija
Hibernate can persist any kind of Java object, manipulate a hierarchy of objects, handle collections, and work with transactions. Davor Cengija shows you how. Jan. 14, 2004

Apples and Oranges
By Daniel H. Steinberg
Online version of the ONJava Newsletter for 09 January 2004. Jan. 9, 2004

Apples and Oranges (and the Java Units Specification)
By Ori Kushnir
The Java Units Specification allows developers to create systems of units and to define conversion and representation rules in Java. Ori Kushner presents JSR 108, discusses possible uses and limitations, and provides ideas for future extensions.  Jan. 7, 2004

The Effective Use of Joins in Select Statements
By Satya Komatineni
A join construct helps you effectively use select statements to mine relational databases. This article examines syntax, surprises, and rules of thumb for the use of joins. Jan. 7, 2004

Thanks and Happy New Year
By Daniel H. Steinberg
Online version of the ONJava Newsletter for 30 December 2003. Dec. 30, 2003

Developing Custom Tag Libraries as Tag Files
By Hans Bergsten
This excerpt from Hans Bergsten's JavaServer Pages, 3rd Edition describes implementing custom tag library actions as plain text files and packaging them as tag libraries that can be used in JSP pages. Dec. 30, 2003

ONJava: 2003 in Review
By Chris Adamson
A look back at ONJava articles from 2003, summarizing the big topics and major trends of the year in Java. Dec. 30, 2003

WebDAV, Caching, and a Family activity
By Daniel H. Steinberg
Online version of the ONJava Newsletter for 23 December 2003. Dec. 23, 2003

Object Caching in a Web Portal Application Using JCS
By Srini Penchikala
One way to improve server-side performance is to cache data instead of generating it over and over again. Srini Penchikala takes a look at how the Java Caching System makes this possible. Dec. 23, 2003

Sliding into WebDAV
By Andrew Anderson
The Jakarta Slide project provides client- and server-side WebDAV capabilities for Java, effectively turning an HTTP connection into a remote file system. Andrew Anderson takes a look. Dec. 23, 2003

On Ant and Audio
By Daniel H. Steinberg
Online version of the ONJava Newsletter for 18 December 2003. Dec. 18, 2003

Top 15 Ant Best Practices
By Eric M. Burke
Nearly every open source Java project now uses Ant. The widespread use of Ant in these projects has naturally led to an increased need for a set of well-established best practices. Eric M. Burke, coauthor of Java Extreme Programming Cookbook and Ant: The Definitive Guide, offers his 15 best practices for using Ant and for writing well-crafted Ant buildfiles. These tips were inspired by his own mistakes on previous projects, or from horror stories relayed to him from other developers. Dec. 17, 2003

QTJ Audio
By Chris Adamson
QuickTime Java is well-suited to be the engine of audio-only applications, such as MP3 players. This article develops an audio player, QTBebop, that displays song metadata, band levels, and current time, all of which help introduce the useful audio-related tools provided by QuickTime to the Java developer. We also look at QuickTime's "callbacks," which are critical to all kinds of QT apps. Dec. 17, 2003

Halfway Through Two Series
By Daniel H. Steinberg
Online version of the ONJava Newsletter for 15 December 2003. Dec. 15, 2003

Under the Covers
By Daniel H. Steinberg
Online version of the ONJava Newsletter for 11 December 2003. Dec. 11, 2003

Understanding JAXB: Java Binding Customization
By Sayed Hashimi
JAXB, Java Architecture for XML Binding, is a specification (or standard) that automates the mapping between XML documents and Java objects and vice versa. One of the primary components of JAXB is the schema compiler. The schema compiler is the tool used to generate Java bindings from an XML schema document. If used in its default mode (for non-trivial applications), the compiler usually generates bindings that are awkward to work with. This article will look at various methods you can use to customize the generated bindings. Dec. 10, 2003

Java vs. .NET Security, Part 2
By Denis Piliptchouk
Java and .NET address similar code security issues, but which offers the best security implementation? Denis Piliptchouk's series continues with a look at cryptography support. Dec. 10, 2003

P2P Sockets and JSP 2.0
By Daniel H. Steinberg
Online version of the ONJava Newsletter for 4 December 2003. Dec. 4, 2003

Introduction to the Peer-to-Peer Sockets Project
By Brad Neuberg
The Peer-to-Peer Sockets project reimplements Java's standard Socket, ServerSocket, and InetAddress classes to work on the JXTA peer-to-peer network rather than on the standard TCP/IP network. Brad Neuberg shows how to configure and set up the P2P Socket libraries to run on your system, how to create and run P2P server and client sockets, and how to work with the P2P InetAddress class, and discusses security issues and limitations in the framework. Dec. 3, 2003

JSP 2.0: The New Deal, Part 2
By Hans Bergsten
The wait is almost over: the latest version of the JavaServer Pages (JSP) specification, JSP 2.0, is about to be released. Hans Bergsten shows how the new changes make using JSP and its expression language cleaner and more powerful. Dec. 3, 2003

Java and .NET Security
By Daniel H. Steinberg
Online version of the ONJava Newsletter for 1 December 2003. Dec. 1, 2003

Java vs. .NET Security, Part 1
By Denis Piliptchouk
Java and .NET address similar code security issues, but which one offers the best security implementation? Denis Piliptchouk's series starts with a side-by-side look at how each performs configuration, code verification, and memory isolation. Nov. 26, 2003

Regular Expressions in J2SE
By Hetal C. Shah
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. Nov. 26, 2003

Servlet Filters
By Daniel H. Steinberg
Online version of the ONJava Newsletter for 25 November 2003. Nov. 25, 2003

Two Servlet Filters Every Web Application Should Have
By Jayson Falkner
Web applications can greatly improve performance by caching previously generated content and compressing the data it sends to the browser. As Jayson Falkner explains, servlet filters make it easy to provide these features to servlets. Nov. 19, 2003

Best Practices for Exception Handling
By Gunjan Doshi
Java's concept of exceptions and how they're used has led to controversy and, in some cases, bad programming practices. Gunjan Doshi seeks to lay down some best practices for using exceptions in Java. Nov. 19, 2003

Reflection and Class loading
By Daniel H. Steinberg
Online version of the ONJava Newsletter for 14 November 2003. Nov. 14, 2003

Subverting Java Access Protection for Unit Testing
By Ross Burton
Ross Burton describes how to use reflection to subvert Java class-member access protection to improve unit testing, by accessing private and protected members as required. Nov. 12, 2003

Inside Class Loaders
By Andreas Schaefer
Class loading is a topic that separates the Java Jedi from his or her apprentice. Until you start working with multiple -- and potentially incompatible -- class loaders, you don't realize the trickiness of keeping classes straight. Andreas Schaefer's introduction will help expose how class loading works. Nov. 12, 2003

Head First EJB
By Daniel H. Steinberg
Online version of the ONJava Newsletter for 7 November 2003. Nov. 7, 2003

"Head First EJB" Author Interview
By Daniel H. Steinberg
Kathy Sierra and Bert Bates have just completed the second title in O'Reilly's Head First series, the recently released Head First EJB, a certification book as unique as the series itself. In this interview, the authors discuss why the Head First series now includes a certification book, why the book is essential even if you're not planning to take the exam, how they've used their unique teaching style to help Java candidates pass the EJB exam, and much more. Nov. 5, 2003

JSP 2.0: The New Deal, Part 1
By Hans Bergsten
The wait is almost over: the latest version of the JavaServer Pages (JSP) specification, JSP 2.0, is about to be released. Hans Bergsten, the author of JavaServer Pages, 3rd Edition, shows how the new changes make using JSP and its expression language cleaner and more powerful. Nov. 5, 2003