<?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: Configuring DWR 3.0 with spring using annotations</title>
	<atom:link href="http://www.codercorp.com/blog/spring/configuring-dwr-30-with-spring-using-annotations.html/feed" rel="self" type="application/rss+xml" />
	<link>http://www.codercorp.com/blog/spring/configuring-dwr-30-with-spring-using-annotations.html</link>
	<description>Everything java</description>
	<lastBuildDate>Wed, 28 Jul 2010 18:37:29 -0500</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Enrico Pizzi</title>
		<link>http://www.codercorp.com/blog/spring/configuring-dwr-30-with-spring-using-annotations.html/comment-page-1#comment-635</link>
		<dc:creator>Enrico Pizzi</dc:creator>
		<pubDate>Fri, 23 Jul 2010 11:02:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.codercorp.com/blog/?p=217#comment-635</guid>
		<description>I&#039;m trying to make this work with Spring 3.0.3&#039;s mvc:annotation-driven approach, but have failed so far with exception:

javax.servlet.ServletException: No adapter for handler [org.directwebremoting.spring.DwrController@36d2b3]: Does your handler implement a supported interface like Controller?

The problem is that with mvc:annotation-driven directive, only classes annotated with @Controller stereotype can act as controllers in Spring, but it seems that DwrController is not annotated with @Controller.

Any workaround for this? (aside from modifying the dwr framework to add @Controller to class DwrController)

Thanks,

