O'REILLY NETWORK'S ONJava.com NEWSLETTER
--------------------------------------------------
The Independent Source for Enterprise Java
==================================================================
Sponsored by Borland JBuilder
Java Developers - start your engines & feel the acceleration. Introducing
JBuilder 2005: the leading cross-platform environment for building
enterprise Java apps. Boost productivity and accelerate the application
lifecyle. Take Borland JBuilder 2005 for a test drive today! FREE TRIAL
http://www.oreilly.com/go/bor_jav120204
==================================================================
Greetings...
It's not often that we get to use adjectives like "small" and "simple"
when we talk about Java. The typical Java programmer often has to juggle a
bunch of classes and deployment descriptors to get an EJB happy, or craft
events, listeners, and fire methods to wire up a Swing component. And
using databases, trying to map Java objects to tables in a relational db,
is just another example. No wonder we needed Hibernate, even it takes some
wrangling.
But this week on ONJava, we feature some alternative approaches that,
depending on your needs, make things simple and clean.
Mapping relational database tables to Java objects usually involves a lot
of code, configuration, and a fair amount of trouble. The problem,
according to Jim Paterson, is one of "impedence mismatch": "the object
model is based on software engineering principles and models the objects
in the problem domain, while the relational model is based on mathematical
principles and organizes data for efficient storage and retrieval." But
for small applications with more modest needs, dropping relational
performance for object-orientation may be a good choice. In Simple Object
Persistence with the db4o Object Database, he introduces db4o, a small,
embeddable, object-oriented database with a particularly Java-friendly
API.
http://www.onjava.com/pub/a/onjava/2004/12/01/db4o.html
"At one time or another, however, most web developers have complained
about the limited capabilities when using a browser as a client." So
begins Mark Eagle, noting browsers' mutual incompatibilities, limited GUI
options, limited support for storing state, etc. The alternative is the
Rich Internet Application, which puts more presentation and logic on the
client side than is typically found in web applications. In Integrating
Macromedia Flex with Java, he shows how to use the Flash-based Flex as the
client-side of a Java based systems and notes which habits and perceptions
developers need to leave behind as they move to an RIA mindset.
http://www.onjava.com/pub/a/onjava/2004/12/01/flexjava.html
This week's book excerpt is from SWT: A Developer's Notebook, in which Tim
Hatton presents the Standard Widget Toolkit, the GUI framework that is the
basis of Eclipse and, increasingly, other Java desktop applications. In
Creating Toolbars Using SWT, he says, "the SWT provides you with
everything you need to create sophisticated toolbars, something your users
will expect in almost every application you deliver." The chapter develops
a fully responsive toolbar, with separators, tooltips, and radio- and
check-style buttons.
http://www.onjava.com/pub/a/onjava/excerpt/swt_ch4/index.html
Our feature article from java.net has the details of J2SE 5.0's support
for hardware accelerated graphics, something that should be of profound
interest to Java desktop application and game developers. In Behind the
Graphics2D: The OpenGL-based Pipeline, Chris Campbell writes that after
having a hard time explicitly stating what is and isn't accelerated by
5.0's OpenGL-enabled rendering pipeline, "I compiled this document to help
answer the hot question and explain all the caveats that developers might
encounter when they run their application with the OpenGL-based pipeline
enabled." Among the items covered is support for shapes, images, and text,
and how these are handled by OpenGL.
http://today.java.net/pub/a/today/2004/11/12/graphics2d.html
The ONJava Reader Survey remains open. This is your opportunity to speak
out on the tools you use, the topics that interest you, and the things
you'd like to see on ONJava in the coming year. As an added incentive,
five randomly chosen participants will win three O'Reilly books each.
Please join us again next week.
Chris Adamson, editor
ONJava.com
==================================================================
Experience Oracle OpenWorld.
500 educational sessions, 150 partners, 200 product demonstrations: 1
Oracle conference. Manage complex information. Integrate data from
everywhere. Get a complete view of your business. No one manages it better
than Oracle. Oracle OpenWorld San Francisco. Dec 5 - 9, Moscone Center.
Register now for only $1,450 and save $300 off the full price. Use the
Corporate discount--buy 4 passes, get 1 free.
http://www.oreilly.com/go/orc_jav120204
==================================================================
*** Java News and Weblogs ***
java.net Weblogs
http://weblogs.java.net/
O'Reilly Network Java Weblogs
http://www.oreillynet.com/pub/q/weblog_s?x-subject=3
Other Java News (channel -- LANG: JAVA)
http://www.oreillynet.com/meerkat/index.php
Java Cookbook Recipe of the Day
http://www.onjava.com/onjava/javacook/solution.csp?day=1
Java Events
http://www.onjava.com/onjava/events/
==================================================================
Register for the 4th annual O'Reilly Emerging Technology Conference
March 14-17, 2005, San Diego, California
http://conferences.oreillynet.com/etech/
Come immerse yourself in a network of like minds. This year's theme is
"Remix," dedicated to finding new ways to further the hacker spirit,
extend the architecture of participation, and uncover unconventional
innovations. Be there to see what the buzz is all about. Be there and
Remix with the best of the best! For all the scoop on tutorials,
featured speakers, and conference events, check out
http://conferences.oreillynet.com/etech/ Register before Jan. 31, 2005 to
take advantage of great early bird discounts.
==================================================================
*** Other Related O'Reilly Network sites ***
O'Reilly Network
http://www.oreillynet.com
XML.com
http://xml.com/
ONLamp.com
http://onlamp.com
O'Reilly Media
http://www.oreilly.com/
O'Reilly Java
http://java.oreilly.com/
***
ONJava.com Affiliates
Servlets.com
http://www.servlets.com/
JDOM.org
http://www.jdom.org/
------------------------------------------------------------------
To change your newsletter subscription options, please visit
https://epoch.oreilly.com/account/default.orm and click the
"Manage My Newsletters" link. For assistance, email
[EMAIL PROTECTED]
------------------------------------------------------------------
------------------------ Yahoo! Groups Sponsor --------------------~-->
Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free!
http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/67folB/TM
--------------------------------------------------------------------~->
-----------------------------
Visit www.tsolver.net sooner
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/tsolver/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/