<?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 for Matt's Blog</title>
	<atom:link href="http://blog.rueedlinger.ch/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.rueedlinger.ch</link>
	<description>Software Engineering and Java</description>
	<lastBuildDate>Thu, 03 Dec 2009 23:26:43 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>Comment on EJB 3.1 and JSF 2.0 with GlassFish V3 Prelude by malen christian</title>
		<link>http://blog.rueedlinger.ch/2008/11/ejb-31-and-jsf-20-with-glassfish-v3-prelude/comment-page-1/#comment-282</link>
		<dc:creator>malen christian</dc:creator>
		<pubDate>Thu, 03 Dec 2009 23:26:43 +0000</pubDate>
		<guid isPermaLink="false">http://blog.rueedlinger.ch/?p=17#comment-282</guid>
		<description>Hi, 
Thanks for your tuto. 
With Java 1.6 and JSF 2.0 I had to modify the import statement of BookManagedBean.java : 
&quot;import javax.faces.bean.ManagedBean;
import javax.faces.bean.SessionScoped;&quot; (from model to bean ) with (jsf-api version 2.0.2-b10 in pom.xml)

to make it compiling.
There is a warning that I do not understand : 
The expression ${pom.artifactId} is deprecated. Please use ${project.artifactId} instead. 
Any idea ?
thanks very much since your tuto had been very helpfull !

