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

advertisement

AddThis Social Bookmark Button

More EJB Inheritance and OS X Meets

by
ONJava Newsletter for 09/26/2002

Dear Reader,

In a previous Emmanuel Proulx article, he demostrated how to use a technique to implant inheritance into entity bean objects by emulating inheritance-like behavior in the create and postCreate methods, the home methods, and the finder and ejbSelect methods. According to Emmanuel, "Hacking inheritance behavior into these methods is not natural."

This is especially true for the finder and ejbSelect methods. In other words, finding objects of the base class doesn't fetch objects of subclasses. This week on ONJava.com, Emmanuel shows how to work around this problem using a technique called locate methods. A locate method must know the following in order to perform its duty: the list of all subclasses of the current class, the finder and ejbSelect methods that are associated with the invoked query, and the type of table mapping used.

Also this week, we'll take a look at columns and features originally published on O'Reilly's Mac DevCenter. Mac OS X has certainly created renewed interest in client-side Java, or J2SE, and its Java Foundation Classes (JFC), as well as extended client-side development packages and frameworks such as Java Media. There's even interest in Mac OS X as a possible server-side force. For more on Java and Mac, consider attending the O'Reilly Mac OS X Conference, to be held in Santa Clara, California, next week.

To subscribe to the ONJava.com newsletter (or any O'Reilly Network newsletters), visit https://epoch.oreilly.com/account/default.orm and select the newsletters you wish to receive in your user profile (you'll need to log in with your existing O'Reilly Network account -- if you don't yet have an account, you'll need to create one).

To change your newsletter subscription options, please visit https://epoch.oreilly.com/account/default.orm and click the"Manage My Newsletters" link. For assistance, send help to

And finally this week, ONJava.com hosts the third in a series of book excerpts on getting started with JXTA from O'Reilly's "JXTA in a Nutshell." In this excerpt, learn how to configure your JXTA-based, peer-to-peer application.

Talk to you again next week.

Steve Anglin
O'Reilly Network Java Editor
sanglin@oreilly.com

This Week's Featured Articles

EJB Inheritance, Part 2
Part two of this series on inheritance with Entity Java- Beans focuses on the various options for table mapping.

OS X Meets Java
From creating Swing applications in OS X to using Apple- Script to compile Java to running Tomcat and Apache on the Mac, this collection of articles from O'Reilly's MacDevCenter site will get you started with Java on OS X.

Getting Started with JXTA, Part 3
In part three in this book excerpt series on getting started with JXTA from JXTA in a Nutshell, learn how to configure a JXTA application.

ONJava.com News and Weblogs

2002 JavaOne Conference in Japan
The 2002 JavaOne Conference and Pavillion in Japan has begun. Look for keynotes by Java platform head, Rich Green, James Gosling and more. Click for more on these keynotes as well as sessions, BOFs, tutorials and more.

How's this for irony: Java on MS Smartphones?
Sendo licenses Insignia Mobile Foundation based on J2ME for Sendo Z100 Multimedia Smartphone, a new Microsoft Smart- phone 2002-based phone.

HP, the Switzerland for Servers?
Is HP becoming the Switzerland for server software and middleware solutions?

James Gosling on Java, Web services, and open source
Floyd Marinescu posts the following on TheServerSide.com: "eWeek has published an interview with James Gosling..."

Open source to become standard for Java developers
According to ZDNet and METAGroup: "By 2003, the use of open-source software will become a standard part of all organizations utilizing Java..."

J2EE Connectors vs. Web Services
An excellent article by Tyler Jewell which explains the differences between the J2EE Connector Architecture and Web Services with respect to Enterprise Application Integration.

More SunNetwork 2002 in a nutshell
Here's a final look at the SunNetwork 2000 Conference and Pavillion and its remaining schedule, including keynotes, sessions and BOFs.

Meerkat Java News
For more Java news, check out O'Reilly Network's Meerkat service on the ONJava.com home page or go to oreillynet.com/meerkat and select Java as subject.

Other O'Reilly Network sites

O'Reilly Network

XML.com

ONLamp.com

O'Reilly and Associates

O'Reilly Java

ONJava.com Affiliates

Servlets.com.

JDOM.org


Return to list of ONJava Newsletters.

Return to the ONJava.com.