Tuesday, April 14, 2009

Lean SOA with Java EE 6

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

By Adam Bien

The crucial artifact in any SOA is an exposed service. A service
can be considered as a contract with significant business value.
A clear relationship should exist between the service contract
and a business requirement, a use case, or even a user story. A
service can be realized as a single action or a set of cohesive
actions. For example, anOrderServicemight comprise a single
action that performs the actual order, or a group of related
operations that also include canceling the order and receiving
the order status. An SOA does not reveal any details about how a
service must be implemented; it aims for services to be
technology- and even location-agnostic.

SOA principles can be mapped to Java EE artifacts. The most
important ingredients in a Java-based SOA implementation are
interfaces and packages. Everything else is only a refinement,
or design. Only one artifact in the language -- a plain Java
interface -- meets the requirements of a service contract. It is
often used to decouple the client from the service
implementation. It can also be used to expose the functionality
of a component.

Component based design (CBD) is SOA's evolutionary predecessor.
Component contracts are comparable to SOA's services, except for
their heavier dependence on particular technology and general
lack of operations-related metadata -- such as service-level
agreements (SLAs) -- or strong governance principles
http://www.javaworld.com/podcasts/jtech/2008/071508jtech.html .
A component is built on themaximal cohesion, minimal
couplingprinciple. A component should be highly independent of
other components, and the implementation should consist of
related (cohesive) elements. In a Java EE SOA implementation, a
component is a Java package with these strong semantics. The
package's functionality is exposed with a single interface, or
in rare cases a few interfaces.

Read more: Lean SOA: The essential complexity
http://www.networkworld.com/nljavaworldsente191680

1. EJB 3: From legacy technology to secret weapon
http://www.javaworld.com/javaworld/jw-10-2008/jw-10-ejb3.html

2. Dan Diephouse: SOA governance with Mule Galaxy
http://www.javaworld.com/podcasts/jtech/2008/071508jtech.html

3. SOA & Web services research center
http://www.javaworld.com/channel_content/jw-webserv-index.html

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 1. Dustin Marx: Exporting POJO via JMX and Groovy
http://www.javaworld.com/community/?q=node/2781

2. Charles Nutter: JRuby Moves to Git
http://www.javaworld.com/community/?q=node/2780

3. Esther Schindler: When the Job Changes But the Programmer
Doesn't http://www.javaworld.com/community/?q=node/2779

You've hit the tip of the iceberg: Read more in JW Blogs
http://www.javaworld.com/community/

_______________________________________________________________
This newsletter is sponsored by Dell
More Productive Mobile Computing

This webcast details the key elements and best practices
essential to planning a successful large-scale migration to
Windows Vista so you can immediately begin to reap the benefits
of improved security, lower operating costs and more productive
mobile computing.
http://adserver.fattail.com/redir/redirect.asp?CID=296006
_______________________________________________________________


Network Management Solutions in your backyard. Answers are as close
as the IT Roadmap event in your area. You can ask questions,
compare quotes, and gain a year's worth of direction in less than a
day. Coming to 10 cities in '09 including Boston in May and Atlanta
in June. Qualify to attend free at
http://www.nww.com/rpgx.jsp?c=XU1PTBZ4303.

_______________________________________________________________

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

ALSO FEATURED ON JAVAWORLD

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
More Productive Mobile Computing

This webcast details the key elements and best practices
essential to planning a successful large-scale migration to
Windows Vista so you can immediately begin to reap the benefits
of improved security, lower operating costs and more productive
mobile computing.
http://adserver.fattail.com/redir/redirect.asp?CID=296006
_______________________________________________________________

UPCOMING ON JAVAWORLD

-Cloud-ready, multicore-friendly code, Part 2
-Introduction to Spring MVC, Part 1

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


Accurately Troubleshoot your Apps. Optimize your application
troubleshooting efforts with the best practices described in this
whitepaper, "Application Troubleshooting Guide." Eliminate finger
pointing between departments. Find out how to isolate the source of
application performance problems and what to look for when
troubleshooting. Get all of the details today.
http://www.nww.com/rpgx.jsp?c=XU1PTAZ4161 Download this whitepaper
now.


_______________________________________________________________

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