<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/atom10full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><feed xmlns="http://www.w3.org/2005/Atom" xmlns:openSearch="http://a9.com/-/spec/opensearch/1.1/" xmlns:georss="http://www.georss.org/georss" xmlns:gd="http://schemas.google.com/g/2005" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" gd:etag="W/&quot;CUUCQHo9eSp7ImA9WxBQF0k.&quot;"><id>tag:blogger.com,1999:blog-1533313167010579532</id><updated>2010-01-17T16:47:41.461+01:00</updated><title>One-way ticket to Java</title><subtitle type="html">A blog dedicated to the Java Enterprise Edition platform and frameworks, libraries, tools and servers that orbit around it.</subtitle><link rel="http://schemas.google.com/g/2005#feed" type="application/atom+xml" href="http://www.onewaytickettojava.com/feeds/posts/default" /><link rel="alternate" type="text/html" href="http://www.onewaytickettojava.com/" /><author><name>Raimon</name><uri>http://www.blogger.com/profile/14292558313116671462</uri><email>noreply@blogger.com</email></author><generator version="7.00" uri="http://www.blogger.com">Blogger</generator><openSearch:totalResults>9</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/atom+xml" href="http://feeds.feedburner.com/onewaytickettojava/posts" /><feedburner:info uri="onewaytickettojava/posts" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><feedburner:emailServiceId>onewaytickettojava/posts</feedburner:emailServiceId><feedburner:feedburnerHostname>http://feedburner.google.com</feedburner:feedburnerHostname><entry gd:etag="W/&quot;CUUMQnw_cSp7ImA9WxBQFkg.&quot;"><id>tag:blogger.com,1999:blog-1533313167010579532.post-6841061635214282443</id><published>2010-01-12T10:00:00.002+01:00</published><updated>2010-01-16T15:48:03.249+01:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-01-16T15:48:03.249+01:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Servlets" /><category scheme="http://www.blogger.com/atom/ns#" term="Java EE" /><title>Java Servlets in detail. Servlets life cycle</title><summary type="html">

A servlet is a Java class that run at the server end, it is instantiated when needed and destroyed when not needed by the Servlet container. The init() and destroy() methods of Servlet interface will allow us to know when a Servlet has been initialized or destroyed by the Servlet container, but the are more methods to know about.

The Java Servlet written in this test will print out a message &lt;img src="http://feeds.feedburner.com/~r/onewaytickettojava/posts/~4/Qfrn1C7FDFw" height="1" width="1"/&gt;</summary><link rel="replies" type="application/atom+xml" href="http://www.onewaytickettojava.com/feeds/6841061635214282443/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.onewaytickettojava.com/2010/01/java-servlets-in-detail-servlets-life.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/1533313167010579532/posts/default/6841061635214282443?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/1533313167010579532/posts/default/6841061635214282443?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/onewaytickettojava/posts/~3/Qfrn1C7FDFw/java-servlets-in-detail-servlets-life.html" title="Java Servlets in detail. Servlets life cycle" /><author><name>Raimon</name><uri>http://www.blogger.com/profile/14292558313116671462</uri><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="16371833145851038151" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://www.onewaytickettojava.com/2010/01/java-servlets-in-detail-servlets-life.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CUUCQHo8eyp7ImA9WxBQF0k.&quot;"><id>tag:blogger.com,1999:blog-1533313167010579532.post-3910171364968573749</id><published>2009-12-07T12:00:00.005+01:00</published><updated>2010-01-17T16:47:41.473+01:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-01-17T16:47:41.473+01:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Ant" /><category scheme="http://www.blogger.com/atom/ns#" term="Tomcat" /><category scheme="http://www.blogger.com/atom/ns#" term="Apache" /><title>Using Tomcat Ant tasks</title><summary type="html">

