<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>cout &#187; javaee</title>
	<atom:link href="http://hardikmehta.wordpress.com/tag/javaee/feed/" rel="self" type="application/rss+xml" />
	<link>http://hardikmehta.wordpress.com</link>
	<description>&#60;&#60; About programming, Linux, music, stars, life and everything;</description>
	<lastBuildDate>Wed, 08 May 2013 11:19:34 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='hardikmehta.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>cout &#187; javaee</title>
		<link>http://hardikmehta.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://hardikmehta.wordpress.com/osd.xml" title="cout" />
	<atom:link rel='hub' href='http://hardikmehta.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Mavenising seam projects [ part 2 ].</title>
		<link>http://hardikmehta.wordpress.com/2010/04/30/mavenising-seam-projects-part-2/</link>
		<comments>http://hardikmehta.wordpress.com/2010/04/30/mavenising-seam-projects-part-2/#comments</comments>
		<pubDate>Fri, 30 Apr 2010 11:15:01 +0000</pubDate>
		<dc:creator>hardikmehta</dc:creator>
				<category><![CDATA[Java]]></category>
		<category><![CDATA[javaee]]></category>
		<category><![CDATA[jboss]]></category>
		<category><![CDATA[maven]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[seam]]></category>
		<category><![CDATA[seam framework]]></category>
		<category><![CDATA[seamframework]]></category>

		<guid isPermaLink="false">http://hardikmehta.wordpress.com/?p=606</guid>
		<description><![CDATA[This part will continue the discussion started in part 1 [1]. We now come to the model and action modules which are of type ejb. Particularly in this example (Open18) they are just seam components i.e. pojos  annotated with @Name, but they could also have been ejbs. Bellow is the pom.xml for model module. It [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=hardikmehta.wordpress.com&#038;blog=3954424&#038;post=606&#038;subd=hardikmehta&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p style="text-align:justify;">This part will continue the discussion started in part 1 [1].</p>
<p style="text-align:justify;">We now come to the model and action modules which are of type ejb. Particularly in this example (Open18) they are just seam components i.e. pojos  annotated with @Name, but they could also have been ejbs.</p>
<p style="text-align:justify;">Bellow is the pom.xml for model module. It contains all the entities (JPA)  and some helper classes. It shows jboss-seam as provided dependency which will be provided by the ear module which packages the artifact which will be deployed. This modules takes all the hibernate dependencies from the parent project.</p>
<pre class="brush: xml; title: ; notranslate">
&lt;project xmlns=&quot;<a href="http://maven.apache.org/POM/4.0.0&#038;quot" rel="nofollow">http://maven.apache.org/POM/4.0.0&#038;quot</a>; xmlns:xsi=&quot;<a href="http://www.w3.org/2001/XMLSchema-instance&#038;quot" rel="nofollow">http://www.w3.org/2001/XMLSchema-instance&#038;quot</a>;
    xsi:schemaLocation=&quot;<a href="http://maven.apache.org/POM/4.0.0" rel="nofollow">http://maven.apache.org/POM/4.0.0</a> <a href="http://maven.apache.org/maven-v4_0_0.xsd&quot;&#038;gt" rel="nofollow">http://maven.apache.org/maven-v4_0_0.xsd&quot;&#038;gt</a>;
  &lt;parent&gt;
    &lt;groupId&gt;com.hardik.seaminaction&lt;/groupId&gt;
    &lt;artifactId&gt;Open18&lt;/artifactId&gt;
    &lt;version&gt;1.0-SNAPSHOT&lt;/version&gt;
  &lt;/parent&gt;
  &lt;modelVersion&gt;4.0.0&lt;/modelVersion&gt;
  &lt;groupId&gt;com.hardik.seaminaction&lt;/groupId&gt;
  &lt;artifactId&gt;model&lt;/artifactId&gt;
  &lt;packaging&gt;ejb&lt;/packaging&gt;
  &lt;version&gt;1.0-SNAPSHOT&lt;/version&gt;
  &lt;name&gt;model&lt;/name&gt;
  &lt;url&gt;<a href="http://maven.apache.org&lt;/url&#038;gt" rel="nofollow">http://maven.apache.org&lt;/url&#038;gt</a>;
  &lt;dependencies&gt;
      &lt;dependency&gt;
            &lt;groupId&gt;org.jboss.seam&lt;/groupId&gt;
            &lt;artifactId&gt;jboss-seam&lt;/artifactId&gt;
            &lt;version&gt;2.2.0.GA&lt;/version&gt;
            &lt;type&gt;ejb&lt;/type&gt;
            &lt;scope&gt;provided&lt;/scope&gt;
        &lt;/dependency&gt;
  &lt;/dependencies&gt;
  &lt;build&gt;
  	&lt;plugins&gt;
  		&lt;plugin&gt;
  			&lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
  			&lt;artifactId&gt;maven-ejb-plugin&lt;/artifactId&gt;
  			&lt;configuration&gt;
  				&lt;ejbVersion&gt;3.0&lt;/ejbVersion&gt;
  			&lt;/configuration&gt;
  		&lt;/plugin&gt;
  	&lt;/plugins&gt;
  &lt;/build&gt;
&lt;/project&gt;
</pre>
<p style="text-align:justify;">Here the action module which is also of type ejb. It contains all the action classes which are in turn pojos annotated with @Name. The JSF dependency which we see is for the JSF message classes.</p>
<pre class="brush: xml; title: ; notranslate">
&lt;project xmlns=&quot;<a href="http://maven.apache.org/POM/4.0.0&#038;quot" rel="nofollow">http://maven.apache.org/POM/4.0.0&#038;quot</a>; xmlns:xsi=&quot;<a href="http://www.w3.org/2001/XMLSchema-instance&#038;quot" rel="nofollow">http://www.w3.org/2001/XMLSchema-instance&#038;quot</a>;
    xsi:schemaLocation=&quot;<a href="http://maven.apache.org/POM/4.0.0" rel="nofollow">http://maven.apache.org/POM/4.0.0</a> <a href="http://maven.apache.org/maven-v4_0_0.xsd&quot;&#038;gt" rel="nofollow">http://maven.apache.org/maven-v4_0_0.xsd&quot;&#038;gt</a>;
  &lt;parent&gt;
    &lt;groupId&gt;com.hardik.seaminaction&lt;/groupId&gt;
    &lt;artifactId&gt;Open18&lt;/artifactId&gt;
    &lt;version&gt;1.0-SNAPSHOT&lt;/version&gt;
  &lt;/parent&gt;
  &lt;modelVersion&gt;4.0.0&lt;/modelVersion&gt;
  &lt;groupId&gt;com.hardik.seaminaction&lt;/groupId&gt;
  &lt;artifactId&gt;action&lt;/artifactId&gt;
  &lt;packaging&gt;ejb&lt;/packaging&gt;
  &lt;version&gt;1.0-SNAPSHOT&lt;/version&gt;
  &lt;name&gt;action&lt;/name&gt;
  &lt;url&gt;<a href="http://maven.apache.org&lt;/url&#038;gt" rel="nofollow">http://maven.apache.org&lt;/url&#038;gt</a>;
  &lt;dependencies&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;com.hardik.seaminaction&lt;/groupId&gt;
          &lt;artifactId&gt;model&lt;/artifactId&gt;
          &lt;version&gt;1.0-SNAPSHOT&lt;/version&gt;
      &lt;/dependency&gt;

      &lt;dependency&gt;
            &lt;groupId&gt;org.jboss.seam&lt;/groupId&gt;
            &lt;artifactId&gt;jboss-seam&lt;/artifactId&gt;
            &lt;version&gt;2.2.0.GA&lt;/version&gt;
            &lt;type&gt;ejb&lt;/type&gt;
            &lt;scope&gt;provided&lt;/scope&gt;
        &lt;/dependency&gt;
      &lt;dependency&gt;
            &lt;groupId&gt;javax.faces&lt;/groupId&gt;
            &lt;artifactId&gt;jsf-api&lt;/artifactId&gt;
            &lt;version&gt;1.2_02&lt;/version&gt;
            &lt;scope&gt;provided&lt;/scope&gt;
        &lt;/dependency&gt;

  &lt;/dependencies&gt;
  &lt;build&gt;
  	&lt;plugins&gt;
  		&lt;plugin&gt;
  			&lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
  			&lt;artifactId&gt;maven-ejb-plugin&lt;/artifactId&gt;
  			&lt;configuration&gt;
  				&lt;ejbVersion&gt;3.0&lt;/ejbVersion&gt;
  			&lt;/configuration&gt;
  		&lt;/plugin&gt;
  	&lt;/plugins&gt;
  &lt;/build&gt;
&lt;/project&gt;
</pre>
<p><em>Links:</em></p>
<ol>
<li><a title="Mavenising seam projects [part1]" href="http://hardikmehta.wordpress.com/2010/03/07/mavenising-seam-projects-part-1/" target="_blank">Mavenising seam projects [ part 1 ].</a></li>
</ol>
<br /> Tagged: <a href='http://hardikmehta.wordpress.com/tag/javaee/'>javaee</a>, <a href='http://hardikmehta.wordpress.com/tag/jboss/'>jboss</a>, <a href='http://hardikmehta.wordpress.com/tag/maven/'>maven</a>, <a href='http://hardikmehta.wordpress.com/tag/seam/'>seam</a>, <a href='http://hardikmehta.wordpress.com/tag/seam-framework/'>seam framework</a>, <a href='http://hardikmehta.wordpress.com/tag/seamframework/'>seamframework</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/hardikmehta.wordpress.com/606/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/hardikmehta.wordpress.com/606/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=hardikmehta.wordpress.com&#038;blog=3954424&#038;post=606&#038;subd=hardikmehta&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://hardikmehta.wordpress.com/2010/04/30/mavenising-seam-projects-part-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/74fde935e21ce03bcbbb2210d8e7a1a6?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">hardikmehta</media:title>
		</media:content>
	</item>
		<item>
		<title>Mavenising seam projects [ part 1 ].</title>
		<link>http://hardikmehta.wordpress.com/2010/03/07/mavenising-seam-projects-part-1/</link>
		<comments>http://hardikmehta.wordpress.com/2010/03/07/mavenising-seam-projects-part-1/#comments</comments>
		<pubDate>Sun, 07 Mar 2010 14:51:32 +0000</pubDate>
		<dc:creator>hardikmehta</dc:creator>
				<category><![CDATA[Java]]></category>
		<category><![CDATA[javaee]]></category>
		<category><![CDATA[jboss]]></category>
		<category><![CDATA[maven]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[cdi]]></category>
		<category><![CDATA[jsr 299]]></category>
		<category><![CDATA[jsr299]]></category>
		<category><![CDATA[seam]]></category>
		<category><![CDATA[seam framework]]></category>
		<category><![CDATA[seamframework]]></category>

		<guid isPermaLink="false">http://hardikmehta.wordpress.com/?p=570</guid>
		<description><![CDATA[Seam [1] is a  very powerful framework for developing java EE web-based applications. It is the only java framework which glues all the tiers of a typical java EE web application together. It is no surprise that many seam features like using EJB 3.0  (for seam any pojo which is a seam component) directly as [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=hardikmehta.wordpress.com&#038;blog=3954424&#038;post=570&#038;subd=hardikmehta&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p style="text-align:justify;">Seam [1] is a  very powerful framework for developing java EE web-based applications. It is the only java framework which glues all the tiers of a typical java EE web application together. It is no surprise that many seam features like using EJB 3.0  (for seam any pojo which is a seam component) directly as JSF backing beans, declarative scoping and conversation scope  has been included in the new Contexts and Dependency Injection for Java EE 6 (CDI) also known as JSR 299 [2].  JSR 299 combines best features of seam, Google Guice [3] and Spring [4]. Seam also has tons of other features which make it a very useful framework to learn for any Java developer. Seam by default uses ant. The seam-gen tool creates an ant project and itself is a wrapper to different ant targets.</p>
<p style="text-align:justify;">Maven on the other hand is emerging as the de-facto building tool for java. As I have already mentioned before, maven gives you a very good overview of your project and you are not lost in minor details. Those details are automatically taken care of. With seam projects, maven is especially useful because you know which dependencies are needed.</p>
<p style="text-align:justify;">When I started learning seam, by reading the very popular book Seam in Action by Dan Allan [5], I had already switched to maven for all my projects. I decided to mavenise the examples of the book. There are many such projects. The seam documentation also points to the seam-maven-refimpl project [6] which provides a nice template for any seam project. As I wanted to find out how the maven implementation a seam project differs from that of a standard java EE project first hand, I didn&#8217;t use the template provided by this project. I just started with a standard java EE project and started adding seam dependencies to it, until I had a working example.</p>
<p style="text-align:justify;">The implementation  can be found <a title="Seam2Examples" href="http://github.com/rangalo/Seam2Examples" target="_blank">here</a>. Please feel free to point out any mistakes or suggest improvements to th code.</p>
<p style="text-align:justify;">I have also tried to convert the first examples of the book ﻿﻿Seam 2.x Web Development by David Salter [7]. These examples are very simple i.e. without persistence, richfaces etc, although they use state less session beans.</p>
<p style="text-align:justify;">Here I will discuss the Open18 example from the Seam In Action book in detail.</p>
<p style="text-align:justify;">Here is the pom file of the main parent project which is no different from an ordinary Java EE project. The only seam specific thing is the jboss repository entry at the end.</p>
<pre class="brush: xml; title: ; notranslate">
&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;
xmlns=&quot;<a href="http://maven.apache.org/POM/4.0.0&#038;quot" rel="nofollow">http://maven.apache.org/POM/4.0.0&#038;quot</a>;
         xmlns:xsi=&quot;<a href="http://www.w3.org/2001/XMLSchema-instance&#038;quot" rel="nofollow">http://www.w3.org/2001/XMLSchema-instance&#038;quot</a>;
         xsi:schemaLocation=&quot;<a href="http://maven.apache.org/POM/4.0.0" rel="nofollow">http://maven.apache.org/POM/4.0.0</a> <a href="http://maven.apache.org/maven-v4_0_0.xsd&quot;&#038;gt" rel="nofollow">http://maven.apache.org/maven-v4_0_0.xsd&quot;&#038;gt</a>;
  &lt;modelVersion&gt;4.0.0&lt;/modelVersion&gt;
  &lt;groupId&gt;com.hardik.seaminaction&lt;/groupId&gt;
  &lt;artifactId&gt;Open18&lt;/artifactId&gt;
  &lt;packaging&gt;pom&lt;/packaging&gt;
  &lt;version&gt;1.0-SNAPSHOT&lt;/version&gt;
  &lt;name&gt;Open18&lt;/name&gt;
  &lt;url&gt;<a href="http://maven.apache.org&lt;/url&#038;gt" rel="nofollow">http://maven.apache.org&lt;/url&#038;gt</a>;
  &lt;modules&gt;
  	&lt;module&gt;action&lt;/module&gt;
  	&lt;module&gt;model&lt;/module&gt;
    &lt;module&gt;war&lt;/module&gt;
    &lt;module&gt;ear&lt;/module&gt;
  &lt;/modules&gt;
  &lt;build&gt;
  	&lt;plugins&gt;
  		&lt;plugin&gt;
  			&lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
  			&lt;artifactId&gt;maven-compiler-plugin&lt;/artifactId&gt;
  			&lt;configuration&gt;
  				&lt;source&gt;1.6&lt;/source&gt;
  				&lt;target&gt;1.6&lt;/target&gt;
  			&lt;/configuration&gt;
  		&lt;/plugin&gt;
  	&lt;/plugins&gt;
  &lt;/build&gt;
  &lt;dependencyManagement&gt;
  	&lt;dependencies&gt;
  		&lt;dependency&gt;
  			&lt;groupId&gt;com.hardik.seaminaction&lt;/groupId&gt;
  			&lt;artifactId&gt;ear&lt;/artifactId&gt;
  			&lt;version&gt;1.0-SNAPSHOT&lt;/version&gt;
  		&lt;/dependency&gt;
  		&lt;dependency&gt;
  			&lt;groupId&gt;com.hardik.seaminaction&lt;/groupId&gt;
  			&lt;artifactId&gt;war&lt;/artifactId&gt;
  			&lt;version&gt;1.0-SNAPSHOT&lt;/version&gt;
  		&lt;/dependency&gt;
  		&lt;dependency&gt;
  			&lt;groupId&gt;com.hardik.seaminaction&lt;/groupId&gt;
  			&lt;artifactId&gt;action&lt;/artifactId&gt;
  			&lt;version&gt;1.0-SNAPSHOT&lt;/version&gt;
  		&lt;/dependency&gt;
        &lt;dependency&gt;
  			&lt;groupId&gt;com.hardik.seaminaction&lt;/groupId&gt;
  			&lt;artifactId&gt;model&lt;/artifactId&gt;
  			&lt;version&gt;1.0-SNAPSHOT&lt;/version&gt;
        &lt;/dependency&gt;
  	&lt;/dependencies&gt;
  &lt;/dependencyManagement&gt;
    &lt;dependencies&gt;
        &lt;!-- hibernate dependencies with provided scope --&gt;
    &lt;/dependencies&gt;

   &lt;repositories&gt;
  	&lt;repository&gt;
  		&lt;id&gt;jboss&lt;/id&gt;
  		JBoss Repository
        &lt;url&gt;<a href="http://repository.jboss.org/maven2/&lt;/url&#038;gt" rel="nofollow">http://repository.jboss.org/maven2/&lt;/url&#038;gt</a>;
  	&lt;/repository&gt;
  &lt;/repositories&gt;
&lt;/project&gt;
</pre>
<p style="text-align:justify;"><em>Links:</em></p>
<ol>
<li><a title="seamframework" href="http://seamframework.org/" target="_blank">Seam</a></li>
<li><a title="JSR 299" href="http://www.jcp.org/en/jsr/detail?id=299" target="_blank">Contexts and Dependency Injection in Java EE 6 (JSR 299)</a></li>
<li><a title="Guice" href="http://code.google.com/p/google-guice/" target="_blank">Google Guice</a></li>
<li><a title="Spring" href="http://www.springsource.org/" target="_blank">Spring framework</a></li>
<li><a title="Seam in action" href="http://www.manning.com/dallen/" target="_blank">Seam in action</a></li>
<li><a title="seam-maven-refimpl" href="http://code.google.com/p/seam-maven-refimpl/" target="_blank">Seam maven reference implementation</a></li>
<li><a title="Seam 2.x web development" href="http://www.packtpub.com/seam-2-x-web-development" target="_blank">Seam 2.x Web Development</a></li>
</ol>
<p style="text-align:justify;">
<p style="text-align:justify;">
<p style="text-align:justify;">
<p style="text-align:justify;">
<p style="text-align:justify;">
<p style="text-align:justify;">
<p style="text-align:justify;">
<br /> Tagged: <a href='http://hardikmehta.wordpress.com/tag/cdi/'>cdi</a>, <a href='http://hardikmehta.wordpress.com/tag/java/'>Java</a>, <a href='http://hardikmehta.wordpress.com/tag/javaee/'>javaee</a>, <a href='http://hardikmehta.wordpress.com/tag/jboss/'>jboss</a>, <a href='http://hardikmehta.wordpress.com/tag/jsr-299/'>jsr 299</a>, <a href='http://hardikmehta.wordpress.com/tag/jsr299/'>jsr299</a>, <a href='http://hardikmehta.wordpress.com/tag/maven/'>maven</a>, <a href='http://hardikmehta.wordpress.com/tag/seam/'>seam</a>, <a href='http://hardikmehta.wordpress.com/tag/seam-framework/'>seam framework</a>, <a href='http://hardikmehta.wordpress.com/tag/seamframework/'>seamframework</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/hardikmehta.wordpress.com/570/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/hardikmehta.wordpress.com/570/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=hardikmehta.wordpress.com&#038;blog=3954424&#038;post=570&#038;subd=hardikmehta&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://hardikmehta.wordpress.com/2010/03/07/mavenising-seam-projects-part-1/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/74fde935e21ce03bcbbb2210d8e7a1a6?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">hardikmehta</media:title>
		</media:content>
	</item>
		<item>
		<title>Maven dependencies for a basic JSF project</title>
		<link>http://hardikmehta.wordpress.com/2009/09/12/maven-dependencies-for-a-basic-jsf-project/</link>
		<comments>http://hardikmehta.wordpress.com/2009/09/12/maven-dependencies-for-a-basic-jsf-project/#comments</comments>
		<pubDate>Sat, 12 Sep 2009 07:52:02 +0000</pubDate>
		<dc:creator>hardikmehta</dc:creator>
				<category><![CDATA[Java]]></category>
		<category><![CDATA[javaee]]></category>
		<category><![CDATA[maven]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[j2ee]]></category>
		<category><![CDATA[java-server-faces]]></category>
		<category><![CDATA[jsf]]></category>
		<category><![CDATA[pom]]></category>

		<guid isPermaLink="false">http://hardikmehta.wordpress.com/?p=497</guid>
		<description><![CDATA[With some search and experiments, I figured out the following maven dependencies for a basic JSF project. These dependencies also allow autocompletion of JSF tags in the IDEs like eclipse and intellij idea. I post this for my own reference and may be someone searching for it. Tagged: j2ee, java-server-faces, javaee, jsf, maven, pom<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=hardikmehta.wordpress.com&#038;blog=3954424&#038;post=497&#038;subd=hardikmehta&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p style="text-align:justify;">With some search and experiments, I figured out the following maven dependencies for a basic JSF project. These dependencies also allow autocompletion of JSF tags in the IDEs like eclipse and intellij idea. I post this for my own reference and may be someone searching for it.</p>
<p style="text-align:justify;">
<pre class="brush: xml; title: ; notranslate">
&lt;project xmlns=&quot;<a href="http://maven.apache.org/POM/4.0.0&#038;quot" rel="nofollow">http://maven.apache.org/POM/4.0.0&#038;quot</a>; xmlns:xsi=&quot;<a href="http://www.w3.org/2001/XMLSchema-instance&#038;quot" rel="nofollow">http://www.w3.org/2001/XMLSchema-instance&#038;quot</a>;
  xsi:schemaLocation=&quot;<a href="http://maven.apache.org/POM/4.0.0" rel="nofollow">http://maven.apache.org/POM/4.0.0</a> <a href="http://maven.apache.org/maven-v4_0_0.xsd&quot;&#038;gt" rel="nofollow">http://maven.apache.org/maven-v4_0_0.xsd&quot;&#038;gt</a>;
  &lt;modelVersion&gt;4.0.0&lt;/modelVersion&gt;
  &lt;groupId&gt;com.hardik.jsfinaction&lt;/groupId&gt;
  &lt;artifactId&gt;HelloJsf&lt;/artifactId&gt;
&lt;packaging&gt;war&lt;/packaging&gt;
  &lt;version&gt;1.0&lt;/version&gt;
  &lt;name&gt;HelloJsf Maven Webapp&lt;/name&gt;
  &lt;url&gt;<a href="http://maven.apache.org&lt;/url&#038;gt" rel="nofollow">http://maven.apache.org&lt;/url&#038;gt</a>;
  &lt;dependencies&gt;
    &lt;dependency&gt;
      &lt;groupId&gt;junit&lt;/groupId&gt;
      &lt;artifactId&gt;junit&lt;/artifactId&gt;
      &lt;version&gt;4.0&lt;/version&gt;
      &lt;scope&gt;test&lt;/scope&gt;
    &lt;/dependency&gt;
    &lt;dependency&gt;
        &lt;groupId&gt;jstl&lt;/groupId&gt;
        &lt;artifactId&gt;jstl&lt;/artifactId&gt;
        &lt;version&gt;1.1.2&lt;/version&gt;
        &lt;scope&gt;compile&lt;/scope&gt;
    &lt;/dependency&gt;
    &lt;dependency&gt;
        &lt;groupId&gt;javax.faces&lt;/groupId&gt;
        &lt;artifactId&gt;jsf-api&lt;/artifactId&gt;
        &lt;version&gt;1.2_02&lt;/version&gt;
        &lt;scope&gt;compile&lt;/scope&gt;
    &lt;/dependency&gt;
    &lt;dependency&gt;
        &lt;groupId&gt;javax.faces&lt;/groupId&gt;
        &lt;artifactId&gt;jsf-impl&lt;/artifactId&gt;
        &lt;version&gt;1.2-b19&lt;/version&gt;
        &lt;scope&gt;compile&lt;/scope&gt;
    &lt;/dependency&gt;
    &lt;dependency&gt;
        &lt;groupId&gt;taglibs&lt;/groupId&gt;
        &lt;artifactId&gt;standard&lt;/artifactId&gt;
        &lt;version&gt;1.1.2&lt;/version&gt;
        &lt;scope&gt;compile&lt;/scope&gt;
    &lt;/dependency&gt;
    &lt;dependency&gt;
        &lt;groupId&gt;javax.el&lt;/groupId&gt;
        &lt;artifactId&gt;el-api&lt;/artifactId&gt;
        &lt;version&gt;1.0&lt;/version&gt;
        &lt;scope&gt;provided&lt;/scope&gt;
    &lt;/dependency&gt;
  &lt;/dependencies&gt;
  &lt;build&gt;
    &lt;finalName&gt;HelloJsf&lt;/finalName&gt;
&lt;plugins&gt;
&lt;plugin&gt;
            &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
            &lt;artifactId&gt;maven-compiler-plugin&lt;/artifactId&gt;
            &lt;configuration&gt;
                &lt;source&gt;1.6&lt;/source&gt;
                &lt;target&gt;1.6&lt;/target&gt;
            &lt;/configuration&gt;
        &lt;/plugin&gt;
&lt;plugin&gt;
            &lt;groupId&gt;org.codehaus.mojo&lt;/groupId&gt;
            &lt;artifactId&gt;tomcat-maven-plugin&lt;/artifactId&gt;
            &lt;configuration&gt;
                &lt;server&gt;tomcat&lt;/server&gt;
            &lt;/configuration&gt;
        &lt;/plugin&gt;
    &lt;/plugins&gt;
  &lt;/build&gt;
&lt;/project&gt;
</pre>
<br /> Tagged: j2ee, java-server-faces, javaee, jsf, maven, pom <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/hardikmehta.wordpress.com/497/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/hardikmehta.wordpress.com/497/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=hardikmehta.wordpress.com&#038;blog=3954424&#038;post=497&#038;subd=hardikmehta&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://hardikmehta.wordpress.com/2009/09/12/maven-dependencies-for-a-basic-jsf-project/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/74fde935e21ce03bcbbb2210d8e7a1a6?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">hardikmehta</media:title>
		</media:content>
	</item>
		<item>
		<title>Maven quirk ( archetype-j2ee-simple )</title>
		<link>http://hardikmehta.wordpress.com/2009/07/09/maven-quirk/</link>
		<comments>http://hardikmehta.wordpress.com/2009/07/09/maven-quirk/#comments</comments>
		<pubDate>Thu, 09 Jul 2009 19:03:17 +0000</pubDate>
		<dc:creator>hardikmehta</dc:creator>
				<category><![CDATA[javaee]]></category>
		<category><![CDATA[maven]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[ant]]></category>
		<category><![CDATA[apache-maven]]></category>
		<category><![CDATA[build-tools]]></category>
		<category><![CDATA[ejb]]></category>
		<category><![CDATA[ejb3]]></category>
		<category><![CDATA[j2ee]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[pom]]></category>

		<guid isPermaLink="false">http://hardikmehta.wordpress.com/?p=334</guid>
		<description><![CDATA[Update: The issue has been fixed. There were two points. 1. I was using the wrong (deprecated) goal archetype:create instead of archetype:generate. 2. With the plugin archetype-j2ee-simple there is a bug which is already reported here. I got my answer from Antony Stubbs on Stackoverflow. At last I also decided to join the maven[1] bandwagon, [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=hardikmehta.wordpress.com&#038;blog=3954424&#038;post=334&#038;subd=hardikmehta&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<div style="background-color:#F2F2F2;">
<p style="padding-left:60px;"><strong>Update:</strong></p>
<p style="padding-left:60px;">The issue has been fixed. There were two points.</p>
<p style="padding-left:60px;">1. I was using the wrong (deprecated) goal archetype:create instead of archetype:generate.</p>
<p style="padding-left:60px;">2. With the plugin archetype-j2ee-simple there is a bug which is already reported <a title="ARCHETYPE-228" href="http://jira.codehaus.org/browse/ARCHETYPE-228" target="_blank">here</a>.</p>
<p style="padding-left:60px;">I got my answer from Antony Stubbs on <a title="Stackoverflow" href="http://stackoverflow.com/questions/1082012/maven-archetype-j2ee-simple-generates-a-failing-project/1146961#1146961" target="_blank">Stackoverflow</a>.</p>
</div>
<p style="text-align:justify;">At last I also decided to join the maven[1] bandwagon, I will start using maven for managing my projects. Convention over configuration  sounds  indeed a nice idea.  When I first heard about maven  I didn&#8217;t have a good &#8220;feeling&#8221; about it, may be because I was too comfortable with ant and believe to be able to achieve any task with it. But now after reading some documentation and articles about maven, I came to realise it is completely new paradigm than ant. In my opinion the best aspect of maven is that you always have the big picture of your project in mind instead of a small task or operation to be done.  I started liking maven and  also started learning it.  For reference I have started following  Maven: The Definitive Guide[2]. Another great advantage could be that if you know maven and a join a new team which also uses maven for project management, you don&#8217;t have to spend hours or may be days trying to figure out the structure of their project and being able to build it.</p>
<p style="text-align:justify;">Although I started liking maven, sometimes it feels like a strange tool, where you have to configure a lot to achieve your goal. if you want some custom stuff in your project. I also find it annoying that by default the compiler-plugin assumes you want to build for java 1.4 or java 1.3.  Moreover, because there are always so called sensible or obvious defaults assumed, in maven world, not all the obvious defaults are obvious to you and you have to know the documentation well to be able to know what those defaults are. and how you can achieve something different. It feels somewhat like javadocs, until you get used to the apis you need frequently, you have to rely on auto-completion of your IDE or have the javadoc always open. There is no wonder that the second part of the book, I mentioned contains only the maven reference.</p>
<p style="text-align:justify;">But, yes, I am here to talk about the quirk of maven which I encountered during my learning process. I am just a maven beginner, so may be this is normal behavior, but I don&#8217;t think so.</p>
<p style="text-align:justify;">So, while starting to learn maven, I started with a contrived JavaEE application (brave huh), which is taken as example in the very good book EJB 3 in Action[3]. I searched the net and found out about the maven archetype j2ee-simple <a title="Maven archetype j2ee simple" href="http://maven.apache.org/plugins/maven-archetype-plugin/examples/j2ee-simple.html" target="_blank">here.</a> I used following commandline to generate the stubs of a simple JavaEE project, actually I was interested in the standard directory structure.</p>
<p style="text-align:justify;">
<pre class="brush: bash; title: ; notranslate">mvn archetype:create -DgroupId=com.hardik -DartifactId=ActionBazaar -DarchetypeArtifactId=maven-archetype-j2ee-simple</pre>
<p style="text-align:justify;">
<p style="text-align:justify;">The project was created perfectly, but by default it was not compiling. When I executed mvn intall I had following errors.</p>
<p style="text-align:justify;">
<pre class="brush: java; title: ; notranslate">$ mvn install
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[ERROR] FATAL ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Error building POM (may not be this project's POM).

Project ID: unknown

Reason: Could not find the model file '/home/hardik/projects/ActionBazaar/site'. for project unknown

[INFO] ------------------------------------------------------------------------
[INFO] Trace
org.apache.maven.reactor.MavenExecutionException: Could not find the model file '/home/hardik/projects/ActionBazaar/site'. for project unknown
    at org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:432)
    at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:300)
    at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:137)
    at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
    at org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:41)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
    at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
    at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
    at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: org.apache.maven.project.ProjectBuildingException: Could not find the model file '/home/hardik/projects/ActionBazaar/site'. for project unknown
    at org.apache.maven.project.DefaultMavenProjectBuilder.readModel(DefaultMavenProjectBuilder.java:1575)
    at org.apache.maven.project.DefaultMavenProjectBuilder.buildFromSourceFileInternal(DefaultMavenProjectBuilder.java:506)
    at org.apache.maven.project.DefaultMavenProjectBuilder.build(DefaultMavenProjectBuilder.java:200)
    at org.apache.maven.DefaultMaven.getProject(DefaultMaven.java:632)
    at org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java:515)
    at org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java:588)
    at org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:419)
    ... 12 more
Caused by: java.io.FileNotFoundException: /home/hardik/projects/ActionBazaar/site (No such file or directory)
    at java.io.FileInputStream.open(Native Method)
    at java.io.FileInputStream.&lt;init&gt;(FileInputStream.java:106)
    at hidden.org.codehaus.plexus.util.xml.XmlReader.&lt;init&gt;(XmlReader.java:124)
    at hidden.org.codehaus.plexus.util.xml.XmlStreamReader.&lt;init&gt;(XmlStreamReader.java:67)
    at hidden.org.codehaus.plexus.util.ReaderFactory.newXmlReader(ReaderFactory.java:118)
    at org.apache.maven.project.DefaultMavenProjectBuilder.readModel(DefaultMavenProjectBuilder.java:1570)
    ... 18 more
[INFO] ------------------------------------------------------------------------
[INFO] Total time: &lt; 1 second
[INFO] Finished at: Thu Jul 09 18:44:31 CEST 2009
[INFO] Final Memory: 1M/4M

[INFO] ------------------------------------------------------------------------</pre>
<p style="text-align:justify;">
<p style="text-align:justify;">It is talking about some model file for the site module. The site module is generally the &#8220;website&#8221; of your project that maven generates just by looking at your pom.xml file. I removed the site module from the module list of the pom file and it started working. But I still wonder why the default project structure doesn&#8217;t build. I am sure this is incorrect behavior.</p>
<p style="text-align:justify;">If someone has had the same problem, and was able to fix, please let me know.</p>
<p style="text-align:justify;">
<p style="text-align:justify;"><strong>References:</strong></p>
<p style="text-align:justify;">
<p style="text-align:justify;">
<p style="text-align:justify;">
<ol>
<li><a title="apache-maven" rel="imdb" href="http://maven.apache.org/" target="_blank">Apache-maven</a></li>
<li><a title="Maven Book" href="http://www.sonatype.com/books/maven-book/reference/" target="_blank">Maven: The Definitive Guide</a></li>
<li> <a title="EJB 3 In Action" href="http://www.manning.com/panda/" target="_blank">EJB 3 in Action</a></li>
</ol>
<p style="text-align:justify;">
<p style="text-align:justify;">
<div id="_mcePaste" style="overflow:hidden;position:absolute;left:-10000px;top:23px;width:1px;height:1px;">$ mvn install<br />
[INFO] Scanning for projects&#8230;<br />
[INFO] &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br />
[ERROR] FATAL ERROR<br />
[INFO] &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br />
[INFO] Error building POM (may not be this project&#8217;s POM).Project ID: unknown</p>
<p>Reason: Could not find the model file &#8216;/home/hardik/projects/ActionBazaar/site&#8217;. for project unknown</p>
<p>[INFO] &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br />
[INFO] Trace<br />
org.apache.maven.reactor.MavenExecutionException: Could not find the model file &#8216;/home/hardik/projects/ActionBazaar/site&#8217;. for project unknown<br />
at org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:432)<br />
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:300)<br />
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:137)<br />
at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)<br />
at org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:41)<br />
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)<br />
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)<br />
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)<br />
at java.lang.reflect.Method.invoke(Method.java:597)<br />
at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)<br />
at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)<br />
at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)<br />
at org.codehaus.classworlds.Launcher.main(Launcher.java:375)<br />
Caused by: org.apache.maven.project.ProjectBuildingException: Could not find the model file &#8216;/home/hardik/projects/ActionBazaar/site&#8217;. for project unknown<br />
at org.apache.maven.project.DefaultMavenProjectBuilder.readModel(DefaultMavenProjectBuilder.java:1575)<br />
at org.apache.maven.project.DefaultMavenProjectBuilder.buildFromSourceFileInternal(DefaultMavenProjectBuilder.java:506)<br />
at org.apache.maven.project.DefaultMavenProjectBuilder.build(DefaultMavenProjectBuilder.java:200)<br />
at org.apache.maven.DefaultMaven.getProject(DefaultMaven.java:632)<br />
at org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java:515)<br />
at org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java:588)<br />
at org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:419)<br />
&#8230; 12 more<br />
Caused by: java.io.FileNotFoundException: /home/hardik/projects/ActionBazaar/site (No such file or directory)<br />
at java.io.FileInputStream.open(Native Method)<br />
at java.io.FileInputStream.&amp;lt;init&gt;(FileInputStream.java:106)<br />
at hidden.org.codehaus.plexus.util.xml.XmlReader.&amp;lt;init&gt;(XmlReader.java:124)<br />
at hidden.org.codehaus.plexus.util.xml.XmlStreamReader.&amp;lt;init&gt;(XmlStreamReader.java:67)<br />
at hidden.org.codehaus.plexus.util.ReaderFactory.newXmlReader(ReaderFactory.java:118)<br />
at org.apache.maven.project.DefaultMavenProjectBuilder.readModel(DefaultMavenProjectBuilder.java:1570)<br />
&#8230; 18 more<br />
[INFO] &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br />
[INFO] Total time: &lt; 1 second<br />
[INFO] Finished at: Thu Jul 09 18:44:31 CEST 2009<br />
[INFO] Final Memory: 1M/4M<br />
[INFO] &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</p></div>
<br /> Tagged: ant, apache-maven, build-tools, ejb, ejb3, j2ee, Java, javaee, maven, pom <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/hardikmehta.wordpress.com/334/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/hardikmehta.wordpress.com/334/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=hardikmehta.wordpress.com&#038;blog=3954424&#038;post=334&#038;subd=hardikmehta&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://hardikmehta.wordpress.com/2009/07/09/maven-quirk/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/74fde935e21ce03bcbbb2210d8e7a1a6?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">hardikmehta</media:title>
		</media:content>
	</item>
		<item>
		<title>Glassfish plugin on Eclipse 3.5 (Galileo)</title>
		<link>http://hardikmehta.wordpress.com/2009/06/29/glassfish-plugin-on-eclipse-3-5-galileo/</link>
		<comments>http://hardikmehta.wordpress.com/2009/06/29/glassfish-plugin-on-eclipse-3-5-galileo/#comments</comments>
		<pubDate>Mon, 29 Jun 2009 09:37:52 +0000</pubDate>
		<dc:creator>hardikmehta</dc:creator>
				<category><![CDATA[eclipse]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[javaee]]></category>
		<category><![CDATA[eclipse-plugin]]></category>
		<category><![CDATA[galileo]]></category>
		<category><![CDATA[glassfish]]></category>

		<guid isPermaLink="false">http://hardikmehta.wordpress.com/?p=312</guid>
		<description><![CDATA[Eclipse 3.5 also called Galileo is out. I tried to install the glassfish application server plugin with the standard method described here, but it failed with the following error message After searching a lot I found a way to install it using the update site http://ajax.dev.java.net/eclipse, like any other plugin. This worked well. May be [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=hardikmehta.wordpress.com&#038;blog=3954424&#038;post=312&#038;subd=hardikmehta&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p style="text-align:justify;">Eclipse 3.5 also called <a title="Eclipse Galileo" href="http://www.eclipse.org/galileo/" target="_blank">Galileo</a> is out. I tried to install the glassfish application server plugin with the standard method described <a title="Getting Glassfish plugin" href="https://glassfishplugins.dev.java.net/eclipse34/index.html#getting" target="_blank">here</a>, but it failed with the following error message</p>
<pre class="brush: java; title: ; notranslate">

session context was:(profile=epp.package.jee, phase=org.eclipse.equinox.internal.provisional.p2.engine.phases.Collect, operand=, action=).
No repository found containing: osgi.bundle,com.sun.enterprise.jst.server.sunappsrv,1.0.28
No repository found containing: org.eclipse.update.feature,com.sun.enterprise.jst.server.sunappsrv.feature,1.0.28

</pre>
<p style="text-align:justify;">After searching a lot I found a way to install it using the update site <a rel="nofollow" href="http://ajax.dev.java.net/eclipse">http://ajax.dev.java.net/eclipse</a>, like any other plugin. This worked well.</p>
<p style="text-align:justify;">May be the problem is temporary and after sometime the standard way will also start working.</p>
<br /> Tagged: eclipse, eclipse-plugin, galileo, glassfish, javaee <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/hardikmehta.wordpress.com/312/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/hardikmehta.wordpress.com/312/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=hardikmehta.wordpress.com&#038;blog=3954424&#038;post=312&#038;subd=hardikmehta&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://hardikmehta.wordpress.com/2009/06/29/glassfish-plugin-on-eclipse-3-5-galileo/feed/</wfw:commentRss>
		<slash:comments>20</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/74fde935e21ce03bcbbb2210d8e7a1a6?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">hardikmehta</media:title>
		</media:content>
	</item>
		<item>
		<title>Eclipse: Timeout configuration of server (jboss)</title>
		<link>http://hardikmehta.wordpress.com/2009/04/04/eclipse-timeout-configuration-of-server/</link>
		<comments>http://hardikmehta.wordpress.com/2009/04/04/eclipse-timeout-configuration-of-server/#comments</comments>
		<pubDate>Sat, 04 Apr 2009 13:50:36 +0000</pubDate>
		<dc:creator>hardikmehta</dc:creator>
				<category><![CDATA[eclipse]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[javaee]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[jboss]]></category>

		<guid isPermaLink="false">http://hardikmehta.wordpress.com/?p=90</guid>
		<description><![CDATA[I configured JBOSS 5 Application Server with  Eclipse 3.4. The configuration was successful. When I tried to start it though, the start up failed with the error  message that it had timed out, the timeout was set to 50 seconds. It is amazing that JBOSS takes more than a minute to start up. After some [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=hardikmehta.wordpress.com&#038;blog=3954424&#038;post=90&#038;subd=hardikmehta&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p style="text-align:justify;">I configured JBOSS 5 Application Server with  Eclipse 3.4. The configuration was successful. When I tried to start it though, the start up failed with the error  message that it had timed out, the timeout was set to 50 seconds. It is amazing that JBOSS takes more than a minute to start up.</p>
<p style="text-align:justify;">After some searching, I came to know that in Eclipse 3.4 the server timeouts can be configured per individual servers. Opening the server with double clicking in the server view, will list the timeout option and can be set in seconds. Here the screen-shot.</p>
<p><img class="aligncenter size-full wp-image-92" title="eclipse_server_timeout1" src="http://hardikmehta.files.wordpress.com/2009/04/eclipse_server_timeout1.png?w=632" alt="eclipse_server_timeout1"   /></p>
<br /> Tagged: eclipse, Java, javaee, jboss, Programming <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/hardikmehta.wordpress.com/90/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/hardikmehta.wordpress.com/90/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=hardikmehta.wordpress.com&#038;blog=3954424&#038;post=90&#038;subd=hardikmehta&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://hardikmehta.wordpress.com/2009/04/04/eclipse-timeout-configuration-of-server/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/74fde935e21ce03bcbbb2210d8e7a1a6?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">hardikmehta</media:title>
		</media:content>

		<media:content url="http://hardikmehta.files.wordpress.com/2009/04/eclipse_server_timeout1.png" medium="image">
			<media:title type="html">eclipse_server_timeout1</media:title>
		</media:content>
	</item>
	</channel>
</rss>
