<?xml version="1.0" encoding="utf-8"?><!-- generator="wordpress/2.0.2" -->
<rss version="2.0" 
	xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel>
	<title>Comments on: Sample EJB Configs for Spring</title>
	<link>http://blog.exis.com/colin/archives/2004/08/24/ejbtest-integration-sample/</link>
	<description>Whatever hits the spot</description>
	<pubDate>Wed, 08 Sep 2010 02:49:10 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.0.2</generator>

	<item>
		<title>by: sheik</title>
		<link>http://blog.exis.com/colin/archives/2004/08/24/ejbtest-integration-sample/#comment-23031</link>
		<pubDate>Fri, 11 May 2007 08:33:34 +0000</pubDate>
		<guid>http://blog.exis.com/colin/archives/2004/08/24/ejbtest-integration-sample/#comment-23031</guid>
					<description>The repository location has been changed in CVS. The new link is

http://springframework.cvs.sourceforge.net/springframework/spring/autobuilds/apps/ejbtest/</description>
		<content:encoded><![CDATA[<p>The repository location has been changed in CVS. The new link is</p>
<p><a href='http://springframework.cvs.sourceforge.net/springframework/spring/autobuilds/apps/ejbtest/' rel='nofollow'>http://springframework.cvs.sourceforge.net/springframework/spring/autobuilds/apps/ejbtest/</a>
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: eu</title>
		<link>http://blog.exis.com/colin/archives/2004/08/24/ejbtest-integration-sample/#comment-11</link>
		<pubDate>Thu, 26 Aug 2004 17:26:18 +0000</pubDate>
		<guid>http://blog.exis.com/colin/archives/2004/08/24/ejbtest-integration-sample/#comment-11</guid>
					<description>Here is error I've got:

&lt;div id='error'&gt;
&lt;p&gt;&lt;strong&gt;Database error:&lt;/strong&gt; [You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 's blog . That is basically a fundamental question for J2EE appl]&lt;br /&gt;
&lt;code&gt;INSERT INTO colins_comments&lt;br /&gt;
(comment_post_ID, comment_author, comment_author_email, comment_author_url, comment_author_IP, comment_date, comment_date_gmt, comment_content, comment_approved)&lt;br /&gt;
VALUES&lt;br /&gt;
(&amp;#039;9&amp;#039;, &amp;#039;Euxx&amp;#039;, &amp;#039;&amp;#039;, &amp;#039;http://jroller.com/page/eu/20040826#using_spring_jta_interfaces_from&amp;#039;, &amp;#039;64.246.48.53&amp;#039;, &amp;#039;2004-08-26 12:23:59&amp;#039;, &amp;#039;2004-08-26 17:23:59&amp;#039;, &amp;#039;&amp;#60;trackback /&amp;#62;&amp;#60;strong&amp;#62;Using Spring JTA interfaces from EJB.&amp;#60;/strong&amp;#62;&lt;br /&gt;
We had a long discussion in Spring list, in Spring JIRA and it is now continues in Colin&amp;#039;s blog . That is basically a fundamental question for J2EE application design. It is clearly stated in J2EE specification that Web Components can use JTA interfa&amp;#039;, &amp;#039;1&amp;#039;)&lt;br /&gt;
&amp;#60;/trackback&amp;#62;&lt;/code&gt;&lt;/p&gt; error with the database, it can't store your comment...&lt;br /&gt;Please contact the webmaster.&lt;/div&gt;</description>
		<content:encoded><![CDATA[<p>Here is error I&#8217;ve got:</p>
<div id='error'>
<p><strong>Database error:</strong> [You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near &#8217;s blog . That is basically a fundamental question for J2EE appl]<br />
<code>INSERT INTO colins_comments<br />
(comment_post_ID, comment_author, comment_author_email, comment_author_url, comment_author_IP, comment_date, comment_date_gmt, comment_content, comment_approved)<br />
VALUES<br />
(&#039;9&#039;, &#039;Euxx&#039;, &#039;&#039;, &#039;http://jroller.com/page/eu/20040826#using_spring_jta_interfaces_from&#039;, &#039;64.246.48.53&#039;, &#039;2004-08-26 12:23:59&#039;, &#039;2004-08-26 17:23:59&#039;, &#039;&lt;trackback /&gt;&lt;strong&gt;Using Spring JTA interfaces from EJB.&lt;/strong&gt;<br />
We had a long discussion in Spring list, in Spring JIRA and it is now continues in Colin&#039;s blog . That is basically a fundamental question for J2EE application design. It is clearly stated in J2EE specification that Web Components can use JTA interfa&#039;, &#039;1&#039;)<br />
&lt;/trackback&gt;</code></p>
<p> error with the database, it can&#8217;t store your comment&#8230;<br />Please contact the webmaster.</div>
]]></content:encoded>
				</item>
	<item>
		<title>by: eu</title>
		<link>http://blog.exis.com/colin/archives/2004/08/24/ejbtest-integration-sample/#comment-10</link>
		<pubDate>Thu, 26 Aug 2004 17:25:41 +0000</pubDate>
		<guid>http://blog.exis.com/colin/archives/2004/08/24/ejbtest-integration-sample/#comment-10</guid>
					<description>Since you have some error in TrackBack request handler here is an url to my blog entry related to this http://jroller.com/page/eu/20040826#using_spring_jta_interfaces_from</description>
		<content:encoded><![CDATA[<p>Since you have some error in TrackBack request handler here is an url to my blog entry related to this <a href='http://jroller.com/page/eu/20040826#using_spring_jta_interfaces_from' rel='nofollow'>http://jroller.com/page/eu/20040826#using_spring_jta_interfaces_from</a>
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Colin Sampaleanu</title>
		<link>http://blog.exis.com/colin/archives/2004/08/24/ejbtest-integration-sample/#comment-9</link>
		<pubDate>Thu, 26 Aug 2004 14:29:30 +0000</pubDate>
		<guid>http://blog.exis.com/colin/archives/2004/08/24/ejbtest-integration-sample/#comment-9</guid>
					<description>I would worry about WebLogic 9 when WebLogic 9 comes out, personally. The fact that there are issues with WLS 7 sems to be because they are not spec compliant, whereas they are more spec compliant with WLS 8; so I am not going to start worrying that an unreleased version may become less spec compliant again. Ultimately, there are any number of issues people can and do run into just switching a straight EJB-based (for tx) app from container to container. From experience, any guarantee of compatibility you have when you get problems with those kinds of moves is typically the possibility that it will be fixed in a future service pack. In the past, when I was working heavily with WebLogic (4.5, 5, 6), I had any number of critital issues/breakage, that took many months to be fixed, if they were fixed at all. In that respect even something like this issue which remains with CMT+Spring Tx in WLS 7 is almost certainly fixable, if somebody wants to spend a bit of time on it, and it's something that's probably in anybody's (not just the vendor's) power to fix.</description>
		<content:encoded><![CDATA[<p>I would worry about WebLogic 9 when WebLogic 9 comes out, personally. The fact that there are issues with WLS 7 sems to be because they are not spec compliant, whereas they are more spec compliant with WLS 8; so I am not going to start worrying that an unreleased version may become less spec compliant again. Ultimately, there are any number of issues people can and do run into just switching a straight EJB-based (for tx) app from container to container. From experience, any guarantee of compatibility you have when you get problems with those kinds of moves is typically the possibility that it will be fixed in a future service pack. In the past, when I was working heavily with WebLogic (4.5, 5, 6), I had any number of critital issues/breakage, that took many months to be fixed, if they were fixed at all. In that respect even something like this issue which remains with CMT+Spring Tx in WLS 7 is almost certainly fixable, if somebody wants to spend a bit of time on it, and it&#8217;s something that&#8217;s probably in anybody&#8217;s (not just the vendor&#8217;s) power to fix.
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: MaximDim</title>
		<link>http://blog.exis.com/colin/archives/2004/08/24/ejbtest-integration-sample/#comment-8</link>
		<pubDate>Thu, 26 Aug 2004 14:07:26 +0000</pubDate>
		<guid>http://blog.exis.com/colin/archives/2004/08/24/ejbtest-integration-sample/#comment-8</guid>
					<description>I'm not sure that using 'Spring Tx alone' would work say for MDB if you need message to be taken from queue and update in database to happen in one XA transaction. I think that there is no other choice but to use CMT in this case (it's too late to start tx whem message already taken out of the queue), which kind of pushes Spring tx out of the picture for such scenarious.
You see, the point is that it doesn't work in WLS 7 makes me wonder that it won't break say in WLS 9 or WebSphere X or whatever else. I would like tx framework be more reliable that that. Just my 2c. ;-)</description>
		<content:encoded><![CDATA[<p>I&#8217;m not sure that using &#8216;Spring Tx alone&#8217; would work say for MDB if you need message to be taken from queue and update in database to happen in one XA transaction. I think that there is no other choice but to use CMT in this case (it&#8217;s too late to start tx whem message already taken out of the queue), which kind of pushes Spring tx out of the picture for such scenarious.<br />
You see, the point is that it doesn&#8217;t work in WLS 7 makes me wonder that it won&#8217;t break say in WLS 9 or WebSphere X or whatever else. I would like tx framework be more reliable that that. Just my 2c. <img src='http://blog.exis.com/colin/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' />
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Colin Sampaleanu</title>
		<link>http://blog.exis.com/colin/archives/2004/08/24/ejbtest-integration-sample/#comment-7</link>
		<pubDate>Wed, 25 Aug 2004 20:44:23 +0000</pubDate>
		<guid>http://blog.exis.com/colin/archives/2004/08/24/ejbtest-integration-sample/#comment-7</guid>
					<description>Yes, it's a bummer that it doesn't work in WLS 7, but at least it seems to work fine in 8. You can of course go to just using CMT alone, or just Spring Tx alone, which I think should both be ok...</description>
		<content:encoded><![CDATA[<p>Yes, it&#8217;s a bummer that it doesn&#8217;t work in WLS 7, but at least it seems to work fine in 8. You can of course go to just using CMT alone, or just Spring Tx alone, which I think should both be ok&#8230;
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: MaximDim</title>
		<link>http://blog.exis.com/colin/archives/2004/08/24/ejbtest-integration-sample/#comment-6</link>
		<pubDate>Wed, 25 Aug 2004 19:51:08 +0000</pubDate>
		<guid>http://blog.exis.com/colin/archives/2004/08/24/ejbtest-integration-sample/#comment-6</guid>
					<description>Nice job Colin, but I'd like to note that there are some problems with Spring's TX wrappers and CMT (at least in WLS 7) as outlined in SPR-251 JIRA. Essentialy if transaction wrapper used with RequiresNew and CMT transaction started from session bean but &lt;b&gt;marked for rollback&lt;/b&gt; before invocation of POJO you'll get nasty 'Cannot resume transaction' exception after call returns from POJO to session bean. This essentialy prevented us from using Spring's transactional proxies in our current project unfortunately. :-(</description>
		<content:encoded><![CDATA[<p>Nice job Colin, but I&#8217;d like to note that there are some problems with Spring&#8217;s TX wrappers and CMT (at least in WLS 7) as outlined in SPR-251 JIRA. Essentialy if transaction wrapper used with RequiresNew and CMT transaction started from session bean but <b>marked for rollback</b> before invocation of POJO you&#8217;ll get nasty &#8216;Cannot resume transaction&#8217; exception after call returns from POJO to session bean. This essentialy prevented us from using Spring&#8217;s transactional proxies in our current project unfortunately. <img src='http://blog.exis.com/colin/wp-includes/images/smilies/icon_sad.gif' alt=':-(' class='wp-smiley' />
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Atoy</title>
		<link>http://blog.exis.com/colin/archives/2004/08/24/ejbtest-integration-sample/#comment-5</link>
		<pubDate>Wed, 25 Aug 2004 12:01:41 +0000</pubDate>
		<guid>http://blog.exis.com/colin/archives/2004/08/24/ejbtest-integration-sample/#comment-5</guid>
					<description>I know you will have saved me hours of time, so I'm thanking you in advance.</description>
		<content:encoded><![CDATA[<p>I know you will have saved me hours of time, so I&#8217;m thanking you in advance.
</p>
]]></content:encoded>
				</item>
</channel>
</rss>