Using Tomcat Ant tasks or using Ant to manage Tomcat, whatever you prefer. In the last post, about the directory structure of a web application, I found a little tricky to update the application every time I made changes on it. To reflect the changes on the browser, I had to stop the server, manually delete the deployed application from the webapps folder, install it again and then restart the &lt;img src="http://feeds.feedburner.com/~r/onewaytickettojava/posts/~4/lYBNJ1I6duA" height="1" width="1"/&gt;</summary><link rel="replies" type="application/atom+xml" href="http://www.onewaytickettojava.com/feeds/3910171364968573749/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.onewaytickettojava.com/2009/12/using-tomcat-ant-tasks.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/1533313167010579532/posts/default/3910171364968573749?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/1533313167010579532/posts/default/3910171364968573749?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/onewaytickettojava/posts/~3/lYBNJ1I6duA/using-tomcat-ant-tasks.html" title="Using Tomcat Ant tasks" /><author><name>Raimon</name><uri>http://www.blogger.com/profile/14292558313116671462</uri><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="16371833145851038151" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://www.onewaytickettojava.com/2009/12/using-tomcat-ant-tasks.html</feedburner:origLink></entry><entry gd:etag="W/&quot;AkUDR3czeCp7ImA9WxNaGUw.&quot;"><id>tag:blogger.com,1999:blog-1533313167010579532.post-1237422964833644260</id><published>2009-12-02T12:00:00.010+01:00</published><updated>2009-12-04T10:17:56.980+01:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-12-04T10:17:56.980+01:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Ant" /><category scheme="http://www.blogger.com/atom/ns#" term="Web Container" /><category scheme="http://www.blogger.com/atom/ns#" term="Java EE" /><category scheme="http://www.blogger.com/atom/ns#" term="Web Application" /><category scheme="http://www.blogger.com/atom/ns#" term="Tomcat" /><title>Java EE Web application structure</title><summary type="html">

In this post, we are going to create a simple Java EE Web application from the scratch. The goal of this example is to show the folder structure used in the development process of a Java EE Web application. The application will be deployed on Tomcat 6, we will use Ant to automatize all the processes implied (cleanup, delete &amp;amp; create folders, compile, etc). The folder structure used in this &lt;img src="http://feeds.feedburner.com/~r/onewaytickettojava/posts/~4/OTfzMXG-CFU" height="1" width="1"/&gt;</summary><link rel="replies" type="application/atom+xml" href="http://www.onewaytickettojava.com/feeds/1237422964833644260/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.onewaytickettojava.com/2009/12/java-ee-web-application-structure.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/1533313167010579532/posts/default/1237422964833644260?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/1533313167010579532/posts/default/1237422964833644260?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/onewaytickettojava/posts/~3/OTfzMXG-CFU/java-ee-web-application-structure.html" title="Java EE Web application structure" /><author><name>Raimon</name><uri>http://www.blogger.com/profile/14292558313116671462</uri><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="16371833145851038151" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://www.onewaytickettojava.com/2009/12/java-ee-web-application-structure.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CkMBRnw8eip7ImA9WxNaEkg.&quot;"><id>tag:blogger.com,1999:blog-1533313167010579532.post-7114216047766389337</id><published>2009-11-21T12:00:00.020+01:00</published><updated>2009-11-26T16:47:37.272+01:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-11-26T16:47:37.272+01:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Web Container" /><category scheme="http://www.blogger.com/atom/ns#" term="Jakarta" /><category scheme="http://www.blogger.com/atom/ns#" term="Tomcat" /><category scheme="http://www.blogger.com/atom/ns#" term="Apache" /><title>Installing Apache Tomcat on Ubuntu</title><summary type="html">

