<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Getting Started with JSF 2.0 and CDI part 3 &#8211; Events</title>
	<atom:link href="http://www.andygibson.net/blog/2010/01/11/getting-started-with-jsf-2-0-and-cdi-part-3/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.andygibson.net/blog/tutorial/getting-started-with-jsf-2-0-and-cdi-part-3/</link>
	<description>Open Source Projects &#38; Technical Writings</description>
	<lastBuildDate>Wed, 18 Jan 2012 00:05:55 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Pageraz</title>
		<link>http://www.andygibson.net/blog/tutorial/getting-started-with-jsf-2-0-and-cdi-part-3/comment-page-1/#comment-16030</link>
		<dc:creator>Pageraz</dc:creator>
		<pubDate>Wed, 23 Feb 2011 11:52:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.andygibson.net/blog/?p=728#comment-16030</guid>
		<description>Thank you very much Andy for this amazing article about CDI
i just read about it in netbeans site
i think it&#039;s the first perfect tutorial which describe the CDI features 
i just linked it in my Java EE Professional Articles group on facebook

thankx</description>
		<content:encoded><![CDATA[<p>Thank you very much Andy for this amazing article about CDI<br />
i just read about it in netbeans site<br />
i think it&#8217;s the first perfect tutorial which describe the CDI features<br />
i just linked it in my Java EE Professional Articles group on facebook</p>
<p>thankx</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Christina S</title>
		<link>http://www.andygibson.net/blog/tutorial/getting-started-with-jsf-2-0-and-cdi-part-3/comment-page-1/#comment-15998</link>
		<dc:creator>Christina S</dc:creator>
		<pubDate>Thu, 20 Jan 2011 01:08:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.andygibson.net/blog/?p=728#comment-15998</guid>
		<description>Thank you so much your awesome tutorial. You saved me a lot of frustration!! Seriously, thank you!!</description>
		<content:encoded><![CDATA[<p>Thank you so much your awesome tutorial. You saved me a lot of frustration!! Seriously, thank you!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: DonM</title>
		<link>http://www.andygibson.net/blog/tutorial/getting-started-with-jsf-2-0-and-cdi-part-3/comment-page-1/#comment-14780</link>
		<dc:creator>DonM</dc:creator>
		<pubDate>Wed, 13 Oct 2010 18:56:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.andygibson.net/blog/?p=728#comment-14780</guid>
		<description>Nice 3 parts ... Learning by example and trying out the code is only way to get a firm grip on some of this stuff. Will there be a part 4, part 5, etc?</description>
		<content:encoded><![CDATA[<p>Nice 3 parts &#8230; Learning by example and trying out the code is only way to get a firm grip on some of this stuff. Will there be a part 4, part 5, etc?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andy Gibson</title>
		<link>http://www.andygibson.net/blog/tutorial/getting-started-with-jsf-2-0-and-cdi-part-3/comment-page-1/#comment-14690</link>
		<dc:creator>Andy Gibson</dc:creator>
		<pubDate>Sun, 22 Aug 2010 03:27:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.andygibson.net/blog/?p=728#comment-14690</guid>
		<description>Thanks Bob, glad you liked it, 

If you want to look at more Weld/JSF samples take a look at the Knappsack maven archetypes (they are available in the central maven repo)

There are two demo apps there, one that is servlet based with Jetty and another for Java EE 6 application servers.

See http://www.andygibson.net/blog/news/knappsack-archetypes-are-now-in-the-maven-central-repository/ for more details

Cheers,

Andy Gibson</description>
		<content:encoded><![CDATA[<p>Thanks Bob, glad you liked it, </p>
<p>If you want to look at more Weld/JSF samples take a look at the Knappsack maven archetypes (they are available in the central maven repo)</p>
<p>There are two demo apps there, one that is servlet based with Jetty and another for Java EE 6 application servers.</p>
<p>See <a href="http://www.andygibson.net/blog/news/knappsack-archetypes-are-now-in-the-maven-central-repository/" rel="nofollow">http://www.andygibson.net/blog/news/knappsack-archetypes-are-now-in-the-maven-central-repository/</a> for more details</p>
<p>Cheers,</p>
<p>Andy Gibson</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: BobM</title>
		<link>http://www.andygibson.net/blog/tutorial/getting-started-with-jsf-2-0-and-cdi-part-3/comment-page-1/#comment-14689</link>
		<dc:creator>BobM</dc:creator>
		<pubDate>Sat, 21 Aug 2010 22:37:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.andygibson.net/blog/?p=728#comment-14689</guid>
		<description>After finding and finishing your 3-part tutorial, let me add my thanks for a great piece of work. Now both annotations and bean management have snapped into focus.
Using your work, I was inspired to check out the Weld - JSR-299 Reference Implementation document and use it&#039;s Chapter 3 example to cobble together a NB project which mostly worked (once I remembered the beans.xml keystone).
One JSF/Weld element didn&#039;t work: proper EL resolution from for &quot;currentUser&quot; that was set up with a @Produces method in the &quot;login&quot; session bean. That identifier is not on the JSF EL-resolver&#039;s radar when rendering as Weld suggests it will:
&quot;Or we can reference the current user in a JSF view:&quot;

&lt;code&gt;

   signed in as #{currentUser.username}

&lt;/code&gt;

Were the currentUser reference was produced by:

&lt;code&gt;
   @Produces @LoggedIn User getCurrentUser() {
      return user;
   }
&lt;/code&gt;

I wish you luck with next opus with more elaborate JSF/Weld cooperation. Thanks again.</description>
		<content:encoded><![CDATA[<p>After finding and finishing your 3-part tutorial, let me add my thanks for a great piece of work. Now both annotations and bean management have snapped into focus.<br />
Using your work, I was inspired to check out the Weld &#8211; JSR-299 Reference Implementation document and use it&#8217;s Chapter 3 example to cobble together a NB project which mostly worked (once I remembered the beans.xml keystone).<br />
One JSF/Weld element didn&#8217;t work: proper EL resolution from for &#8220;currentUser&#8221; that was set up with a @Produces method in the &#8220;login&#8221; session bean. That identifier is not on the JSF EL-resolver&#8217;s radar when rendering as Weld suggests it will:<br />
&#8220;Or we can reference the current user in a JSF view:&#8221;</p>
<p><code></p>
<p>   signed in as #{currentUser.username}</p>
<p></code></p>
<p>Were the currentUser reference was produced by:</p>
<p><code><br />
   @Produces @LoggedIn User getCurrentUser() {<br />
      return user;<br />
   }<br />
</code></p>
<p>I wish you luck with next opus with more elaborate JSF/Weld cooperation. Thanks again.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andy Gibson</title>
		<link>http://www.andygibson.net/blog/tutorial/getting-started-with-jsf-2-0-and-cdi-part-3/comment-page-1/#comment-14474</link>
		<dc:creator>Andy Gibson</dc:creator>
		<pubDate>Tue, 15 Jun 2010 03:54:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.andygibson.net/blog/?p=728#comment-14474</guid>
		<description>Well that would work, but that would make the bean Dependent scoped which is probably the wrong thing to do, especially if they are used in other placed in the app where they might need request or conversation scopes. 

Here&#039;s the Jira issue for it : 

https://jira.jboss.org/browse/WELD-15

It seems it is fixed, however, if you are using Glassfish, last I looked they are still using the old versions of Weld so its a matter of waiting for them to upgrade it (there was a change in the API so it means that it is a bit more involved that just building and replacing the osgi bundle).</description>
		<content:encoded><![CDATA[<p>Well that would work, but that would make the bean Dependent scoped which is probably the wrong thing to do, especially if they are used in other placed in the app where they might need request or conversation scopes. </p>
<p>Here&#8217;s the Jira issue for it : </p>
<p><a href="https://jira.jboss.org/browse/WELD-15" rel="nofollow">https://jira.jboss.org/browse/WELD-15</a></p>
<p>It seems it is fixed, however, if you are using Glassfish, last I looked they are still using the old versions of Weld so its a matter of waiting for them to upgrade it (there was a change in the API so it means that it is a bit more involved that just building and replacing the osgi bundle).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: GabiC</title>
		<link>http://www.andygibson.net/blog/tutorial/getting-started-with-jsf-2-0-and-cdi-part-3/comment-page-1/#comment-14466</link>
		<dc:creator>GabiC</dc:creator>
		<pubDate>Thu, 03 Jun 2010 15:20:07 +0000</pubDate>
		<guid isPermaLink="false">http://www.andygibson.net/blog/?p=728#comment-14466</guid>
		<description>Hey Andy,

Thanks for the great example.
On the ScheduledProcessor part I was getting some errors when the scheduled job was executing. My idea was to comment out the @RequestScoped annotations, as it is not web based anymore and it seems it works fine.
Was this the right/best thing to do?

Thanks,
Gabriel</description>
		<content:encoded><![CDATA[<p>Hey Andy,</p>
<p>Thanks for the great example.<br />
On the ScheduledProcessor part I was getting some errors when the scheduled job was executing. My idea was to comment out the @RequestScoped annotations, as it is not web based anymore and it seems it works fine.<br />
Was this the right/best thing to do?</p>
<p>Thanks,<br />
Gabriel</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andy Gibson</title>
		<link>http://www.andygibson.net/blog/tutorial/getting-started-with-jsf-2-0-and-cdi-part-3/comment-page-1/#comment-14432</link>
		<dc:creator>Andy Gibson</dc:creator>
		<pubDate>Sat, 20 Mar 2010 14:38:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.andygibson.net/blog/?p=728#comment-14432</guid>
		<description>Hey Cornelius, the save and invalidated annotations are your own qualifiers, something like : 

@Retention(RetentionPolicy.RUNTIME)
@Target({FIELD,METHOD,PARAMETER,TYPE})
@Qualifier
public @interface Invalidated {}

Looking at the code, I don&#039;t believe the @save annotation is needed, it probably got pulled into the source as I was looking at another kind of example that never made it into the final document (possibly, some mechanism to inject the file error handler by marking the injection point with the save annotation).

Cheers,

Andy</description>
		<content:encoded><![CDATA[<p>Hey Cornelius, the save and invalidated annotations are your own qualifiers, something like : </p>
<p>@Retention(RetentionPolicy.RUNTIME)<br />
@Target({FIELD,METHOD,PARAMETER,TYPE})<br />
@Qualifier<br />
public @interface Invalidated {}</p>
<p>Looking at the code, I don&#8217;t believe the @save annotation is needed, it probably got pulled into the source as I was looking at another kind of example that never made it into the final document (possibly, some mechanism to inject the file error handler by marking the injection point with the save annotation).</p>
<p>Cheers,</p>
<p>Andy</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: cornelius</title>
		<link>http://www.andygibson.net/blog/tutorial/getting-started-with-jsf-2-0-and-cdi-part-3/comment-page-1/#comment-14431</link>
		<dc:creator>cornelius</dc:creator>
		<pubDate>Sat, 20 Mar 2010 13:06:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.andygibson.net/blog/?p=728#comment-14431</guid>
		<description>@Save ant @Invalidated are unknown...
What library I need?</description>
		<content:encoded><![CDATA[<p>@Save ant @Invalidated are unknown&#8230;<br />
What library I need?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andy Gibson</title>
		<link>http://www.andygibson.net/blog/tutorial/getting-started-with-jsf-2-0-and-cdi-part-3/comment-page-1/#comment-14362</link>
		<dc:creator>Andy Gibson</dc:creator>
		<pubDate>Mon, 08 Feb 2010 06:32:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.andygibson.net/blog/?p=728#comment-14362</guid>
		<description>That would be a tall order. Getting Seam running with JPA, Facelets, Validator and EJB 3.1 should be doable just by deploying a Seam app on the latest version of glassfish (AFAIK JBoss 6 m1 doesn&#039;t support EJB 3.1) . Getting CDI incorporated would be difficult as well as ill defined (are you trying to use CDI conversations and injection?). Seam 3 will be built on CDI and all that good stuff and come in a more standards friendly manner. 

Cheers,

Andy</description>
		<content:encoded><![CDATA[<p>That would be a tall order. Getting Seam running with JPA, Facelets, Validator and EJB 3.1 should be doable just by deploying a Seam app on the latest version of glassfish (AFAIK JBoss 6 m1 doesn&#8217;t support EJB 3.1) . Getting CDI incorporated would be difficult as well as ill defined (are you trying to use CDI conversations and injection?). Seam 3 will be built on CDI and all that good stuff and come in a more standards friendly manner. </p>
<p>Cheers,</p>
<p>Andy</p>
]]></content:encoded>
	</item>
</channel>
</rss>

