Welcome!


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...
With the proliferation of Java-based application servers at the core of today's Web applications, the preferred Web architecture that has emerged places Java in the middle tier, gathering data from myriad sources, and HTML presenting that data through a Web browser.
This article is Part 3 of an interactive series that discusses the many languages that compile and/or run on the Java platform. Java Developer's Journal invites you to vote for your favorite non-Java programming language in the JDJ forum. Your vote will decide which languages will be c...
Java programmers have been anxiously awaiting the release of the Java Media Framework 2.0 for more than a year. Not only does JMF 2.0 finally let you capture audio and video content, but it claims to solve the most irritating limitations of the JMF 1.x release. Does JMF 2.0 live up to ...
They're one of the most commonly used computing tools in business today, regardless of a company's revenues or number of employees. Wall Street money mavens use them, and so does your hometown accountant...spreadsheets. Did you ever tweak spreadsheet formulas to play "what-if"...
EJB servers are transactional servers that allow developers to concentrate on business logic. The EJB model implements two-phase commits, transaction context propagation and distributed transaction, although it's up to the vendors to decide which technique to use. A transaction is form...
As a consultant, developer and database administrator, I've often been asked to provide coding guidelines and tuning assistance for Java code that utilizes JDBC. Over time, I've been introduced to or developed standard coding practices that make JDBC code faster and less error-prone, a...
In this article we're going to describe a tool that we've created to help OO newcomers understand the class/instance relationship, inheritance between classes and linking between objects...by automatically converting an object graph into HTML. The tool we've created is based on the &qu...
Several folks in the computing industry think of 1999 as having been the "Year of the Application Server." But while the term application server itself may be a fairly recent addition to the software computing vocabulary, the application server market has already become one o...
Exception chaining (also known as 'nesting exceptions'), is a technique for handling exceptions. A list is built of all the exceptions thrown as a result of a single originating exception as it's converted from lower to higher levels of abstraction. It can be used in both client and se...
The use of Java in Web browsers has had mixed results. Applications that run in browsers rather than locally find a host of different hurdles. They're more restricted, run slower at times and take a long time to load, thus making complex applications more difficult. Advances in securit...
What This Series Is About. This article is Part 2 of a series that discusses the many languages that compile and/or run on the Java platform. This is an interactive series. Java Developer's Journal invites you to vote for your favorite non-Java programming language in the JDJ Forum. Yo...
The Java servlet API specifies a very lightweight framework for developing Web applications. Although servlet technology is just one of the building blocks in the J2EE architecture, developers often use servlets to build full-fledged Web applications. Today several vendors and organiza...
Enterprise JavaBeans are being promoted as the component architecture for the new decade. The word Enterprise in the name would imply that EJBs are to the server environments what JavaBeans are to client computing. Both are component models, both are for Java, both try to deliver on th...
RTP and RTSP: Protocols that address the transportation of multimedia content over IP. The Internet is strewn with multimedia minefields. Lost or out-of-sequence packets and transmission delays can create havoc in your applications. Fortunately, you can overcome these problems by usin...
A tip window (also known as a tool tip window) is a small popup window that displays a single line of descriptive text. Tip windows are usually displayed over toolbar buttons to provide textual help about a toolbar button's functionality. The tip window control is available for Swing c...
The multimedia objects in Sun's Java Development Kits are so primitive that they're worthless for serious development. Fortunately, Sun has overhauled Java's multimedia capabilities with the release of the Java Media Framework. In this article I'll explain why the JMF architecture is a...
Back before Java became popular, I was a C++ bigot. I programmed in nothing but C++. I lived, ate and breathed C++. If it wasn't C++, it was rubbish. I thought C++ was the alpha and omega of object-oriented programming. I had "operator overloading" for breakfast, "templa...
With the release of the Java 2 Platform, Enterprise Edition, Java-based Web application servers are gaining in popularity. Although application servers have been around for a few years, they forced programmers to be tied to a proprietary API. Support of J2EE by application server vendo...
In the last couple of years Sun has introduced a number of APIs targeted toward enterprise application development. One of the most exciting of these is the Java Message Service, or JMS. The JMS API is designed to do for messaging in the enterprise what JNDI does for naming and directo...
This month the Java platform segues into the new millennium. These are very exciting times; 1999 was a crucial year in the acceptance of Java in the enterprise as one of the key drivers of e-business. It's ironic that applets ­ the components of Java that helped propel it into the main...
Java programs can use the JDBC API to access relational databases, thereby cleanly separating the database system from the application. This approach holds the promise of cross-database portability, i.e., "write once, run on any database." In practice, several stumbling block...
There are several books and articles out there on dynamic-content generation technologies such as CGI, NSAPI, server-parsed HTML, server-side JavaScript, Active Server Pages and ColdFusion. Recently, Java Servlets and JavaServer Pages (JSPs) have emerged as a very popular technology an...
Rumor, they say, is a great traveler – if developers were in any doubt about this, they need only monitor the worldwide rumor-mill surrounding the rivalry between Sun and Microsoft…
Sun Leads Industry Cavalry Charge to 'Liberate' the Internet from Microsoft
Is the writing on the wall for Open Source? This is an i-technology tale involving Sun's J2EE specifications, a well-respected Californian software company, and the inflamed passions of the international OSS (open source software) community.
Full text of JDJ'S exclusive interview with Lutris's foremost critic, George C. Hawkins. 'Their behavior is a complete slap in the face to all those in the user community' says Hawkins.
One of the great things about the JavaBeans specification is the flexibility it affords component developers in how they package their beans. As a bean developer, all you need is a class with a no-argument constructor that supports serialization and it's a bean. If you follow some simp...
As of V8.i, Oracle developers can now write stored procedures, functions, packages and triggers in Java instead of PL/SQL (Oracle's proprietary procedural language), which provides some appealing options:
The story about how the n-tier architectures evolved from the single-tier mainframe model has probably been told umpteen times by now (in fact, I retold it myself in last month's e-Java column). Nowadays the trend is to distribute functionality. Modularize everything. Components provid...
Sun, IBM, Novell, Oracle and nearly 50 other companies have proposed the Java 2 Platform, Enterprise Edition (J2EE) as a solution for the development and deployment of e-business applications. What is J2EE? What does it offer to developers and users of e-business applications? This art...
How can Java classes be used as scriptable components? DCOM, like CORBA, provides both static and dynamic invocation of objects. DCOM uses type library to provide metadata to do the dynamic invocation and introspection similar to CORBA's interface repository or Java's introspection mec...
In the world of distributed computing, the industry has latched on to another snazzy, buzzword-compliant, omnipotent entity, the Application Server, also known affectionately as the App Server. Here's the sales pitch. You want a robust system? Fault tolerance? Load balancing? Multithre...
This is the fourth in a series of articles focused on using Java and ColdFusion technologies to develop an Online Ticket Store application. As JDJ's September issue had an XML focus, we went with the flow and discussed data formatting aspects of our store and developed XML objects to p...
Today developers are creating a full spectrum of Internet applications and systems ranging from enterprise servers to handheld devices that manifest a number of unique requirements. Although these applications and systems are commonly written in Java, they have different footprint requ...
E-mail functionality is an important system requirement in areas such as e-commerce, customer care, work-flow management and unified messaging. In addition, some application architectures may need to support not only standard mail protocols but also proprietary ones. If you're charged ...
The conventional way to present up-to-date information is to keep it on your Web site or a Web site you have some access to or control over so you can modify the information as needed. This article describes a way to create newsfeeds using Java applets so that the applet can be embedde...
I'd like to start this month's article with some of my impressions of JavaOne '99. Last year was far more exciting with promises of new magic kits and potions handed out in abundance. This year there was a definite touch of reality in the air with less sleight of hand and more live rab...
JavaMail is a set of abstract classes that create a framework for sending, receiving and handling e-mail, along with implementations of those classes. The package Sun provides contains implementations of IMAP and SMTP, allowing you to get started immediately on sending and receiving ma...