Thursday, April 23, 2009

The return of Java Tips!

JAVAWORLD'S ENTERPRISE JAVA ALERT
Solutions for Java developers
04/23/09

JavaWorld's Java Tips series was one of its most popular
long-running series (1996 through 2003) and still ranks an one
of our most read archives. The new Java Tips blog, which debuts
today, will feature short, relevant tips, tricks, workarounds
and introductory tutorials, from one Java developer to another.

Read today's tip: Extend declarative caching services for
Spring http://www.javaworld.com/community/?q=node/2821

Related:

1. Peruse the Java Tips Archive - 143 tips in all!
http://www.javaworld.com/columns/jw-tips-index.html

2. Subscribe to the Java Tips Blog feed
http://www.javaworld.com/community/blog/21645/feed

3. Got a tip? Submit it here mailto:jwedit@javaworld.com

By Charles Nutter

There's been a lot of supposition about the future lately, and
I've certainly read and succumbed to the temptation of the
prognosticator. I'm not going to comment on any of the players
or put forward my own suppositions about what might happen. What
I will do here is talk about what *should* happen.

It's apparent that the Java platform is at a crossroads. One
path leads to irrelevance, be it through general apathy that
important technologies are getting sidelined, or through active
emigration due to bureaucratic processes and waterfall platform
evolution. The other path leads to a bright, open future, where
polyglots romp and play with fresh new languages and developers
have freedom to use whatever tools they feel are necessary for a
given job. Given the large investment many of us have in this
platform, we need to start talking now about which direction we
want to go.

I've been doing a lot of thinking about the future of the Java
platform and my future developing for it, and I've come up with
a few things I believe must happen soon to ensure the future of
the JVM and the applications and languages built for it.

Languages

As you might expect from me, the first area involves supporting
many languages on the JVM. Over the past three years we've seen
a spectacular transformation take place. The "Java" VM has
become a truly multi-language platform. People are putting into
production applications running all sorts of languages, often
writing absolutely no Java to do so. And this is how things must
be...this is how the platform is going to survive.

As I see it there are currently three primary players in the
language domain: JRuby, Scala, and Groovy (in no particular
order). I include these three due to the relative completeness
of their implementations, vague popularity metrics, and
availability of production use cases. These three languages, one
static and two dynamic, bear further exploration ...

Read more: The future of Java, Part 1: Languages and the JVM
http://www.javaworld.com/community/?q=node/2817

What do you think: How will Oracle's 'integrated enterprise'
strategy impact the Java ecosystem?
http://www.javaworld.com/community/node/2807

More about the Oracle/Sun merge:

1. Oracle/Sun: The end of Java as we know it?
http://www.networkworld.com/nljavaworldsente193257

2. Oracle/Sun: Five things that will change
http://www.networkworld.com/nljavaworldsente192773

3. Oracle buys Sun: Ellison cites Java, Solaris
http://www.networkworld.com/nljavaworldsente193258

4. Oracle acquires Sun in $7.4 billion stunner
http://www.networkworld.com/community/node/41064

New Podcast: Enterprise clustering and Terracotta 3.0

Alex Miller is a respected Java concurrency and scalability
enthusiast who works on Terracotta, an open source, Java-based
clustering system. In this talk with Andrew Glover, Alex
demystifies Terracotta, explaining the programming magic that
enables enterprise customers to run 50 to 100 JVMs on a single
application server instance. Alex also talks about Terracotta's
"sweet spot" -- storing session data off of the database -- and
Terracotta 3.0, which promises new features that he says will
eliminate certain scalability barriers.

Listen up: Alex Miller: Enterprise clustering with Terracotta
http://www.networkworld.com/nljavaworldsente191681

When the job changes but the programmer doesn't, Part 2: Saving
Frank's job http://www.javaworld.com/community/node/2796

By Esther Schindler

Last week, I described the plight of a maintenance programmer
whose company was moving to a new language and development
platform. Although Frank has worked for the medium-sized company
for some years, he's just not being productive. I promised the
rest of the story this week ....

Deadlock anti-patterns #3: Incremental locking
http://www.javaworld.com/community/node/2789

By Obi Ezechukwu

Tthe incremental locking anti-pattern is simple, well-known, and
well documented -- and is unfortunately still a frequent
mistake. Chances are that most developers who have had the
misfortune of debugging deadlocking code would have come across
this pattern at some point in their career ...You've hit the tip of the iceberg: Read more in JW Blogs
http://www.javaworld.com/community/

_______________________________________________________________
This newsletter is sponsored by Dell
Vista Migration: What Really Happens?

If you are searching for real-life facts about migrating to
Windows Vista and the day-to-day operation of it, this webcast
is aimed at helping you eliminate the guesswork about a
migration and present the reality you need to hear from someone
who is in the migration trenches.
http://adserver.fattail.com/redir/redirect.asp?CID=297822
_______________________________________________________________

