Thursday, March 16, 2006

 

From glue to Seam

O'REILLY NETWORK'S ONJava.com NEWSLETTER
--------------------------------------------------
The Independent Source for Enterprise Java

==================================================================
Go beyond AJAX with Flex.

Adobe Flex 2.0 beta is the most complete application development solution
for creating and delivering cross-platform Rich Internet Applications
within the enterprise or across the Web. Combine the richness of desktop
software with the reach of the web. Download a copy now.

http://www.oreilly.com/go/adobeflex_31606

==================================================================

Greetings...

How much should one framework know about another? You don't want to
introduce inappropriate dependencies, but you also don't want to put up
walls if you can help it. Given a choice, the preference seems to be for
keeping frameworks away from one another. In fact, this attitude is so
prevalent, I was surprised when writing my "QuickTime for Java" book that
I could pull in Swing's undo/redo API and get it to work with the utterly
unrelated and dissimilar QTJ. Thing is, there are clearly some
combinations that are meant to be, like back-end business logic and web
presentation frameworks: one doesn't get you very far without the other.

"While the [...] synergy between EJB 3.0 and JSF is appealing, it is not
yet realized within the Java Enterprise Edition (JEE) 5.0 framework. In
plain Java EE, there is still a significant amount of glue code necessary
to use both JSF and EJB 3.0 when building a web application--even more, if
you add BPM to the recipe for a great application." Want to avoid writing
all that glue yourself? Try a seam instead. In "JBoss Seam," Thomas
Heute looks at how the Seam framework provides inter-framework plumbing
and a stateful component model, to make web app development less of a
hassle.

<http://www.onjava.com/pub/a/onjava/2006/03/15/jboss-seam.html>

Call it Zeroconf, Bonjour, or even Rendezvous (if the lawyers will let
you)... whatever it is, it's probably the best-known way of providing
spontaneous networking, as epitomized by popular applications like Apple's
iTunes. But why should native applications have all the fun? Apple has
provided a Java binding to its Rendezvous implementation on Mac, Windows,
Linux, Solaris, and *BSD. In "Zero Configuration Networking: Using the
Java APIs, Part 1," Stuart Cheshire and Daniel H. Steinberg, authors of
"Zero Configuration Networking: The Definitive Guide" show you how to
register a Zeroconf service in Java.

<http://www.onjava.com/pub/a/onjava/excerpt/bonjour_ch08/index.html>

Why let idle computers waste CPU time not doing anything? In the dev2dev
article "Use JMS Clients to Utilize Free Computer Resources," Nimish Doshi
proposes distributing computing work across the network. "This article
proposes a framework for placing Java Messaging Service (JMS) clients on
these underutilized machines to offload the work normally performed on a
server. The client can listen on a request queue for a unit of work to
perform, and respond on a reply queue."

<http://dev2dev.bea.com/pub/a/2006/02/jms-distributed-work.html>

Building your own Google? It's not as crazy an idea as you might
think--running your own search engine gives you a transparency in
understanding how the search rankings work, something that can be very
important in some kinds of organizations. Plus, it lets you index sites
that aren't visible to the public internet. And rather than writing your
own, you can turn to Apache Nutch to do all the hard parts. Wrapping up
the second part of a java.net series, Tom Nutch shows how to get results
from your Nutch index in "Introduction to Nutch, Part 2: Searching."

<http://today.java.net/pub/a/today/2006/02/16/introduction-to-nutch-2.html>

Recent O'Reilly Network weblogs of interest to Java developers:

Timothy M. O'Brien - Making Sense of the Maven 2 Repository
<http://www.oreillynet.com/onjava/blog/2006/03/making_sense_of_the_maven_2_re.html>

Steve Anglin - TheServerSide Java Symposium Is Near
<http://www.oreillynet.com/onjava/blog/2006/03/theserverside_java_symposium_i.html>

Dejan Bosanac - Proper handling of database-related exceptions
<http://www.oreillynet.com/onjava/blog/2006/03/proper_handling_of_databaserel.html>

Timothy M. O'Brien - Word of the Day: Contradistinction
<http://www.oreillynet.com/onjava/blog/2006/03/word_of_the_day_contradistinct.html>

Timothy M. O'Brien - Don't be misled, Xindice is dead
<http://www.oreillynet.com/onjava/blog/2006/03/dont_be_misled_xindice_is_dead.html>

Check out more O'Reilly Network Java weblogs at:
<http://www.oreillynet.com/pub/q/weblog_s?x-subject=3&>

Please join us again next week.

Chris Adamson, Editor
ONJava.com
cadamson@oreilly.com

==================================================================
FREE Cross Training For Web Developers

FREE training webcasts, software, and how to's from Dr. Dobb's, O'Reilly
Media, and Microsoft. Choose from more than 40 webcasts, and see if you're
eligible to receive a FREE copy of Visual Studio Standard (NFR).

Complimentary copies of Visual Studio Standard (NFR) are limited, so act
today! http://www.oreilly.com/go/learn2asp_jav

==================================================================

*** 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/

==================================================================
O'Reilly Learning Special Offer: Save 25% Now
<http://oreillylearning.com/promotion/>

"I would never, and I mean never, have imagined that a computer learning
course would actually be fun too."
-Kerry Beck, PR Specialist

O'Reilly Learning has an exciting year in store! You're invited to join
thousands of satisfied students worldwide who have discovered just how
much fun it can be to gain skills and experience in programming or system
administration with our unique system. And until March 31st, enjoy 25% off
tuition for our online University of Illinois Certificate courses.

Enroll today and make your daily accomplishment:
<https://oreillylearning.com/enroll/>

==================================================================

*** 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/

------------------------------------------------------------------
Interested in sponsoring the ONJava.com newsletter? Please email us
at advertising@oreilly.com for rate and availability information.
Thank you!
------------------------------------------------------------------
To change your newsletter subscription options, please visit
http://www.oreillynet.com/cs/nl/home

For assistance, email help@oreillynet.com

O'Reilly Media, Inc.
1005 Gravenstein Highway North
Sebastopol, CA 95472
(707) 827-7000
------------------------------------------------------------------


Comments: Post a Comment



<< Home

This page is powered by Blogger. Isn't yours?