Enrico</description>
		<content:encoded><![CDATA[<p>I&#8217;m trying to make this work with Spring 3.0.3&#8217;s mvc:annotation-driven approach, but have failed so far with exception:</p>
<p>javax.servlet.ServletException: No adapter for handler [org.directwebremoting.spring.DwrController@36d2b3]: Does your handler implement a supported interface like Controller?</p>
<p>The problem is that with mvc:annotation-driven directive, only classes annotated with @Controller stereotype can act as controllers in Spring, but it seems that DwrController is not annotated with @Controller.</p>
<p>Any workaround for this? (aside from modifying the dwr framework to add @Controller to class DwrController)</p>
<p>Thanks,</p>
<p>Enrico</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: zielgruppe</title>
		<link>http://www.codercorp.com/blog/spring/configuring-dwr-30-with-spring-using-annotations.html/comment-page-1#comment-623</link>
		<dc:creator>zielgruppe</dc:creator>
		<pubDate>Sat, 15 May 2010 15:47:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.codercorp.com/blog/?p=217#comment-623</guid>
		<description>Well, has been a while since this post, but there wasn&#039;t really any other source for this. The problem is (I think) that the bean is defined in two different contexts. I moved everything from the global applicationContext.xml to [..]-servlet.xml, and now it works.</description>
		<content:encoded><![CDATA[<p>Well, has been a while since this post, but there wasn&#8217;t really any other source for this. The problem is (I think) that the bean is defined in two different contexts. I moved everything from the global applicationContext.xml to [..]-servlet.xml, and now it works.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sam Browne</title>
		<link>http://www.codercorp.com/blog/spring/configuring-dwr-30-with-spring-using-annotations.html/comment-page-1#comment-621</link>
		<dc:creator>Sam Browne</dc:creator>
		<pubDate>Wed, 31 Mar 2010 21:39:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.codercorp.com/blog/?p=217#comment-621</guid>
		<description>Excellent guide to get me up and running, 

1 comment though was that the section &quot;Next comes the configuration required by the DispatcherServlet, :&quot; states to update dwrexample-servlet.xml, I found that I needed to put these updates in the /WEB-INF/applicationContext.xml file referenced from the web.xml.</description>
		<content:encoded><![CDATA[<p>Excellent guide to get me up and running, </p>
<p>1 comment though was that the section &#8220;Next comes the configuration required by the DispatcherServlet, :&#8221; states to update dwrexample-servlet.xml, I found that I needed to put these updates in the /WEB-INF/applicationContext.xml file referenced from the web.xml.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Enez</title>
		<link>http://www.codercorp.com/blog/spring/configuring-dwr-30-with-spring-using-annotations.html/comment-page-1#comment-619</link>
		<dc:creator>Enez</dc:creator>
		<pubDate>Fri, 26 Mar 2010 15:28:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.codercorp.com/blog/?p=217#comment-619</guid>
		<description>I want to use Spring 3 and dwr 3 and their annotated capabilities. I set all spring properties (web.xml , servlet) , annotate controllers. 

When I want to use DWR with annotations integrated in spring i get :

java.lang.IllegalArgumentException: java.lang.IllegalArgumentException: Duplicate name found. See logs for details.
	at org.directwebremoting.spring.SpringConfigurator.configure(SpringConfigurator.java:143)
................
org.springframework.beans.factory.BeanCreationException: Error creating bean with name &#039;DwrAnnotationURLMapper&#039;: Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name &#039;__dwrController&#039;: Invocation of init method failed; nested exception is java.lang.IllegalArgumentException: java.lang.IllegalArgumentException: Duplicate name found. See logs for details.

I can&#039;t find solution.</description>
		<content:encoded><![CDATA[<p>I want to use Spring 3 and dwr 3 and their annotated capabilities. I set all spring properties (web.xml , servlet) , annotate controllers. </p>
<p>When I want to use DWR with annotations integrated in spring i get :</p>
<p>java.lang.IllegalArgumentException: java.lang.IllegalArgumentException: Duplicate name found. See logs for details.<br />
	at org.directwebremoting.spring.SpringConfigurator.configure(SpringConfigurator.java:143)<br />
&#8230;&#8230;&#8230;&#8230;&#8230;.<br />
org.springframework.beans.factory.BeanCreationException: Error creating bean with name &#8216;DwrAnnotationURLMapper&#8217;: Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name &#8216;__dwrController&#8217;: Invocation of init method failed; nested exception is java.lang.IllegalArgumentException: java.lang.IllegalArgumentException: Duplicate name found. See logs for details.</p>
<p>I can&#8217;t find solution.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Solid</title>
		<link>http://www.codercorp.com/blog/spring/configuring-dwr-30-with-spring-using-annotations.html/comment-page-1#comment-616</link>
		<dc:creator>Solid</dc:creator>
		<pubDate>Sun, 21 Mar 2010 14:57:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.codercorp.com/blog/?p=217#comment-616</guid>
		<description>Vishal, your post got cut off!!!! what did you do to fix this error?</description>
		<content:encoded><![CDATA[<p>Vishal, your post got cut off!!!! what did you do to fix this error?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Atul</title>
		<link>http://www.codercorp.com/blog/spring/configuring-dwr-30-with-spring-using-annotations.html/comment-page-1#comment-614</link>
		<dc:creator>Atul</dc:creator>
		<pubDate>Wed, 17 Mar 2010 06:46:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.codercorp.com/blog/?p=217#comment-614</guid>
		<description>Hi,

I integrate DWR 3.0 with Spring 2.5 and its working fine for me. Now I am looking for ExtJs with DWR and Spring. Can anybody tell me how can I do that. I already done a mock example but I am not pretty sure about it. If any one have any idea please share it.</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>I integrate DWR 3.0 with Spring 2.5 and its working fine for me. Now I am looking for ExtJs with DWR and Spring. Can anybody tell me how can I do that. I already done a mock example but I am not pretty sure about it. If any one have any idea please share it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Atul</title>
		<link>http://www.codercorp.com/blog/spring/configuring-dwr-30-with-spring-using-annotations.html/comment-page-1#comment-613</link>
		<dc:creator>Atul</dc:creator>
		<pubDate>Wed, 17 Mar 2010 06:43:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.codercorp.com/blog/?p=217#comment-613</guid>
		<description>Hi,

can anybody tell me how can I integrate ExtJs with DWR and Spring.
I already done it with DWR 2 and Spring 2.5. But I am looking it with DWR 3 and Spring MVC. If you guys have any idea please share it.</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>can anybody tell me how can I integrate ExtJs with DWR and Spring.<br />
I already done it with DWR 2 and Spring 2.5. But I am looking it with DWR 3 and Spring MVC. If you guys have any idea please share it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Aries Satriana</title>
		<link>http://www.codercorp.com/blog/spring/configuring-dwr-30-with-spring-using-annotations.html/comment-page-1#comment-607</link>
		<dc:creator>Aries Satriana</dc:creator>
		<pubDate>Mon, 15 Feb 2010 11:35:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.codercorp.com/blog/?p=217#comment-607</guid>
		<description>I add configuration on applicationContext.xml as describe below :
    
        
        
        
            
                dwrController
            
        
    

Than i kick url : http://localhost:8084/SpringMVCItemCategoryWiringAnnotationDWR/dwr
Viola now I have list about classes known to DWR. But none class controller on there even I already mark with @RemoteProxy and @RemoteMethod.
Error message as describe on my previous comments.
Any ideas? 

Rgds,
Aries</description>
		<content:encoded><![CDATA[<p>I add configuration on applicationContext.xml as describe below :</p>
<p>                dwrController</p>
<p>Than i kick url : <a href="http://localhost:8084/SpringMVCItemCategoryWiringAnnotationDWR/dwr" rel="nofollow">http://localhost:8084/SpringMVCItemCategoryWiringAnnotationDWR/dwr</a><br />
Viola now I have list about classes known to DWR. But none class controller on there even I already mark with @RemoteProxy and @RemoteMethod.<br />
Error message as describe on my previous comments.<br />
Any ideas? </p>
<p>Rgds,<br />
Aries</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Aries Satriana</title>
		<link>http://www.codercorp.com/blog/spring/configuring-dwr-30-with-spring-using-annotations.html/comment-page-1#comment-606</link>
		<dc:creator>Aries Satriana</dc:creator>
		<pubDate>Mon, 15 Feb 2010 11:23:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.codercorp.com/blog/?p=217#comment-606</guid>
		<description>I&#039;ve just migrating from DWR 2 into DWR 3.0.
I follow as you describe and viola when I kick url &lt;http://localhost://test/ItemController

I&#039;ve got message on page &quot; Error: java.lang.SecurityException: No class by name: ItemController&quot;.

Any ideas? since I already map using @Controller in my bean.

Rgds,
Aries</description>
		<content:encoded><![CDATA[<p>I&#8217;ve just migrating from DWR 2 into DWR 3.0.<br />
I follow as you describe and viola when I kick url &lt;http://localhost://test/ItemController</p>
<p>I&#8217;ve got message on page &#8221; Error: java.lang.SecurityException: No class by name: ItemController&#8221;.</p>
<p>Any ideas? since I already map using @Controller in my bean.</p>
<p>Rgds,<br />
Aries</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anjan</title>
		<link>http://www.codercorp.com/blog/spring/configuring-dwr-30-with-spring-using-annotations.html/comment-page-1#comment-604</link>
		<dc:creator>Anjan</dc:creator>
		<pubDate>Thu, 11 Feb 2010 21:52:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.codercorp.com/blog/?p=217#comment-604</guid>
		<description>What did u add to fix this issue?</description>
		<content:encoded><![CDATA[<p>What did u add to fix this issue?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