This article is a guide to install and run Apache Tomcat 6 on Ubuntu 9.10. It covers version 6.0.20, but the steps are almost the same for any Tomcat 6 version. During the installation, we will create an script to help us control the server. This script will start, stop or restart the server depending on the parameters. Keeping the same folder structures used in previous posts, Tomcat 6 will be&lt;img src="http://feeds.feedburner.com/~r/onewaytickettojava/posts/~4/BZZCkN_hJKg" height="1" width="1"/&gt;</summary><link rel="replies" type="application/atom+xml" href="http://www.onewaytickettojava.com/feeds/7114216047766389337/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.onewaytickettojava.com/2009/11/installing-apache-tomcat-on-ubuntu.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/1533313167010579532/posts/default/7114216047766389337?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/1533313167010579532/posts/default/7114216047766389337?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/onewaytickettojava/posts/~3/BZZCkN_hJKg/installing-apache-tomcat-on-ubuntu.html" title="Installing Apache Tomcat on Ubuntu" /><author><name>Raimon</name><uri>http://www.blogger.com/profile/14292558313116671462</uri><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="16371833145851038151" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://www.onewaytickettojava.com/2009/11/installing-apache-tomcat-on-ubuntu.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CEAGQXs5fSp7ImA9WxNbFUg.&quot;"><id>tag:blogger.com,1999:blog-1533313167010579532.post-3604192006831659309</id><published>2009-11-15T12:00:00.007+01:00</published><updated>2009-11-18T14:58:40.525+01:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-11-18T14:58:40.525+01:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Servlets" /><category scheme="http://www.blogger.com/atom/ns#" term="JSP" /><category scheme="http://www.blogger.com/atom/ns#" term="EJB Container" /><category scheme="http://www.blogger.com/atom/ns#" term="EJB" /><category scheme="http://www.blogger.com/atom/ns#" term="Web tier" /><category scheme="http://www.blogger.com/atom/ns#" term="JSF" /><category scheme="http://www.blogger.com/atom/ns#" term="Web Container" /><category scheme="http://www.blogger.com/atom/ns#" term="Business tier" /><title>Java EE application tiers, containers and components</title><summary type="html">At first, the aim of this post was to talk just about the Java EE containers, but then I thought it would be a good idea to include a few words about the components hosted by these containers, and finally, I ended up wrapping all this stuff with the typical tiers of a Java EE application. Thus, the post title.

This paragraph summarizes what is being explained on the whole article. Java EE &lt;img src="http://feeds.feedburner.com/~r/onewaytickettojava/posts/~4/iiw7_9H7B-I" height="1" width="1"/&gt;</summary><link rel="replies" type="application/atom+xml" href="http://www.onewaytickettojava.com/feeds/3604192006831659309/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.onewaytickettojava.com/2009/11/java-ee-application-tiers-containers.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/1533313167010579532/posts/default/3604192006831659309?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/1533313167010579532/posts/default/3604192006831659309?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/onewaytickettojava/posts/~3/iiw7_9H7B-I/java-ee-application-tiers-containers.html" title="Java EE application tiers, containers and components" /><author><name>Raimon</name><uri>http://www.blogger.com/profile/14292558313116671462</uri><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="16371833145851038151" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://www.onewaytickettojava.com/2009/11/java-ee-application-tiers-containers.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CEAHSXc-fCp7ImA9WxNaE0w.&quot;"><id>tag:blogger.com,1999:blog-1533313167010579532.post-3506481658297611606</id><published>2009-11-08T12:00:00.020+01:00</published><updated>2009-11-27T10:05:38.954+01:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-11-27T10:05:38.954+01:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Ant" /><category scheme="http://www.blogger.com/atom/ns#" term="Java" /><category scheme="http://www.blogger.com/atom/ns#" term="Ubuntu" /><title>Installing Apache Ant on Ubuntu</title><summary type="html">

In this article, we will install and test Apache Ant 1.7.1 on the Ubuntu 9.10 operating system. The installation will be done within the user's home folder, check the "Work area" post if you want to see clearly the folders structure used during the installation. Once it is installed on the system, we will test it with a tiny example to see the most basic functionalities.

Apache Ant is an open &lt;img src="http://feeds.feedburner.com/~r/onewaytickettojava/posts/~4/WWmd8FWqcfg" height="1" width="1"/&gt;</summary><link rel="replies" type="application/atom+xml" href="http://www.onewaytickettojava.com/feeds/3506481658297611606/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.onewaytickettojava.com/2009/11/installing-apache-ant-on-ubuntu.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/1533313167010579532/posts/default/3506481658297611606?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/1533313167010579532/posts/default/3506481658297611606?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/onewaytickettojava/posts/~3/WWmd8FWqcfg/installing-apache-ant-on-ubuntu.html" title="Installing Apache Ant on Ubuntu" /><author><name>Raimon</name><uri>http://www.blogger.com/profile/14292558313116671462</uri><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="16371833145851038151" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://www.onewaytickettojava.com/2009/11/installing-apache-ant-on-ubuntu.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CkMGRHs7fip7ImA9WxNaEkg.&quot;"><id>tag:blogger.com,1999:blog-1533313167010579532.post-5119613583230989364</id><published>2009-11-01T12:00:00.019+01:00</published><updated>2009-11-26T16:47:05.506+01:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-11-26T16:47:05.506+01:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Java" /><category scheme="http://www.blogger.com/atom/ns#" term="JDK" /><category scheme="http://www.blogger.com/atom/ns#" term="Ubuntu" /><title>Installing Java Sun JDK on Ubuntu</title><summary type="html">

