Solutions for Java developers
05/05/09
By René van Wijk
A Java application server is the runtime environment for a Java
enterprise application. It provides services to components such
as servlets and Enterprise JavaBeans (EJBs) in the form
ofcontainers. A container is an interface between a component
and the platform-specific functionality that supports it.
An enterprise bean must be deployed to an EJB container, which
then manages the bean's execution; a servlet must be deployed to
a Web container, which manages its execution. The deployment
process requires you to provide settings for the components that
can alter the application server's underlying services, such as
security and transaction management. For example, you can
configure a component's security so that only authorized users
can access certain resources. Or you can specify relationships
among methods so that they are treated as a unit in a single
transaction.
Because application servers offer configurable services,
components can behave differently depending on where you deploy
them. Containers also manage nonconfigurable services, such as
lifecycle management and data persistence. EJBs, as well as
external frameworks and libraries that you use in your
application, can give you the means to configure these services.
But the process isn't always straightforward. Each application
server has its idiosyncrasies, which can create challenges for
the new user. The application server's own system classes, for
example, might interfere with classes belonging to the framework
you use. In this article I offer tips for resolving these kinds
of issues when deploying Java EE applications to two popular
application servers: Oracle Application Server Containers for
J2EE (OC4J) and WebLogic Server ...
Read more: Troubleshooting WebLogic and OC4J for Java EE
deployment http://www.networkworld.com/nljavaworldsente194805
Related:
1. Developers rank application servers
http://www.networkworld.com/nljavaworldsente167486
2. EJB 3: From legacy technology to secret weapon
http://www.javaworld.com/javaworld/jw-10-2008/jw-10-ejb3.html
3. Research application servers on JavaWorld
http://www.javaworld.com/channel_content/jw-appserv-index.html
New! Java Tip: Extending declarative caching services for Spring
http://www.javaworld.com/community/node/2821
Spring Modules offer an easy way to add and tune caching
functionality without touching an application's code, but the
approach often falls short when scaled in real-world scenarios.
This tip explains real-world problems faced when using Spring
Modules for declarative caching and extends the existing
declarative model to address them.
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
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 Tidal Software
Choosing a Web App Monitoring Tool.
How solid is your application management strategy? Discover the
benefits of a robust Web application monitoring tool in this
whitepaper. Ensure you're getting the most from your Java, SOA
and .NET apps with a tool that provides real-time visibility,
context and control. Find the right solution for your enterprise
today. Download this whitepaper now.
http://adserver.fattail.com/redir/redirect.asp?CID=299881
_______________________________________________________________
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=XU1PTA7013Z4343
_______________________________________________________________
This Newsletter Subscription Compliments of: Linuxworld.com http://www.linuxworld.com
ALSO FEATURED ON JAVAWORLD
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
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.
Klaus P. Berg,April 2009
_______________________________________________________________
This newsletter is sponsored by Tidal Software
Choosing a Web App Monitoring Tool.
How solid is your application management strategy? Discover the
benefits of a robust Web application monitoring tool in this
whitepaper. Ensure you're getting the most from your Java, SOA
and .NET apps with a tool that provides real-time visibility,
context and control. Find the right solution for your enterprise
today. Download this whitepaper now.
http://adserver.fattail.com/redir/redirect.asp?CID=299881
_______________________________________________________________
UPCOMING ON JAVAWORLD
-Domain-driven development with Java EE
-Clojure: Challenge your Java expectations
-The Ajax developer's toolkit: An overview
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