<?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>Fri, 30 Jul 2010 20:20:39 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<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>
	<item>
		<title>By: VENKAT</title>
		<link>http://www.andygibson.net/blog/tutorial/getting-started-with-jsf-2-0-and-cdi-part-3/comment-page-1/#comment-14353</link>
		<dc:creator>VENKAT</dc:creator>
		<pubDate>Mon, 01 Feb 2010 11:08:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.andygibson.net/blog/?p=728#comment-14353</guid>
		<description>Hi
Can you also provide an example Using jboss seam framework which uses CDI, JPA ,Facelets, Validator and EJB 3.1</description>
		<content:encoded><![CDATA[<p>Hi<br />
Can you also provide an example Using jboss seam framework which uses CDI, JPA ,Facelets, Validator and EJB 3.1</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Daniel</title>
		<link>http://www.andygibson.net/blog/tutorial/getting-started-with-jsf-2-0-and-cdi-part-3/comment-page-1/#comment-14335</link>
		<dc:creator>Daniel</dc:creator>
		<pubDate>Fri, 15 Jan 2010 13:39:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.andygibson.net/blog/?p=728#comment-14335</guid>
		<description>my Junit test that tests fireing CDI events fails with pure JavaSE. But maybe I did something wrong. Thanks for the Arquillian hint, I will check this out.

Daniel</description>
		<content:encoded><![CDATA[<p>my Junit test that tests fireing CDI events fails with pure JavaSE. But maybe I did something wrong. Thanks for the Arquillian hint, I will check this out.</p>
<p>Daniel</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-14333</link>
		<dc:creator>Andy Gibson</dc:creator>
		<pubDate>Fri, 15 Jan 2010 03:38:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.andygibson.net/blog/?p=728#comment-14333</guid>
		<description>Thank Daniel, 

I&#039;m currently working on a larger tutorial application for JSF/CDI  and I hope to make testing a part of that. 
Off the top of my head, CDI code can run in Java SE so you should be able to bootstrap CDI and execute methods in CDI beans.

If you use EJBs it gets a little more tricky because then you also need to involve an EJB container such as the JBoss micro-container. 

The JBoss Arquillian project may be of interest to you as it lets you test your code inside the container. You are right though, some of this stuff is a little unclear. I&#039;ll make a note to make sure I cover it in the future, 

Thanks again, 

Cheers,

Andy Gibson</description>
		<content:encoded><![CDATA[<p>Thank Daniel, </p>
<p>I&#8217;m currently working on a larger tutorial application for JSF/CDI  and I hope to make testing a part of that.<br />
Off the top of my head, CDI code can run in Java SE so you should be able to bootstrap CDI and execute methods in CDI beans.</p>
<p>If you use EJBs it gets a little more tricky because then you also need to involve an EJB container such as the JBoss micro-container. </p>
<p>The JBoss Arquillian project may be of interest to you as it lets you test your code inside the container. You are right though, some of this stuff is a little unclear. I&#8217;ll make a note to make sure I cover it in the future, </p>
<p>Thanks again, </p>
<p>Cheers,</p>
<p>Andy Gibson</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Daniel</title>
		<link>http://www.andygibson.net/blog/tutorial/getting-started-with-jsf-2-0-and-cdi-part-3/comment-page-1/#comment-14332</link>
		<dc:creator>Daniel</dc:creator>
		<pubDate>Thu, 14 Jan 2010 20:30:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.andygibson.net/blog/?p=728#comment-14332</guid>
		<description>Hi Andy,

thank you very much for your awesome CDI examples. You are really doing a great job!
I am sure CDI will play a very important role in JavaEE 6. However, has anyone thought of how to test CDI code with simple Junit Tests? Do you have any idea?</description>
		<content:encoded><![CDATA[<p>Hi Andy,</p>
<p>thank you very much for your awesome CDI examples. You are really doing a great job!<br />
I am sure CDI will play a very important role in JavaEE 6. However, has anyone thought of how to test CDI code with simple Junit Tests? Do you have any idea?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