This article will show how to install the Sun JDK 6 (Java Development Kit) on the Ubuntu 9.10 operating system. The installation of the JDK will be done within the user's home folder, the structure used is shown in the "Work area" post. If you are looking for the standard installation you will not find it here and I strongly recommend you to keep searching.

The JDK is mainly for developers; it&lt;img src="http://feeds.feedburner.com/~r/onewaytickettojava/posts/~4/QlMnaqyq2ns" height="1" width="1"/&gt;</summary><link rel="replies" type="application/atom+xml" href="http://www.onewaytickettojava.com/feeds/5119613583230989364/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.onewaytickettojava.com/2009/11/installing-java-sun-jdk-on-ubuntu.html#comment-form" title="2 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/1533313167010579532/posts/default/5119613583230989364?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/1533313167010579532/posts/default/5119613583230989364?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/onewaytickettojava/posts/~3/QlMnaqyq2ns/installing-java-sun-jdk-on-ubuntu.html" title="Installing Java Sun JDK on Ubuntu" /><author><name>Raimon</name><uri>http://www.blogger.com/profile/14292558313116671462</uri><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="16371833145851038151" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">2</thr:total><feedburner:origLink>http://www.onewaytickettojava.com/2009/11/installing-java-sun-jdk-on-ubuntu.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DkEBQXY-eip7ImA9WxNaF0s.&quot;"><id>tag:blogger.com,1999:blog-1533313167010579532.post-2772368355443231408</id><published>2009-11-01T09:00:00.008+01:00</published><updated>2009-12-02T15:37:30.852+01:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-12-02T15:37:30.852+01:00</app:edited><title>Work area</title><summary type="html">All the test will be done on the same host, and all the software installed will use and respect the same folder structure. This structure will be placed within the user's home folder, which is not the most common location to place the software programs, but this will allow us to install everything without requiring root privileges. Moreover, this will force us to be aware and take care of every &lt;img src="http://feeds.feedburner.com/~r/onewaytickettojava/posts/~4/sfyXY6rRbts" height="1" width="1"/&gt;</summary><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/1533313167010579532/posts/default/2772368355443231408?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/1533313167010579532/posts/default/2772368355443231408?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/onewaytickettojava/posts/~3/sfyXY6rRbts/work-area.html" title="Work area" /><author><name>Raimon</name><uri>http://www.blogger.com/profile/14292558313116671462</uri><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="16371833145851038151" /></author><feedburner:origLink>http://www.onewaytickettojava.com/2009/11/work-area.html</feedburner:origLink></entry><entry gd:etag="W/&quot;D0INRX09fyp7ImA9WxBTGUo.&quot;"><id>tag:blogger.com,1999:blog-1533313167010579532.post-6158022769431660399</id><published>2009-11-01T08:00:00.003+01:00</published><updated>2009-12-16T15:59:54.367+01:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-12-16T15:59:54.367+01:00</app:edited><title>About</title><summary type="html">Welcome to the "One-way ticket to Java" blog, if you expected to find recommendations and suggestions for travelling to the island of Java, sorry to disappoint you, but you will not find anything like that. This blog is rather a compilation of tests, concepts and thoughts on the Java Enterprise Edition Platform from Sun Microsystems.

The aim of this blog is to publish each article explaining &lt;img src="http://feeds.feedburner.com/~r/onewaytickettojava/posts/~4/QXVPysXmqX4" height="1" width="1"/&gt;</summary><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/1533313167010579532/posts/default/6158022769431660399?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/1533313167010579532/posts/default/6158022769431660399?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/onewaytickettojava/posts/~3/QXVPysXmqX4/about.html" title="About" /><author><name>Raimon</name><uri>http://www.blogger.com/profile/14292558313116671462</uri><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="16371833145851038151" /></author><feedburner:origLink>http://www.onewaytickettojava.com/2009/11/about.html</feedburner:origLink></entry></feed>