regards
cm</description>
		<content:encoded><![CDATA[<p>Hi,<br />
Thanks for your tuto.<br />
With Java 1.6 and JSF 2.0 I had to modify the import statement of BookManagedBean.java :<br />
&#8220;import javax.faces.bean.ManagedBean;<br />
import javax.faces.bean.SessionScoped;&#8221; (from model to bean ) with (jsf-api version 2.0.2-b10 in pom.xml)</p>
<p>to make it compiling.<br />
There is a warning that I do not understand :<br />
The expression ${pom.artifactId} is deprecated. Please use ${project.artifactId} instead.<br />
Any idea ?<br />
thanks very much since your tuto had been very helpfull !</p>
<p>regards<br />
cm</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on EJB 3.1 and JSF 2.0 with GlassFish V3 Prelude by Matthias Rüedlinger</title>
		<link>http://blog.rueedlinger.ch/2008/11/ejb-31-and-jsf-20-with-glassfish-v3-prelude/comment-page-1/#comment-279</link>
		<dc:creator>Matthias Rüedlinger</dc:creator>
		<pubDate>Fri, 27 Nov 2009 18:13:37 +0000</pubDate>
		<guid isPermaLink="false">http://blog.rueedlinger.ch/?p=17#comment-279</guid>
		<description>Hello Steve

Thanks for your comment.

Concurrency is a common problem for web applications. My example is a bit outdated and was attempt to show how ejb 3.1 and jsf interact together in a pre-release of galssfish.

So the keyword to your problem could be locking / optimistic locking.

Perhaps the following article can help you.

Locking and Concurrency in Java Persistence 2.0
http://blogs.sun.com/enterprisetechtips/entry/locking_and_concurrency_in_java

or when your work with Hibernate
http://docs.jboss.org/hibernate/core/3.3/reference/en/html/transactions.html

Regards

Matt</description>
		<content:encoded><![CDATA[<p>Hello Steve</p>
<p>Thanks for your comment.</p>
<p>Concurrency is a common problem for web applications. My example is a bit outdated and was attempt to show how ejb 3.1 and jsf interact together in a pre-release of galssfish.</p>
<p>So the keyword to your problem could be locking / optimistic locking.</p>
<p>Perhaps the following article can help you.</p>
<p>Locking and Concurrency in Java Persistence 2.0<br />
<a href="http://blogs.sun.com/enterprisetechtips/entry/locking_and_concurrency_in_java" rel="nofollow">http://blogs.sun.com/enterprisetechtips/entry/locking_and_concurrency_in_java</a></p>
<p>or when your work with Hibernate<br />
<a href="http://docs.jboss.org/hibernate/core/3.3/reference/en/html/transactions.html" rel="nofollow">http://docs.jboss.org/hibernate/core/3.3/reference/en/html/transactions.html</a></p>
<p>Regards</p>
<p>Matt</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on EJB 3.1 and JSF 2.0 with GlassFish V3 Prelude by Steve</title>
		<link>http://blog.rueedlinger.ch/2008/11/ejb-31-and-jsf-20-with-glassfish-v3-prelude/comment-page-1/#comment-278</link>
		<dc:creator>Steve</dc:creator>
		<pubDate>Fri, 27 Nov 2009 12:16:13 +0000</pubDate>
		<guid isPermaLink="false">http://blog.rueedlinger.ch/?p=17#comment-278</guid>
		<description>Thanks for the great tutorial. Info on JSF2 is thin on the ground and I found your blog very enlightening.

With regard to storing the book being edited in a session scoped bean:- it seems the faces session is equivalent to the HttpSession and therefore the user can only edit one book at a time?

Even worse, if the use opens two records for edit at the same time they can overwrite the wrong record!

I&#039;ve noticed that if 
- I open the list in two browsers tabs
- select book 1 in the first
- select book 2 in the second
- edit and save book 1 in the first 
- then book 2 is actually updated with the data entered for book 1. 

(complicated but, unfortunately, within the realms of possibility for the average user) 

I&#039;m new to JFS so I&#039;m wondering if I&#039;m missing something? Is there a way around storing the entity bean in the session? 

I&#039;ve been racking my brain for a way to start a transaction (txn) at the edit action, then pick up the same txn object at the save, delete actions? #{BookBean.txnBook.title} kind of thing?

Can you offer any guidance to a Noob?

Thanks,
Steve.</description>
		<content:encoded><![CDATA[<p>Thanks for the great tutorial. Info on JSF2 is thin on the ground and I found your blog very enlightening.</p>
<p>With regard to storing the book being edited in a session scoped bean:- it seems the faces session is equivalent to the HttpSession and therefore the user can only edit one book at a time?</p>
<p>Even worse, if the use opens two records for edit at the same time they can overwrite the wrong record!</p>
<p>I&#8217;ve noticed that if<br />
- I open the list in two browsers tabs<br />
- select book 1 in the first<br />
- select book 2 in the second<br />
- edit and save book 1 in the first<br />
- then book 2 is actually updated with the data entered for book 1. </p>
<p>(complicated but, unfortunately, within the realms of possibility for the average user) </p>
<p>I&#8217;m new to JFS so I&#8217;m wondering if I&#8217;m missing something? Is there a way around storing the entity bean in the session? </p>
<p>I&#8217;ve been racking my brain for a way to start a transaction (txn) at the edit action, then pick up the same txn object at the save, delete actions? #{BookBean.txnBook.title} kind of thing?</p>
<p>Can you offer any guidance to a Noob?</p>
<p>Thanks,<br />
Steve.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on .Net (C#) and SOAP with Attachments by Michelangelo P</title>
		<link>http://blog.rueedlinger.ch/2009/01/net-c-and-soap-with-attachments/comment-page-1/#comment-262</link>
		<dc:creator>Michelangelo P</dc:creator>
		<pubDate>Mon, 16 Mar 2009 09:36:41 +0000</pubDate>
		<guid isPermaLink="false">http://blog.rueedlinger.ch/?p=40#comment-262</guid>
		<description>SharpMimeTools is changing the encoding of the binary attachments I&#039;m receiving, rendering them useless. 
Right now I&#039;m trying to manually split the byte stream without converting to string and see how that goes.
Thanks a lot for your article, it still helped a lot!</description>
		<content:encoded><![CDATA[<p>SharpMimeTools is changing the encoding of the binary attachments I&#8217;m receiving, rendering them useless.<br />
Right now I&#8217;m trying to manually split the byte stream without converting to string and see how that goes.<br />
Thanks a lot for your article, it still helped a lot!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on More readable and typeable&#8230; by Matthias Rüedlinger</title>
		<link>http://blog.rueedlinger.ch/2009/02/more-readable-and-typeable/comment-page-1/#comment-248</link>
		<dc:creator>Matthias Rüedlinger</dc:creator>
		<pubDate>Fri, 27 Feb 2009 07:45:34 +0000</pubDate>
		<guid isPermaLink="false">http://blog.rueedlinger.ch/?p=42#comment-248</guid>
		<description>I forgot to mention that there is also the &lt;b&gt;&lt;a href=&quot;http://code.google.com/p/logicalpractice-collections/&quot; rel=&quot;nofollow&quot;&gt;logicalpractice-collections&lt;/a&gt;&lt;/b&gt; library, which you can use on collections in a more sophisticated way than &lt;b&gt;hamcrest-collections&lt;/b&gt;.

http://code.google.com/p/logicalpractice-collections/</description>
		<content:encoded><![CDATA[<p>I forgot to mention that there is also the <b><a href="http://code.google.com/p/logicalpractice-collections/" rel="nofollow">logicalpractice-collections</a></b> library, which you can use on collections in a more sophisticated way than <b>hamcrest-collections</b>.</p>
<p><a href="http://code.google.com/p/logicalpractice-collections/" rel="nofollow">http://code.google.com/p/logicalpractice-collections/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on JYaml &#8211; YAML for Java by surajz2004</title>
		<link>http://blog.rueedlinger.ch/2009/02/jyaml-yaml-for-java/comment-page-1/#comment-235</link>
		<dc:creator>surajz2004</dc:creator>
		<pubDate>Fri, 20 Feb 2009 17:25:06 +0000</pubDate>
		<guid isPermaLink="false">http://blog.rueedlinger.ch/?p=41#comment-235</guid>
		<description>You need to use this library
https://jvyaml.dev.java.net/

if you are loading yml files written by ruby or perl. JYaml is not able to load complex yaml file.</description>
		<content:encoded><![CDATA[<p>You need to use this library<br />
<a href="https://jvyaml.dev.java.net/" rel="nofollow">https://jvyaml.dev.java.net/</a></p>
<p>if you are loading yml files written by ruby or perl. JYaml is not able to load complex yaml file.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on JYaml &#8211; YAML for Java by Immo Huneke</title>
		<link>http://blog.rueedlinger.ch/2009/02/jyaml-yaml-for-java/comment-page-1/#comment-228</link>
		<dc:creator>Immo Huneke</dc:creator>
		<pubDate>Tue, 17 Feb 2009 14:47:05 +0000</pubDate>
		<guid isPermaLink="false">http://blog.rueedlinger.ch/?p=41#comment-228</guid>
		<description>YAML looks quite nice, but how seriously can you take something co-written by someone whose surname ostensibly is &quot;döt Net&quot;? (c:</description>
		<content:encoded><![CDATA[<p>YAML looks quite nice, but how seriously can you take something co-written by someone whose surname ostensibly is &#8220;döt Net&#8221;? (c:</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on EJB 3.1 and JSF 2.0 with GlassFish V3 Prelude by Matthias Rüedlinger</title>
		<link>http://blog.rueedlinger.ch/2008/11/ejb-31-and-jsf-20-with-glassfish-v3-prelude/comment-page-1/#comment-224</link>
		<dc:creator>Matthias Rüedlinger</dc:creator>
		<pubDate>Wed, 04 Feb 2009 17:19:02 +0000</pubDate>
		<guid isPermaLink="false">http://blog.rueedlinger.ch/?p=17#comment-224</guid>
		<description>Thanks Cay for the hint.

Cay said:
&gt; In your example, you (or maybe Maven) put persistence.xml in 
&gt; two places,
&gt; and it took me a while to find out where it needs to go. I put an
&gt; example with an Ant script at
&gt; http://weblogs.java.net/blog/cayhorstmann/archive/2009/02/towards_java_ee.html</description>
		<content:encoded><![CDATA[<p>Thanks Cay for the hint.</p>
<p>Cay said:<br />
> In your example, you (or maybe Maven) put persistence.xml in<br />
> two places,<br />
> and it took me a while to find out where it needs to go. I put an<br />
> example with an Ant script at<br />
> <a href="http://weblogs.java.net/blog/cayhorstmann/archive/2009/02/towards_java_ee.html" rel="nofollow">http://weblogs.java.net/blog/cayhorstmann/archive/2009/02/towards_java_ee.html</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on EJB 3.1 and JSF 2.0 with GlassFish V3 Prelude by Cay Horstmann</title>
		<link>http://blog.rueedlinger.ch/2008/11/ejb-31-and-jsf-20-with-glassfish-v3-prelude/comment-page-1/#comment-222</link>
		<dc:creator>Cay Horstmann</dc:creator>
		<pubDate>Sun, 01 Feb 2009 15:42:53 +0000</pubDate>
		<guid isPermaLink="false">http://blog.rueedlinger.ch/?p=17#comment-222</guid>
		<description>I tried this today and got the following error message that is only too familiar from the bad old days:

message: Exception while deploying the app : java.lang.RuntimeExceptio
 n: Invalid ejb jar [CRUD-GFv3]: it contains zero ejb. 
Note: 
1. A va
 lid ejb jar requires at least one session, entity (1.x/2.x style), or
  message driven bean. 
2. EJB3+ entity beans (@Entity) are POJOs and 
 please package them as library jar. 
3. If the jar file contains vali
 d EJBs which are annotated with EJB component level annotations (@Sta
 teless, @Stateful, @MessageDriven), please check server.log to see wh
 ether the annotations were processed properly.
exit-code: FAILURE

Any clue what might have changed?

Thanks,

Cay</description>
		<content:encoded><![CDATA[<p>I tried this today and got the following error message that is only too familiar from the bad old days:</p>
<p>message: Exception while deploying the app : java.lang.RuntimeExceptio<br />
 n: Invalid ejb jar [CRUD-GFv3]: it contains zero ejb.<br />
Note:<br />
1. A va<br />
 lid ejb jar requires at least one session, entity (1.x/2.x style), or<br />
  message driven bean.<br />
2. EJB3+ entity beans (@Entity) are POJOs and<br />
 please package them as library jar.<br />
3. If the jar file contains vali<br />
 d EJBs which are annotated with EJB component level annotations (@Sta<br />
 teless, @Stateful, @MessageDriven), please check server.log to see wh<br />
 ether the annotations were processed properly.<br />
exit-code: FAILURE</p>
<p>Any clue what might have changed?</p>
<p>Thanks,</p>
<p>Cay</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on EJB 3.1 and JSF 2.0 with GlassFish V3 Prelude by Jonas</title>
		<link>http://blog.rueedlinger.ch/2008/11/ejb-31-and-jsf-20-with-glassfish-v3-prelude/comment-page-1/#comment-72</link>
		<dc:creator>Jonas</dc:creator>
		<pubDate>Fri, 26 Dec 2008 23:29:47 +0000</pubDate>
		<guid isPermaLink="false">http://blog.rueedlinger.ch/?p=17#comment-72</guid>
		<description>I tried to implement the same application with Grails on GlassFish V3 Prelude.

I wrote a post about that here:
http://blog.jonasbandi.net/2008/12/simplistic-crud-application-with-grails.html</description>
		<content:encoded><![CDATA[<p>I tried to implement the same application with Grails on GlassFish V3 Prelude.</p>
<p>I wrote a post about that here:<br />
<a href="http://blog.jonasbandi.net/2008/12/simplistic-crud-application-with-grails.html" rel="nofollow">http://blog.jonasbandi.net/2008/12/simplistic-crud-application-with-grails.html</a></p>
]]></content:encoded>
	</item>
</channel>
</rss>
