Friday, April 06, 2007
ONJava Newsletter
--------------------------------------------------
The Independent Source for Enterprise Java
==================================================================
Sponsored by the O'Reilly School of Technology
O'Reilly School of Technology has opened its virtual doors
with educational offerings and certification for IT students
looking to further their careers or to launch one.
http://www.oreilly.com/go/ost_jav
==================================================================
Greetings OnJava readers,
We have a lot of content for you this week! Make your coffee a venti
and treat yourself to an extra article or two.
Using Groovy to Send Emails
Groovy is one of the more popular dynamic languages for the JVM. It
has a familiar syntax, reduces large amounts of scaffolding code, and
integrates seamlessly with Java. Learning Groovy means gaining access
to all of the richness emerging in the dynamic language world while
still leveraging the skills, infrastructure, and libraries you
already have from the Java world. This is a quick tutorial by Paul
King showing how to send emails from Groovy using Java libraries.
http://www.onjava.com/pub/a/onjava/2007/03/23/using-groovy-to-send-emails.html
Single sign on (SSO) is becoming increasingly important in enterprise
environments. This tutorial by Alex Rykov describes a simple SAML SSO
scenario between Microsoft Internet Information Services Server (IIS)
and BEA WebLogic Server 9.
http://dev2dev.bea.com/pub/a/2007/02/saml-iis.html
For years, the Java 2D team has been encouraging developers to move
away from JDK-1.0-isms like Image.getScaledInstance() and onto more
modern APIs. It often makes blanket statements like, "oh, you don't
want to do it that way--here's a better approach" and hope that
developers take their word for it. It's a great strategy--that is, until
the inevitable follow-up question: "But why?". This article by Chris
Campbell answers that question.
http://today.java.net/pub/a/today/2007/04/03/perils-of-image-getscaledinstance.html
Cell phones, like computers, have a well-defined internal file
structure to store information. Phone books, images, music, and even
applications are stored in various folders under a root directory.
However, the classes in the core Java ME packages cannot fully use
these folders and files. JSR 75 provides an optional API that enables
MIDlets to access the internal directories and files in a mobile
phone. In "Working with the Java ME FileConnection API on Physical
Devices," Biswajit Sarkar demonstrates this API.
Recent O'Reilly Network weblogs of interest to Java developers:
Dejan Bosanac - Can Servlet containers scale?
http://www.oreillynet.com/onjava/blog/2007/04/can_servlet_containers_scale.html
Robert Cooper - Speechless
http://www.oreillynet.com/onjava/blog/2007/03/speechless.html
Krishna Srinivasan - Portlet MVC Framework in Spring 2.0
http://www.oreillynet.com/onjava/blog/2007/03/portlet_mvc_framework_in_sprin.html
Timothy M. O'Brien - Reactions to the GPLv3 Revisions
http://www.oreillynet.com/onjava/blog/2007/03/reactions_to_the_gplv3_revisio.html
Bill Snyder - Java desktop frameworks: Where are we headed?
http://weblogs.java.net/blog/wsnyder6/archive/2007/04/where_are_we_he.html
Check out more O'Reilly Network Java weblogs at:
http://www.oreillynet.com/onjava/blog/
Finally, I'd like to add my two cents to a controversy that has been
dogging the blogosphere for the past few weeks - the death threats
and other inappropriate comments against Kathy Sierra. She discusses
them here on her own blog:
http://headrush.typepad.com/creating_passionate_users/2007/03/as_i_type_this_.html
Whatever led to this controversy, this crossed way over the line
typically referred to as "trolling." In her most recent post, Kathy
says "But these stories should not be about me... I am simply one of
a gazillion examples about what's happening today both on and offline."
Kathy has since coordinated a post with Chris Locke, whose blog was
also involved in the controversy:
http://www.rageboy.com/statements-sierra-locke.html
This story has been picked up by larger media outlets, including CNN,
and has led to a very active discussion in the blogging community
about the need for a "bloggers' code of conduct."
A simple look at the hundreds of comments on any slashdot article will
tell you that there appear to be more trolls out there than people with
something intelligent to say. Whatever your thoughts on a bloggers'
code of conduct, if you are reading OnJava, you probably consider
yourself a software engineer in some capacity. If so, you should be
aware of the Software Engineering Code of Ethics:
http://www.acm.org/serving/se/code.htm
While there is nothing in the code that explicitly references a
situation as extreme as this one, there are several areas of the code
that relate specifically to professionalism toward colleagues.
Having and following a code of ethics can raise our entire industry.
Kathy and Chris have both expressed a desire to have something good
come of this controversy. While a bloggers' code of conduct may be
debatable, wider awareness of our code of ethics would be a good
thing indeed.
Until next week,
David Bock, Editor
ONJava.com
==================================================================
Scaling New Heights
Join us April 23-26 in Santa Clara, California for the MySQL
Conference & Expo. Scale to new heights at MySQL.
Register today!
http://www.mysqlconf.com/
==================================================================
*** 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
==================================================================
*** 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
Inside Lightroom: http://digitalmedia.oreilly.com/lightroom
------------------------------------------------------------------
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
------------------------------------------------------------------