Metzler: 2009 Handbook of Application Delivery.
Successful IT organizations must know how to make the right application delivery decisions in these tough economic times. This handbook authored by WAN expert Jim Metzler will help guide you.
http://www.nww.com/rpgx.jsp?c=XU1PTA7015Z4343
_______________________________________________________________

This Newsletter Subscription Compliments of: Linuxworld.com http://www.linuxworld.com

ALSO FEATURED ON JAVAWORLD

Lean service architectures with Java EE 6
http://www.networkworld.com/nljavaworldsente191680
Thanks to Java EE 6's simplified development model, a few
interfaces and annotated classes are all you need to implement
the facade, the service, and the domain structure that
constitute a lean service-oriented architecture. Surprised? Read
on.

Writing good unit tests, Part 2: Follow your nose
http://www.networkworld.com/nljavaworldsente191096
Klaus Berg continues his investigation of the tools and best
practices that facilitate programming with GUTs. Get tips for
writing cleaner, more efficient assertions, handling checked and
unchecked exceptions, and knowing when and how to refactor your
test code. Examples are based on JUnit 3 and 4, TestNG, and
Hamcrest.

Jump into JavaFX, Part 4: The advanced APIs
http://www.networkworld.com/nljavaworldsente190628
Jeff Friesen completes his comprehensive tour of the JavaFX APIs
with a look at how JavaFX handles media, GUIs, and special
effects. You'll also try your hand at building and deploying a
stock-ticker application to Google Chrome.

REST for Java developers, Part 4: The future is RESTful
http://www.networkworld.com/nljavaworldsente190066
Find out why REST interfaces are foundational for emerging
architectures such as the Semantic Web. Brian Sletten takes a
big-picture view of REST, now and in the future, in this final
article in his series.

Understanding actor concurrency, Part 2: Actors on the JVM
http://www.networkworld.com/nljavaworldsente188943
Erlang isn't the only language for implementing actor
concurrency. Find out how actors work and see them implemented
in Scala's standard library, Groovy's GParallelizer, and the
Java libraries Kilim, ActorFoundry, Actors Guild, and Jetlang.

_______________________________________________________________
This newsletter is sponsored by Dell
Vista Migration: What Really Happens?

If you are searching for real-life facts about migrating to
Windows Vista and the day-to-day operation of it, this webcast
is aimed at helping you eliminate the guesswork about a
migration and present the reality you need to hear from someone
who is in the migration trenches.
http://adserver.fattail.com/redir/redirect.asp?CID=297822
_______________________________________________________________

UPCOMING ON JAVAWORLD

-Know your Oracle application server
-Cloud-ready, multicore-friendly code, Part 2
-Tapestry 5: Day one
-Introduction to Spring MVC
-Clojure: Challenge your Java expectations
-The Ajax developer's toolkit: An overview

Podcasts:

-Make way for Jetty: Coming of age at 12
-Howard Lewis Ship: What's new in Tapestry 5

JavaWorld's Daily Brew - Starting conversations in the Java
developer community
http://www.javaworld.com/community
_______________________________________________________________

BONUS FEATURE


EMA: Refining privilege access security. Close the security gaps in
high-privilege access control and authentication by selecting the
right security products for the job. This whitepaper, "Resolving
the Privilege Management Paradox," details how. EMA outlines how to
find products that offer strong shared access management, better
control and clear visibility and multifactor authentication.
http://www.nww.com/rpgx.jsp?c=XU1PTAZ4347


_______________________________________________________________

May we send you a free print subscription to Network World?
You've got the technology snapshot of your choice delivered at
your fingertips each day. Now, extend your knowledge by
receiving 50 FREE issues to our print publication. Apply today
at http://www.subscribenw.com/nl2

International subscribers click here:
http://nww1.com/go/circ_promo.html
_______________________________________________________________

SUBSCRIPTION SERVICES

To make newsletter subscription changes or cancellation, please
go to:
http://www.subscribenw.com/nl/login.jsp

To change your e-mail address, go to:
http://www.subscribenw.com/nl/eclogin.jsp

Subscription questions? Contact Customer Service by replying to
this message.

This message was sent to: athenssuthakar.javaupdates@blogger.com
Please use this address when modifying your subscription.
_______________________________________________________________

For advertising information, write Susan Cardoza, Associate
Publisher Online, at: mailto:sponsorships@nwfusion.com
_______________________________________________________________

JavaWorld is a trademark or registered trademark of Sun
Microsystems, Inc. in the United States and other countries, and
is used under license by International Data Group, Inc. All
other product names and trademarks used are the trademarks of
their respective owners.

Copyright 2009 JavaWorld.
http://www.javaworld.com