Build an object database, Part 2: Object storage backend

In the second of this two-article series, we implement relational database storage for the object-storing framework we developed last time. We then specialize it to support the open source MySQL database. Next, we plug the MySQL...

04/07/00

Build an object database

In this first of two articles, we look at implementing an object database frontend -- that is to say, a database frontend that can automatically map between Java objects and records within a relational database. Using this frontend...

01/21/00

Multicast the chatwaves

In this article, Merlin takes you through the process of implementing a simple, multicast-based, peer-to-peer chat system. To make things more interesting, he'll show you how to implement two custom stream classes that simplify the...

10/20/99

Java 2 introduces print capability to the Swing Forum

This installment of Java Step By Step focuses on adding print functionality to a Swing application. Michael begins by covering the fundamentals of the new Java 2 printing system and its mechanisms. He then steps through the addition...

06/09/99

Reading textual data: Fun with streams

JDK 1.1 introduced character streams to Java quite a while ago, nicely addressing the basic need for Java to be able to properly read and write character-based data and to properly decode a wide variety of byte encodings of a large...

04/01/99

Making the Forum Swing, Part 2

This second article in a two-part series demonstrates how to add event handling and networking to the newly resurfaced Swing Forum client. Michael begins by examining the JTree component, which facilitates user interaction in the...

11/01/98

Making the Forum Swing, Part 1

JDK 1.2 is already in its fourth beta release, gathering steam for its full release sometime this fall. One of its key features is the now fully integrated JFC, which, with its Swing GUI library, will revolutionize Java GUI design and...

09/01/98

3D Graphic Java: Render fractal landscapes

In this second look at 3D graphics programming in Java, Merlin takes you through rendering 3D terrains. He'll step through the problem from the ground up, working through lots of fun mathematics and algorithms along the way. You may...

08/01/98

Write a session EJB

Enterprise JavaBeans gives us the perfect excuse to revisit our Forum application. EJB's ability to handle messy infrastructure issues will help us quickly replace the current RMI backend with a session bean that provides the same...

07/01/98

Draw textured spheres

This month, Step by Step columnist Merlin Hughes takes a slight change of direction, with a look at computer graphics programming. Specifically, he'll step you through the process of drawing textured spheres. Along the way you'll...

06/01/98

Write your own MOM!

In honor of Mother's Day, we're devoting this entire column to MOM -- message-oriented middleware, that is. This article investigates what makes MOM systems tick and how they relate to RPC-oriented systems such as RMI. Step by Step...

05/01/98

Release your inner poet: Use servlets to create a collaborative poetry app

The Internet can be a lonely place: lots of people, surfing the same Web sites at the same time, without ever getting to know each other. In this month's installment of Step by Step, we'll work to inject some community into the...

04/01/98

Add the power of CORBA to our distributed whiteboard

Our last tango with our shared whiteboard app illustrated how to use servlets to implement a communications layer. This month we're going to move the communications layer to CORBA. CORBA provides a lot of flexibility and power to...

03/01/98

Draw the world: Create networked whiteboards with Java 1.1

Graphical applications programming has been greatly simplified with the advent of JDK 1.1. Specifically, the lightweight component framework allows transparent tools to be overlaid on each other, and the delegation event framework...

11/01/97

Increase the functionality in your distributed client/server apps

When we last left our handy Forum application, it consisted of a Java client applet, a Java middleware layer, and a Microsoft SQL Server database. The client and middleware layer communicated via sockets, and the middleware layer and...

10/01/97

Building a bevy of beans: Create reusable JavaBeans components

JavaBeans: visual, reusable software components. We can rebuild them. We have the technology. We can make them better than before -- better, stronger, faster. More powerful than any bean alive -- the six-million dollar JavaBean. Well,...

09/01/97

Building a bevy of beans

JavaBeans has ushered Java into a whole new era. Not only does it provide a rapid application development (RAD) environment, but it also offers a general framework for the development of reusable code libraries. And reusability is...

08/01/97

Chart your way to custom graph components

Without graphs to visually describe data, we'd be stuck in board rooms listening to CFOs verbally describe the upcoming fiscal year. I don't know about you, but looking at a graph that covers the same information in a much more...

07/01/97

Scale an application from 2 to 3 tiers with JDBC

The Forum application that we created earlier this year is a pretty nifty bulletin-board system, but it needs some work if we want to make it a production-grade application. This month, we'll develop a JDBC communications layer that...

06/01/97

Moving to JDK 1.1: Using the delegation event model to create custom AWT components

JDK 1.1 brings a host of additions, alterations, and deprecations to the somewhat sedentary API of JDK 1.0.2. Perhaps the most significant of these changes is the new delegation event model of the Abstract Windowing Toolkit and its...

05/01/97

Load More