| Similar Articles |
 |
JavaWorld September 2000 Sandip H. Mandera |
Brewing entity Enterprise JavaBeans The Enterprise JavaBeans (EJB) specification provides two flavors of beans: session beans and entity beans. After Sun Microsystems's release of EJB Specification 1.1, support for entity beans became mandatory. This article will introduce component developers to entity beans and show how to channel the beans' power.  |
JavaWorld July 18, 2003 James Carman |
Get down to business In this article, you will learn how to structure your applications such that modifications to the business object implementation do not require changes to the user interface using a simple framework for accessing your business objects.  |
JavaWorld October 2002 Abulsorour & Visveswaran |
Business process automation made easy with Java, Part 2 Design options for rule engine integration, data synchronization considerations, workflow engine integration, and some best-practice quality-of-service considerations. Also, emerging data interchange standards that enable a more flexible solution  |
JavaWorld January 2002 Yuan & Long |
Build database-powered mobile applications on the Java platform This article explains how to create mobile database applications using the Java 2 Platform, Micro Edition/Mobile Information Device Profile (J2ME/MIDP) and the Java 2 Platform, Enterprise Edition (J2EE). The authors introduce an architecture that uses JavaServer Pages (JSPs) as middleware between a MIDP frontend and a database backend. They also explain specific design decisions and implementation issues, such as persistent storage, network connection, session management, and data communication. Their discussion focuses on the integration between the client and server-side Java applications.  |
JavaWorld March 2002 James Carman |
Write once, persist anywhere Most J2EE applications strive to abstract the database tier by employing the Data Access Object design pattern. This article shows you a DAO pattern framework that you can reuse on all your projects, regardless of object type...  |
JavaWorld September 19, 2003 Brian Connolly |
Client quality reporting for J2EE Web services This article implements a general-purpose architecture for recording client response times for J2EE Web services. The sample implementation was built using the Sun ONE Application Server and IDE, but the general approach can be easily adapted to other J2EE implementations.  |
JavaWorld February 2002 Thierry Janaudy |
Accelerate EJB 2.0 development with EJBGen EJBGen is a free command-line tool that limits your code editing to just one file, the bean class. Step-by-step, this article shows you how to use EJBGen to speed your Enterprise JavaBeans (EJB) 2.0 development, especially for entity bean container-managed persistence...  |
JavaWorld December 2000 Tony Loton |
Make an EJB from any Java class with Java Reflection Creating EJB versions of your classes and converting the applications that use them can be time-consuming -- unless you automate the process. Read on to find out how you can automate the routine aspects of EJB development by using Java Reflection...  |
JavaWorld June 2001 Michael Daconta |
An API's looks can be deceiving When you examine an API, your first impressions are often wrong. The author examines two cases where an intuitive model of how an API should work trips over the complexity of implementation details...  |
JavaWorld June 2000 Richard Monson-Haefel |
Read all about EJB 2.0 More than a new point release, the new EJB 2.0 specification embodies dramatic changes, including those found in the CMP component model and a new bean type, that enhance the flexibility and portability in your application development.  |
JavaWorld August 2002 Michael Juntao Yuan |
Access Web services from wireless devices The Simple Object Access Protocol (SOAP) has become the most important data exchange protocol for XML Web services. All Web services applications must support SOAP. This article introduces an essential tool to support Web services on small wireless devices -- the kSOAP parser.  |
JavaWorld September 2000 Andre Tost |
XML document processing in Java using XPath and XSLT The XSLT and XPath standards provide a way of handling certain problems that is more elegant and efficient than simply using the DOM API. In fact, using DOM, XSLT, and XPath together, applying each to different problems, will lead to the best code...  |
JavaWorld February 2002 Victor Okunev |
Generate JavaBean classes dynamically with XSLT For some projects, you need a more flexible business object structure. This article lays a foundation for a simple framework to build truly adaptive systems, saving you hours of routine programming...  |
JavaWorld June 2002 Dirk Laessig |
Score big with JSR 77, the J2EE Management Specification The specification's core is based on the model of managed objects, explained in this article. JSR 77 also defines an Enterprise JavaBeans (EJB) component for easily accessing these managed objects.  |
JavaWorld August 2001 Jeff Friesen |
Object-oriented language basics, Part 5 Every Java class has a superclass. In the absence of an extends keyword, Object is that superclass. Object takes center stage as this article presents its 11 methods...  |
JavaWorld January 2, 2004 Allen Holub |
More on getters and setters This article provides one of several possible programmatic solutions to the get/set-elimination problem. In particular, it demonstrates how to construct both Web-based and client-side user interfaces without exposing your object's implementation to the entire program.  |
JavaWorld May 2001 Markus Dorn |
Reading objects is easy with SAX By following some simple rules when mapping objects to XML, you can easily read object structures, even complex ones, from XML. See how you can use SAX to eliminate that complexity...  |
JavaWorld May 30, 2003 David Geary |
Facade clears complexity The Facade design pattern simplifies complex APIs by providing a simplified interface to a complex subsystem. This article explores a built-in Swing facade for creating dialog boxes and a custom facade for getting a Swing application off the ground.  |
JavaWorld October 2001 Tony Loton |
JavaMail quick start This article shows the first steps on the road to building Java-based email applications. If you fancy building your own email client to replace Microsoft Outlook, or a Web-based email system to rival Hotmail, this is the place to start...  |
JavaWorld April 2002 Michael Juntao Yuan & Ju Long |
Track wireless sessions with J2ME/MIDP Every e-commerce application must support session tracking. Unfortunately, MIDP, a J2ME technology, supports only the standard HTTP protocol, which is stateless. This article explores ways to add session support into the current MIDP network API framework...  |
JavaWorld November 2000 Brett McLaughlin |
Validation with Java and XML schema, Part 3 Taking validation beyond simple if-then-else structures, XML schemas can provide a better way to validate data in Java applications. You'll learn to parse the XML schema, build up Java representations of the schema's constraints, and apply those constraints to an application's data...  |
JavaWorld February 2002 Luke Taylor |
Customized EJB security in JBoss The current Enterprise JavaBeans specification supports basic declarative, role-based access-control mechanisms, but provides limited support for coding application-specific security checks. Moreover, it doesn't define any way to factor out access-control code from business logic, or to integrate external authorization services. The open source, J2EE-compliant JBoss application server features a protection-proxy security architecture that will help you overcome these restrictions.  |
JavaWorld February 2002 Dirk Reinshagen |
Connect the enterprise with the JCA, Part 2 This article demonstrates a simple JCA (J2EE Connector Architecture) adapter implementation. After you read this article, you'll possess a good understanding of how to build your own JCA adapter...  |
JavaWorld January 2001 Brian Goetz |
Design for performance, Part 1: Interfaces matter Many common Java performance problems stem from class-design decisions made early in the design process, long before most developers even start thinking about performance...  |
JavaWorld June 2002 Walter Hurst |
Design patterns make for better J2EE apps This introductory-level article describes how to combine J2EE with object-oriented design patterns to build a scalable, flexible, and extensible application architecture. It explains the importance of application architecture and design patterns and provides basic tips for using design patterns to build application architecture for J2EE projects.  |
JavaWorld July 2000 Mark Johnson |
Programming XML in Java, Part 3 An in-depth look at the Document Object Model (DOM), the most common alternative XML-processing mechanism. See how you can use DOM to manipulate the source code data in an illustrative example program...  |
JavaWorld July 2000 Todd M. Greanier |
Flatten your objects The Java Serialization API is used by many other Java APIs (like RMI and JavaBeans) to persist objects beyond the duration of a running virtual machine. This article tries to demystify the secrets of the Java Serialization API.  |
JavaWorld April 2001 Kelly Davis & Robert Di Marco |
Manage distributed sessions Using RMI and the Proxy API introduced in JDK 1.3, this article describes a technique that allows one or more servlet servers to maintain session information on one or more session servers. By adopting this architecture, no single point of failure will exist for session management...  |
JavaWorld November 14, 2003 Allen Holub |
Create client-side user interfaces in HTML, Part 2 This "Create Client-Side User Interfaces in HTML" series continues by examining the HTMLPane sources. Part 2 offers examples of how to customize the JEditorPane to support custom tags and also provides an extended description of the Factory Method design pattern.  |
JavaWorld February 2002 Jeff Hanson |
Use Web services to integrate Web applications with EISs Web services expose business processes to bolster object-oriented and component-based programming with a services-based model. You can enhance your current programming model to support Web services by adding a service contract...  |
JavaWorld December 2000 Thomas E. Davis, Craig Walker |
Take control of the servlet environment, Part 2 Implement a wrapper that gives you greater control over session management. Session state can be stored in the browser, in the server's memory, or in the database. You can have all three solutions at your fingertips, painlessly interchangeable...  |
JavaWorld December 2002 Tarak Modi |
Safeguard your XML-based messages Apache XML Security is an open source implementation of the XML Digital Signature specification that allows you to digitally sign your Web service messages. Digital signatures assure your messages' receivers that the messages are really from you.  |
JavaWorld October 2000 Siva Visveswaran |
Dive into connection pooling with J2EE Connection pooling is a technique used for sharing server resources among requesting clients. This article focuses on support for connection pooling of both database resources and nondatabase resources in a J2EE environment...  |
JavaWorld April 2001 Bin Yang |
E++: A pattern language for J2EE applications, Part 1 E++, an Alexandrian pattern language, describes the process for creating a J2EE framework. Compared with a loose pattern collection, E++ provides rules for design patterns to work together in solving a set of related problems...  |
JavaWorld June 13, 2003 Jeff Friesen |
Datastructures and algorithms, Part 2 This article concludes a two-part series that explores two important computer science topics: datastructures and algorithms.  |
JavaWorld October 3, 2003 Allen Holub |
Create client-side user interfaces in HTML This article presents a variant on Swing's JEditorPane that makes it possible to specify an entire screen of your client-side user interface (UI) in HTML.  |
JavaWorld June 2000 |
Letters to the Editor (June 23, 2000) Jason Hunter addresses a gripe with calling instanceof when using JDOM; Mark Johnson responds to feedback on his XML series; reader challenges Tony Sintes about whether it truly is impossible to write a swap method...  |
JavaWorld November 2000 Abhilash Koneri |
Eliminate tedious programming: Recover data with XML and Reflection The parsing of ResultSets forms one of the most significant tasks involved in retrieving data from a database. But, as a repetitious and uninteresting assignment, it is not a favorite among developers. How to supplant ResultSet parsing in the data access objects...  |
JavaWorld May 2002 Ryan Daigle |
Eliminate JDBC overhead Most J2EE and other types of Java applications interact in some way with information persisted in a database. Interfacing with that database involves several iterations of SQL statements, connection management, transaction lifecycles, result processing, and exception handling. The many parts of this ritualistic dance are common in all contexts; however, this replication doesn't have to exist. This article outlines a flexible framework that remedies the repetition of interacting with a JDBC-compliant database.  |
JavaWorld December 2000 Michael C. Daconta |
When Runtime.exec() won't This installment of Java Traps discusses one new pitfall and revisits another from the previous column. Originating in the java.lang package, the pitfall specifically involves problems with the Runtime.exec() method.  |
JavaWorld October 2001 Jeff Friesen |
Object-oriented language basics, Part 7 This final installment of Java 101's object-oriented programming series explores Java's support for polymorphism and investigates how abstract classes accommodate generalities in class hierarchies.  |
JavaWorld August 2001 Scott Stark |
Integrate security infrastructures with JBossSX The current Enterprise JavaBean and Servlet specifications omit integration between the application server and existing security infrastructures. This article describes how version 2.4 of the open source JBoss application server security extension project (JBossSX) uses Java Authentication and Authorization Service (JAAS) login modules as its integration API.  |
JavaWorld February 2002 Dennis M. Sosnoski |
XML documents on the run, Part 1 Event-driven XML document processing with SAX (Simple API for XML) and SAX2 can greatly improve performance and can avoid document size limits associated with in-memory representations such as DOM (Document Object Model) or JDOM...  |
JavaWorld September 2001 Jeff Friesen |
Object-oriented language basics, Part 6 Learn why Java's standard class library contains empty interfaces (such as Cloneable and Serializable). Also, examine the power of interfaces and learn why they provide more than a workaround for Java's lack of multiple implementation inheritance support...  |
JavaWorld October 2002 Jeff Friesen |
Java's character and assorted string classes support text-processing Text-processing is one of the more frequent activities in which computer programs engage. Java supports that activity via the Character, String, StringBuffer, and StringTokenizer classes. This article explores each class and introduces you to an assortment of those classes' methods.  |
JavaWorld March 2002 |
Letters to the Editor JavaWorld readers warn about synchronization; present a Servlet 2.2-compliant solution for mixing protocols in Web apps; suggest using the Data Object Access design pattern with the Value Object design pattern... etc.  |
JavaWorld November 2002 B.J. Fesq |
Sun boosts enterprise Java This article provides a clear understanding of the enterprise Java platform's direction and introduces J2EE (Java 2 Platform, Enterprise Edition) 1.4's support for emerging Web services standards.  |
JavaWorld October 2000 Brett McLaughlin |
Validation with Java and XML Schema, Part 2 A roadmap for taking Java method parameters and validating them against constraints in an XML document. Various approaches will be examined, and you will begin to actually code the utilities for converting those XML constraints into usable Java utilities...  |
JavaWorld May 2002 Leon Messerschmidt |
Take the sting out of SAX Although SAX (the Simple API for XML) parsers are handy tools for parsing XML content, developing and maintaining a SAX parser can prove difficult. This article shows you how to use the information contained in XML Schemas to generate source code for a skeleton SAX parser...  |
JavaWorld March 2001 Brian Goetz |
Design for performance, Part 3: Remote interfaces Many common Java performance problems stem from class design decisions made early in the design process, long before most developers even start thinking about performance. This article examines performance issues specific to remote applications...  |