<?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: Flex, Spring and BlazeDS: the full stack! (Part 4) [updated]</title>
	<atom:link href="http://sebastien-arbogast.com/2008/04/15/flex-spring-and-blazeds-the-full-stack-part-4/feed/" rel="self" type="application/rss+xml" />
	<link>http://sebastien-arbogast.com/2008/04/15/flex-spring-and-blazeds-the-full-stack-part-4/</link>
	<description>Solving Software Problems since 2010</description>
	<lastBuildDate>Tue, 09 Mar 2010 08:32:01 +0200</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Flex Supports Spring &#8211; Are You Ready to Skip Web 2.0? &#124; ICEfusion.dev</title>
		<link>http://sebastien-arbogast.com/2008/04/15/flex-spring-and-blazeds-the-full-stack-part-4/comment-page-3/#comment-1789</link>
		<dc:creator>Flex Supports Spring &#8211; Are You Ready to Skip Web 2.0? &#124; ICEfusion.dev</dc:creator>
		<pubDate>Fri, 12 Mar 2010 22:18:00 +0000</pubDate>
		<guid isPermaLink="false">http://sebastien-arbogast.com/?p=53#comment-1789</guid>
		<description>[...] Hibernate, MySQL and a Maven build (2, 3rd part is still not published; Original series: 1, 2, 3, 4, [...]</description>
		<content:encoded><![CDATA[<p>[...] Hibernate, MySQL and a Maven build (2, 3rd part is still not published; Original series: 1, 2, 3, 4, [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Daedin</title>
		<link>http://sebastien-arbogast.com/2008/04/15/flex-spring-and-blazeds-the-full-stack-part-4/comment-page-3/#comment-1752</link>
		<dc:creator>Daedin</dc:creator>
		<pubDate>Fri, 12 Mar 2010 21:45:00 +0000</pubDate>
		<guid isPermaLink="false">http://sebastien-arbogast.com/?p=53#comment-1752</guid>
		<description>Hello Sébastien,

Thanks for this series of articles. I have successfully created a full project that includes Java and Flex.

However, I am wondering now how to integrate this in Eclipse. I would like to be able to code and deploy in Eclipse. 

I checked Eclipse WTP tutorials, but they all recommend to create a Flex / J2EE project from scratch, and I can&#039;t find anything on how to integrate a project with the structure we just built.

Do you have an idea on how to accomplish this?

Thanks for your posts,
-- 
Sébastien</description>
		<content:encoded><![CDATA[<p>Hello Sébastien,</p>
<p>Thanks for this series of articles. I have successfully created a full project that includes Java and Flex.</p>
<p>However, I am wondering now how to integrate this in Eclipse. I would like to be able to code and deploy in Eclipse. </p>
<p>I checked Eclipse WTP tutorials, but they all recommend to create a Flex / J2EE project from scratch, and I can&#8217;t find anything on how to integrate a project with the structure we just built.</p>
<p>Do you have an idea on how to accomplish this?</p>
<p>Thanks for your posts,<br />
&#8211;<br />
Sébastien</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mikew909</title>
		<link>http://sebastien-arbogast.com/2008/04/15/flex-spring-and-blazeds-the-full-stack-part-4/comment-page-3/#comment-1654</link>
		<dc:creator>mikew909</dc:creator>
		<pubDate>Fri, 12 Mar 2010 03:37:00 +0000</pubDate>
		<guid isPermaLink="false">http://sebastien-arbogast.com/?p=53#comment-1654</guid>
		<description>Great series! If you have some thoughts on the benefits that you reap with this setup that would great :)</description>
		<content:encoded><![CDATA[<p>Great series! If you have some thoughts on the benefits that you reap with this setup that would great :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Althazar</title>
		<link>http://sebastien-arbogast.com/2008/04/15/flex-spring-and-blazeds-the-full-stack-part-4/comment-page-3/#comment-1093</link>
		<dc:creator>Althazar</dc:creator>
		<pubDate>Fri, 12 Mar 2010 04:42:00 +0000</pubDate>
		<guid isPermaLink="false">http://sebastien-arbogast.com/?p=53#comment-1093</guid>
		<description>Hello,

I have build a webapp based on your tutorial. Unfortunately I overlooked that part where you said it is good only when we have one entity in the system. Now its too late and I have big problems with LazyInitializationException. I made  Many-to-Many relationships in hibernate and there is a problem with sessions. Is it complicated to upgrade todolist app to use more then one entity? You said that it is possible to add everything later. Could you post more details? 

My webapp is a part of my master thesis and I really need it working. So if you could give me some tips it would be great. (I need to mention that it is my first webapp in this technologies so not everything id clear to me at once).</description>
		<content:encoded><![CDATA[<p>Hello,</p>
<p>I have build a webapp based on your tutorial. Unfortunately I overlooked that part where you said it is good only when we have one entity in the system. Now its too late and I have big problems with LazyInitializationException. I made  Many-to-Many relationships in hibernate and there is a problem with sessions. Is it complicated to upgrade todolist app to use more then one entity? You said that it is possible to add everything later. Could you post more details? </p>
<p>My webapp is a part of my master thesis and I really need it working. So if you could give me some tips it would be great. (I need to mention that it is my first webapp in this technologies so not everything id clear to me at once).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: aravind</title>
		<link>http://sebastien-arbogast.com/2008/04/15/flex-spring-and-blazeds-the-full-stack-part-4/comment-page-3/#comment-836</link>
		<dc:creator>aravind</dc:creator>
		<pubDate>Fri, 12 Mar 2010 17:02:00 +0000</pubDate>
		<guid isPermaLink="false">http://sebastien-arbogast.com/?p=53#comment-836</guid>
		<description>if you have not resolved the issue with flex mojo&#039;s with chart. there here is the solution:

How to use charts or advanced datagrid?

    Is necessary to add data visualization dependencies:

    
        com.adobe.flex.sdk
        datavisualization
        3.0.0.3.0.0.477
        swc
    
    
        com.adobe.flex.sdk
        datavisualization
        3.0.0.3.0.0.477
        resource_bundle
        en_US
    

    [top]
How to remove &quot;Flex Charting Trial&quot; water mark?

    In order to do that, you must have Charts license.

    Them, just add licenses configuration to your pom.xml, like this:

    ...
    
    	info.rvin.mojo
    	flex-compiler-mojo
    	
    		...
    		
    			put-your-license-here
    		
    	
    </description>
		<content:encoded><![CDATA[<p>if you have not resolved the issue with flex mojo&#8217;s with chart. there here is the solution:</p>
<p>How to use charts or advanced datagrid?</p>
<p>    Is necessary to add data visualization dependencies:</p>
<p>        com.adobe.flex.sdk<br />
        datavisualization<br />
        3.0.0.3.0.0.477<br />
        swc</p>
<p>        com.adobe.flex.sdk<br />
        datavisualization<br />
        3.0.0.3.0.0.477<br />
        resource_bundle<br />
        en_US</p>
<p>    [top]<br />
How to remove &#8220;Flex Charting Trial&#8221; water mark?</p>
<p>    In order to do that, you must have Charts license.</p>
<p>    Them, just add licenses configuration to your pom.xml, like this:</p>
<p>    &#8230;</p>
<p>    	info.rvin.mojo<br />
    	flex-compiler-mojo</p>
<p>    		&#8230;</p>
<p>    			put-your-license-here</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dave</title>
		<link>http://sebastien-arbogast.com/2008/04/15/flex-spring-and-blazeds-the-full-stack-part-4/comment-page-3/#comment-807</link>
		<dc:creator>Dave</dc:creator>
		<pubDate>Fri, 12 Mar 2010 01:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://sebastien-arbogast.com/?p=53#comment-807</guid>
		<description>Hum, I don&#039;t know how to post xml.  So I&#039;ll just say what I do in Spring.

I have one bean id=todoService mapped to class=TodoServiceImpl.  Everything else was commented out.</description>
		<content:encoded><![CDATA[<p>Hum, I don&#8217;t know how to post xml.  So I&#8217;ll just say what I do in Spring.</p>
<p>I have one bean id=todoService mapped to class=TodoServiceImpl.  Everything else was commented out.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dave</title>
		<link>http://sebastien-arbogast.com/2008/04/15/flex-spring-and-blazeds-the-full-stack-part-4/comment-page-3/#comment-806</link>
		<dc:creator>Dave</dc:creator>
		<pubDate>Fri, 12 Mar 2010 00:57:00 +0000</pubDate>
		<guid isPermaLink="false">http://sebastien-arbogast.com/?p=53#comment-806</guid>
		<description>Oops, the blog tool stripped out my spring xml code, lets try it again.

As for Spring, I commented out everything except:
&quot;
&quot;</description>
		<content:encoded><![CDATA[<p>Oops, the blog tool stripped out my spring xml code, lets try it again.</p>
<p>As for Spring, I commented out everything except:<br />
&#8221;<br />
&#8220;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dave</title>
		<link>http://sebastien-arbogast.com/2008/04/15/flex-spring-and-blazeds-the-full-stack-part-4/comment-page-3/#comment-805</link>
		<dc:creator>Dave</dc:creator>
		<pubDate>Fri, 12 Mar 2010 00:52:00 +0000</pubDate>
		<guid isPermaLink="false">http://sebastien-arbogast.com/?p=53#comment-805</guid>
		<description>I only modified the jsp page as I think that is the only custom page.  There are several places where it uses names like &quot;sample-ria-1.0-SNAPSHOT&quot;, this is what I modified.  I think in one place it has the .swf extension.

As for Spring, I commented out everything except:



Perhaps it is a Spring problem, I don&#039;t know the majic it does.  I just deleted the entries that were db/transaction related as that seemed like the right thing to do.

I did get your sample working with my changes when I started with your downloadable project, in this later case the db stuff is still there it just fails at runtime because I don&#039;t have that db loaded.

P.S. I would like to know what happened in the first attempt because I&#039;m afraid if I don&#039;t know the cause, it will happen again.  But that might not be possible.
Also, if I keep going with this approach I would like to automate the editing of the jsp page and perhaps all the static web files should be yet another maven module so it all gets added automatically.</description>
		<content:encoded><![CDATA[<p>I only modified the jsp page as I think that is the only custom page.  There are several places where it uses names like &#8220;sample-ria-1.0-SNAPSHOT&#8221;, this is what I modified.  I think in one place it has the .swf extension.</p>
<p>As for Spring, I commented out everything except:</p>
<p>Perhaps it is a Spring problem, I don&#8217;t know the majic it does.  I just deleted the entries that were db/transaction related as that seemed like the right thing to do.</p>
<p>I did get your sample working with my changes when I started with your downloadable project, in this later case the db stuff is still there it just fails at runtime because I don&#8217;t have that db loaded.</p>
<p>P.S. I would like to know what happened in the first attempt because I&#8217;m afraid if I don&#8217;t know the cause, it will happen again.  But that might not be possible.<br />
Also, if I keep going with this approach I would like to automate the editing of the jsp page and perhaps all the static web files should be yet another maven module so it all gets added automatically.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sébastien</title>
		<link>http://sebastien-arbogast.com/2008/04/15/flex-spring-and-blazeds-the-full-stack-part-4/comment-page-3/#comment-804</link>
		<dc:creator>Sébastien</dc:creator>
		<pubDate>Fri, 12 Mar 2010 23:49:00 +0000</pubDate>
		<guid isPermaLink="false">http://sebastien-arbogast.com/?p=53#comment-804</guid>
		<description>&lt;a href=&quot;#comment-801&quot; rel=&quot;nofollow&quot;&gt;@Dave&lt;/a&gt; 
I don&#039;t know exactly what you modified but the javascript that embeds the SWF in the HTML is tricky. The full name of the SWF is never mentioned. And there are references you must update, others that you shouldn&#039;t touch. I don&#039;t remember exactly and I don&#039;t have the html template here. But you can can easily try and see by updating one reference at a time.
As for the database reference, did you disable the transaction manager too? Because that&#039;s what creates the Hibernate/JPA session and if you don&#039;t disable those, you&#039;re in trouble. The thing is that there are a lot of things that happen automagically with Spring 2, and I&#039;m not always convinced it&#039;s a good thing, especially for people who don&#039;t understand how Spring works under the hood, it can be tricky.</description>
		<content:encoded><![CDATA[<p><a href="#comment-801" rel="nofollow">@Dave</a><br />
I don&#8217;t know exactly what you modified but the javascript that embeds the SWF in the HTML is tricky. The full name of the SWF is never mentioned. And there are references you must update, others that you shouldn&#8217;t touch. I don&#8217;t remember exactly and I don&#8217;t have the html template here. But you can can easily try and see by updating one reference at a time.<br />
As for the database reference, did you disable the transaction manager too? Because that&#8217;s what creates the Hibernate/JPA session and if you don&#8217;t disable those, you&#8217;re in trouble. The thing is that there are a lot of things that happen automagically with Spring 2, and I&#8217;m not always convinced it&#8217;s a good thing, especially for people who don&#8217;t understand how Spring works under the hood, it can be tricky.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sébastien</title>
		<link>http://sebastien-arbogast.com/2008/04/15/flex-spring-and-blazeds-the-full-stack-part-4/comment-page-3/#comment-803</link>
		<dc:creator>Sébastien</dc:creator>
		<pubDate>Fri, 12 Mar 2010 23:44:00 +0000</pubDate>
		<guid isPermaLink="false">http://sebastien-arbogast.com/?p=53#comment-803</guid>
		<description>&lt;a href=&quot;#comment-802&quot; rel=&quot;nofollow&quot;&gt;@Dave&lt;/a&gt; 
Because JDBC is not an application-specific library. Well, it rarely is anyway. Actually the best way to deal with it would be to share it the OSGi way. But in the meantime it&#039;s just best practice to have JDBC part of your system environmen, that is your application server. And it&#039;s not included in JBoss or Tomcat by default because it depends on your preferred database system.</description>
		<content:encoded><![CDATA[<p><a href="#comment-802" rel="nofollow">@Dave</a><br />
Because JDBC is not an application-specific library. Well, it rarely is anyway. Actually the best way to deal with it would be to share it the OSGi way. But in the meantime it&#8217;s just best practice to have JDBC part of your system environmen, that is your application server. And it&#8217;s not included in JBoss or Tomcat by default because it depends on your preferred database system.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
