Welcome!


Given the popularity of the Java software application development platform and the market potential for embedded devices, there's a need to understand how programs can take advantage of the use of Java for embedded application development. This article investigates three Java tools tha...
Serialization in Java is an operation in which an object's internal state is translated into a stream of bytes. This binary stream or image of the object is created in an operating system-neutral network byte order. The image can be written to a disk, stored in memory, or sent over a n...
Most application architectures are organized into tiers. Presentation, business logic, and data combine to form a complete solution from end to end. The data tier is where your application gets and stores data that's used throughout the application. It could be accessing relational- or...
The design of the Java language has done much to overcome the limitations of C and C++. However, testing and debugging continue to account for much of the cost of developing Java applications. Once you've deployed a Java application, it's even more difficult and costly to fix software ...
One of the problems of highly distributed systems is figuring out how systems discover each other. After all, the whole point of having systems distributed is to allow flexible and perhaps even dynamic configurations to maximize system performance and availability. How do these distrib...
Server-side Java continues to gain ground as the technology of choice for powering dynamic Web sites, but the goal of using Java to separate presentation from business logic has been a tough one to achieve.
Imagine this scenario: you've written all the appropriate interfaces and implementations for an EJB and now it's time to use it in client code. First you get a bean reference. Everything is simple enough: use JNDI to get the home interface, call a create method on it and catch all the ...
On the Web it's about three things – speed, reliability and scalability. Does your Web site respond quickly? Does your Web site always respond quickly? Does your Web site always respond quickly when it's being used by tens or hundreds of thousands of users?
Popup menus, the extremely functional components available to the Java developer, allow developers to provide menu capability without the inclusion of a full-blown menu system (i.e., MenuBar, Menus). From a user interface perspective, however, they're not intuitively accessible. The po...
The Oracle Internet Platform embeds the Oracle8i JVM within the Oracle8i database and Oracle Internet Application Server (iAS) as the enterprise Java engine for Oracle. This article explains Oracle8i JVM's base architecture, its support for J2EE APIs and its latest performance and arch...
Increasingly, business applications are evolving into a client side that interacts with the user, and a server side that stores and retrieves data and manipulates it in various ways. The client side may run on a number of different hardware types including telephones, pagers and handhe...
JavaSpaces is a powerful Jini service specification from Sun Microsystems that provides a simple yet powerful infrastructure for building distributed applications. The JavaSpaces specification defines a reliable distributed repository for objects, along with support for distributed tra...
Two basic types of data - test and binary - are used in applications to create files such as documents, images, video, text and executables. Certain applications, however, may need to alter a file to make it available to other applications; for example, e-mail requires text and binary ...
Building large systems requires the difficult and time-consuming activities of elicitation and representation of software requirements. During these analysis activities, particular analysis abstractions emerge. These abstractions, called analysis patterns, represent reusable patterns f...
The Web is moving to wireless and Java is making it happen! How is a wireless environment different from the Web? What languages are used for wireless devices and what features do they have? Most important, what role does the Java 2 Enterprise Edition (J2EE) play in a wireless architec...
In just a few years the Java language and platform has become the technical approach of choice for building complex, distributed and Web-enabled applications across the enterprise. Thanks to its cross-platform runtime environment, object-oriented development model, and facilities for w...
Several fun and important secrets of SQLJ will be unlocked today. Our show will include the following numbers: Some magic tricks for taming the SQLJ translator to do your bidding. Some incantations to turn you into a SQLJ debug-mon. An initiation to the mysteries of execution con...
The Java 2 Platform, Enterprise Edition (J2EE), especially its Enterprise JavaBeans technology, provides an industry standard for the development of distributed enterprise applications. EJB helps solve a major problem: providing distributed access to persistent data. But it doesn't ...
During the last couple of years there have been several developments in the application server environment. Nineteen ninety-nine truly was the 'Year of the Application Server.' The evolution of the application server market has been influenced by several factors. The term application ...
Yes, Virginia, there are still people who think you can build a complex B2B e-commerce Web site using HTML. The good news is, these people are mostly harmless; they'll learn the error of their ways quickly and probably before their projects are too far down the road. There are far more...
Polymorphism is an often-misunderstood concept within the developer community. Outside the community it's often a buzzword used to create an image of intellectual capital accumulating in a vault somewhere.
Enterprise system developers have embraced the Java 2 Platform, Enterprise Edition (J2EE) development model and the collection of Java APIs for developing standard, component-based, multitiered enterprise solutions. These APIs provide a standard mechanism for accessing pertinent system...
Part 1 of this series on business rule engines (see 'Implementing Business Rules in Java,' JDJ, Vol. 5, issue 5 [May 2000]) addressed the question of how to integrate the rule engine into a Java application. To review...business rules are the policies and procedures that describe or co...
Front-end architecture and the art of developing GUIs that are functional and intuitive have been a challenge in this industry for quite some time. The advent of Java has made things a little easier; Java's extensive Swing package has assisted in the rapid creation of GUIs for applicat...
They usually happen during the early hours of the morning, shortly before the code needs to ship: exception errors. . . .
Have you ever wanted to have your own Web e-mail system, rather than relying on free Web e-mail services? In this article I'll show you how to build a scalable Web e-mail system based on Java servlets and JavaMail, two members of the Java 2 Enterprise Edition (J2EE) platform. The syste...
The past three articles in this series have highlighted the strengths of scripting languages. They're interactive and dynamic, and allow you to experiment, debug and prototype solutions quickly. However, the most common response when I speak to die-hard Java fanatics is, 'Yeah, but I'l...
Before we start on the technical front, let me tell you about my latest acquisition. I recently went out to purchase a watch. My wife wanted me to buy one of the fancy ones, but I'm more excited by watches that have all the features ­ stopwatch, backlight, barometer, altimeter, everyme...
One unfortunate aspect of the many enterprise APIs and specifications that Sun has released over the last few years has been the lack of information about how some of these APIs interact with one another. In particular, two very useful specifications ­ the Java Messaging Service (JMS) ...
Developers at some point in their careers will find themselves standing at the whiteboard, trying their best to regurgitate some complex development design they've spent all night working on. This is usually done with a series of strange symbols, arrows and scribblings in an attempt to...
A common set of programming problems drove us to develop a Java class we call PropArgs. Consider the following questions a programmer may want answered about a program: Which RDBMS instance should data come from? Does this particular user have any personal preferences I should be setti...
Most Web-based applications today confine users to the frame of their browser, restricting them to viewing only one Web page at a time. Technologies such as JavaScript make additional browser windows possible, but this approach doesn't enable the kind of customized menus, toolbars and...
Say you're writing an Enterprise JavaBean that represents a persistent object, such as a customer or a product. You have two choices for getting data (such as customer name and product number) from the bean to the database and back:
Part 4 of a series discussing the many languages that compile and/or run on the Java platform
The fifth anniversary of the inaugural JavaOne conference is upon us, and there can be little doubt that Java has had a profound impact on the way that applications are developed and deployed.
So you want to build a robot that walks around and bumps into things. But that's not enough for you (this is the year 2000, after all); you also want to control your robot over the Internet. What's more, you want to use Java to control it.
It began sometime in late '96 or early '97 ­ JDK 1.0 still ruled and Tandem was still called Tandem, not Digital or Compaq ­ when people from IBM, Tandem and Oracle met and started to muse.
Twenty years after it first made waves, rule-based technology is making a comeback. Java developers with an eye on the e-commerce market are becoming aware of how integrating business rules and objects in Java can help expand Java into new niches within Web-based applications. This art...
XML has become the standard format for B2B data exchange. To actually implement such exchanges, however, the programmer must provide data transport and translation services. Java-based messaging provides an ideal transport for XML. This article explores how to use a Java messaging serv...
If you know SQL and Java, and you want to learn SQLJ, this series of articles is for you! I'm going to introduce SQLJ, the standard for embedding database SQL statements in Java programs. You may be familiar with JDBC, an API for talking SQL with the database. SQLJ takes many ideas fr...