Thursday, May 7, 2009

Java Tip: The Serialization algorithm revealed

JAVAWORLD'S ENTERPRISE JAVA ALERT
Solutions for Java developers
05/07/09

By Sathiskumar Palaniappan

A typical Java enterprise application today has multiple
components that are distributed across various systems and
networks. In Java, everything is represented as objects; if two
Java components want to communicate with each other, there needs
be a mechanism to exchange data. One way to achieve this is to
define your own protocol and transfer an object. This means that
the receiving end must know the protocol used by the sender to
re-create the object, which would make it very difficult to talk
to third-party components. Hence, there needs to be a generic
and efficient protocol to transfer the object between
components.

Serialization is defined for this purpose, and Java components
use this protocol to transfer objects. Figure 1 shows a
high-level view of client/server communication, where an object
is transferred from the client to the server through
serialization ...

Read more: Serializing a Java object
http://www.javaworld.com/community/node/2915

Related:

1. Java Tip: Extending declarative caching services for Spring
http://www.javaworld.com/community/node/2821

2. The Java Tips blog
http://www.javaworld.com/community/blog/21645

3. Java Tips series archive
http://www.javaworld.com/columns/jw-tips-index.html

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

Hot discussions -- let's hear it in JW Blogs:

1. SpringSource's empire under the radar ... 'empire' is relative
http://www.javaworld.com/community/node/2902

2. Layoffs: The upside of the downside
http://www.javaworld.com/community/node/2892

New Podcast! Make way for Jetty: Coming of age at 12

Jetty is a lightweight Java and Web application server that has
been making waves since turning 12 in the first months of 2009.
In this talk with Andrew Glover, Jetty engineers Greg Wilkins
and Jan Bartel discuss core aspects of Jetty that have made it a
popular choice for Web application deployment in Web 2.0
environments. Topics include Jetty's early adoption of
Comet-style "server push" interactions, its use in Android and
other mobile application environments, its lightweight,
embeddable component model, and its recent adoption as an
Eclipse Foundation project. Webtide CEO Adam Lieber joins in to
discuss the open source business strategy behind Jetty and other
Webtide initiatives.

Listen up: Greg Wilkins and Jan Bartel: Why Jetty is succeeding
now http://www.networkworld.com/nljavaworldsente193845 You've hit the tip of the iceberg: Read more in JW Blogs
http://www.javaworld.com/community/

_______________________________________________________________
This newsletter is sponsored by Research In Motion
BlackBerry App World Wants Your Apps

Research In Motion (RIM) is accepting applications for
BlackBerry App World(TM). Registration is simple, approvals are
fast, and you'll receive support from RIM every step of the way.
And with 21 million business and personal users (and counting),
BlackBerry App World offers you a world of opportunities.
http://adserver.fattail.com/redir/redirect.asp?CID=293172
_______________________________________________________________

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

Know your Oracle application server
http://www.networkworld.com/nljavaworldsente194805
René van Wijk offers tips for troubleshooting incompatibilities
between Oracle Web application servers and Java EE application
components such as TopLink Essentials, Apache MyFaces Trinidad,
Hibernate, and EJBs.
René van Wijk,May 2009

Building cloud-ready, multicore-friendly applications, Part 2:
Mechanics of the cloud
http://www.networkworld.com/nljavaworldsente194287
What's all that airy stuff we're calling "the cloud"? Appistry's
Guerry Semones explains the mechanics of how cloud platforms
take your cloud-ready application code to the next level.
Guerry Semones,April 2009

Mastering Spring MVC
http://www.networkworld.com/nljavaworldsente193844
If you like the Spring Framework, you'll want to explore Spring
MVC for Web development. With Steven Haines as your guide, learn
where Spring MVC fits into the Java Web development landscape
(including a little bit of Java history), then quickly get up to
speed developing a Spring MVC application.
Steven Haines,April 2009

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.
Adam Bien,April 2009

_______________________________________________________________
This newsletter is sponsored by Research In Motion
BlackBerry App World Wants Your Apps

Research In Motion (RIM) is accepting applications for
BlackBerry App World(TM). Registration is simple, approvals are
fast, and you'll receive support from RIM every step of the way.
And with 21 million business and personal users (and counting),
BlackBerry App World offers you a world of opportunities.
http://adserver.fattail.com/redir/redirect.asp?CID=293172
_______________________________________________________________

UPCOMING ON JAVAWORLD

-Clojure: Challenge your Java expectations
-The Ajax developer's toolkit: An overview
-Domain-driven development with Java EE


Podcasts:

-Howard Lewis Ship: What's new in Tapestry 5
-Grant Ingersol: Lucene and Solr

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

BONUS FEATURE


Everybody says "Do more with less!" But no one tells you how. We
will and it costs nothing to find out at IT Roadmap Conference and
Expo. Coming to 10 cities in 09. Register now, attend free.
http://www.nww.com/rpgx.jsp?c=XU1PTAZ3907


_______________________________________________________________

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