Thursday, August 24, 2006

 

Richer clients, smarter clusters, and pithier paths

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

==================================================================
Managed Hosting Solutions Powered by Rackspace

Need Managed Servers with 100% Uptime? By integrating top Linux and
Windows technologies with Fanatical Support (TM) customer service,
Rackspace Managed Hosting created two distinct and powerful hosting
solutions. Visit Rackspace's Dev Zone to learn more about Managed Hosting,
and to find out why Rackspace is ideal for any company running Java EE or
LAMP configurations.

Click here to learn more: http://www.onlamp.com/onlamp/zones/rackspace/

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

Greetings...

Your editor is probably a bit of an odd duck in the Java world for being
more of a desktop developer than a server-side programmer. Oh sure, I've
worked with most of the EE API and written more quick-and-dirty,
HTML-emitting raw servlets than I'd care to admit, but most of what I code
ends up in a desktop window. And it's interesting to note the difference
between the carefully managed environment of application servers to that
of the desktop application. Whether you're writing servlets or some other
kind of server-side code (JSPs, EJBs, Struts actions, Spring, and so on),
you can generally rely on a fairly well-defined application life-cycle,
and the handling of many environmental issues, from threading off separate
requests to inversion-of-control schemes to let the container make
decisions the web app need not be responsible for. But back on the
desktop, what do we have? It's not like AWT or Swing provides an
"Application" class to extend, or a framework to provide consistent
services needed by applications. Instead, you get started from "public
static void main (String[])" and then it's off to the races with whatever
you can pull together from the various Java SE APIs. If that seems
somewhat aimless or potentially anarchic, you might be in need of a
genuine application platform. And this week, we look at one well-known
and well-tested option.

Strip away the syntax-highlighting, incrementally compiling details from
the Eclipse IDE, and at its core, you'll find a platform, the Eclipse Rich
Client Platform to be precise, that could be reused for a wide variety of
applications. In the feature article "Eclipse RCP: A Platform for
Building Platforms," Wayne Beaton says "...although it is actually an
inappropriate use of the term, Eclipse RCP can be considered middleware
for building rich-client applications. It provides the infrastructure that
your application needs, which allows developers to focus on core
application functionality, not the plumbing. Don't reinvent the wheel: use
Eclipse RCP."

http://www.onjava.com/pub/a/onjava/2006/08/23/eclipse-rich-client-platform.html

Clusters distribute work among their nodes, and the round-robin strategy
is a popular and simple way to allocate work to each node. No wonder it's
the default in WebLogic. But it's not always the right choice, as
Francesco Marchioni points out: "a round-robin scheme is simple and
predictable. However, this strategy does not react according to the
varying loads on the servers. For example, if one server in the cluster is
under heavy load, it still will continue to participate in the
round-robining scheme, like the other members in the cluster, so work may
pile up on this server." In the dev2dev article "Creating Custom
Load-Balancing Schemes Using MBeans," Francesco shows a strategy for
tracking and managing your resources, and using that to allocate tasks
more efficiently.

http://dev2dev.bea.com/pub/a/2006/07/custom-load-balancing.html

In this week's feature article from java.net, Brian Agnew takes a look at
"Java Object Querying Using JXPath:" "JXPath is a little-known component
of the Apache Commons library that simplifies querying of sets of Java
objects by using an XPath-based syntax. This article demonstrates how to
use JXPath to replace complex Java code with simple expression-based
queries, and how to make use of this in practical scenarios such as JSPs,
templates (such as Velocity), and monitoring/management applications."

http://today.java.net/pub/a/today/2006/08/03/java-object-querying-using-jxpath.html

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

Paul Browne - Back to the Future with Java and Retroweaver
http://www.oreillynet.com/onjava/blog/2006/08/back_to_the_future_with_java_a.html

Dejan Bosanac - Will we have closures in Java 1.7?
http://www.oreillynet.com/onjava/blog/2006/08/will_we_have_closures_in_java.html

Check out more O'Reilly Network Java weblogs at:
http://www.oreillynet.com/onjava/blog/

Please join us again next week.

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

==================================================================
Sponsored by Adobe Flex 2

Adobe Flex 2 is a complete, powerful application development solution for
creating and delivering cross-platform rich Internet applications (RIAs)
within the enterprise and across the web. Flex enables enterprises to
create engaging, interactive, expressive applications that dramatically
enhance user experience, increasing customer satisfaction and making users
more productive. Free trial.

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

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

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

==================================================================
The First European RailsConf 2006 - September 14-15 – London

Learn why Ruby on Rails is taking Europe by Storm! Find out what's new
cool and exciting from more than 25 leading web 2.0 experts, including
David Heinemeier Hansson - creator of Rails, Pragmatic Programmer Dave
Thomas, Rake author Jim Weirich, Why the Lucky Stiff and more!
http://www.oreilly.com/go/railsconf_linux

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

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

------------------------------------------------------------------
Visit our Sponsored Developer Resource Pages and learn about cool
stuff from our sponsors!

Downloads - Free Training - Webinars - Updates

Driver Agents Driver Updates: http://www.oreilly.com/go/driver_updates
GoToMyPC(R) Remote Access: http://www.oreillynet.com/etel/citrix/
Inside Lightroom: http://digitalmedia.oreilly.com/lightroom/
Rackspace Managed Hosting: http://www.onlamp.com/onlamp/zones/rackspace/

------------------------------------------------------------------
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?