<?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: Creating pluggable applications with Wicket and Spring</title>
	<atom:link href="http://wicketinaction.com/2008/10/creating-pluggable-applications-with-wicket-and-spring/feed/" rel="self" type="application/rss+xml" />
	<link>http://wicketinaction.com/2008/10/creating-pluggable-applications-with-wicket-and-spring/</link>
	<description>A comprehensive guide for Java developers building Wicket-based web applications</description>
	<lastBuildDate>Fri, 15 Jan 2010 04:01:26 +0100</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: danisevsky</title>
		<link>http://wicketinaction.com/2008/10/creating-pluggable-applications-with-wicket-and-spring/comment-page-1/#comment-598</link>
		<dc:creator>danisevsky</dc:creator>
		<pubDate>Thu, 01 Oct 2009 14:56:31 +0000</pubDate>
		<guid isPermaLink="false">http://wicketinaction.com/?p=206#comment-598</guid>
		<description>Great article, thank you Igor!</description>
		<content:encoded><![CDATA[<p>Great article, thank you Igor!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Golfman</title>
		<link>http://wicketinaction.com/2008/10/creating-pluggable-applications-with-wicket-and-spring/comment-page-1/#comment-591</link>
		<dc:creator>Golfman</dc:creator>
		<pubDate>Wed, 23 Sep 2009 05:02:33 +0000</pubDate>
		<guid isPermaLink="false">http://wicketinaction.com/?p=206#comment-591</guid>
		<description>Beans, Spring, annotations - sounds like we&#039;ve all lost our way!

Whatever happened to simple POJOs with a simple lightweight IOC framework that you could put together yourself in an afternoon?

Wicket, on the other hand, rocks massively!</description>
		<content:encoded><![CDATA[<p>Beans, Spring, annotations &#8211; sounds like we&#8217;ve all lost our way!</p>
<p>Whatever happened to simple POJOs with a simple lightweight IOC framework that you could put together yourself in an afternoon?</p>
<p>Wicket, on the other hand, rocks massively!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: dimitris</title>
		<link>http://wicketinaction.com/2008/10/creating-pluggable-applications-with-wicket-and-spring/comment-page-1/#comment-586</link>
		<dc:creator>dimitris</dc:creator>
		<pubDate>Tue, 01 Sep 2009 14:32:19 +0000</pubDate>
		<guid isPermaLink="false">http://wicketinaction.com/?p=206#comment-586</guid>
		<description>Very nice framework.

I was trying to amplify it to be able to also edit instances (Articles) with an edit button on each line, but I&#039;m having the following problem:

I managed to populate the correct data on the editArticlePage and if I change the DeployerPlugin the page updates correctly on selectionChange(), but on submit the Article still has the old DeployerPlugin value and gives an error. If you are interested I can send my changes until this point. If I find a solution I will update.</description>
		<content:encoded><![CDATA[<p>Very nice framework.</p>
<p>I was trying to amplify it to be able to also edit instances (Articles) with an edit button on each line, but I&#8217;m having the following problem:</p>
<p>I managed to populate the correct data on the editArticlePage and if I change the DeployerPlugin the page updates correctly on selectionChange(), but on submit the Article still has the old DeployerPlugin value and gives an error. If you are interested I can send my changes until this point. If I find a solution I will update.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ray A.</title>
		<link>http://wicketinaction.com/2008/10/creating-pluggable-applications-with-wicket-and-spring/comment-page-1/#comment-437</link>
		<dc:creator>Ray A.</dc:creator>
		<pubDate>Mon, 02 Mar 2009 17:13:51 +0000</pubDate>
		<guid isPermaLink="false">http://wicketinaction.com/?p=206#comment-437</guid>
		<description>Very nice framework. I have a maven script that will build a spring hibernate wicket template and separate the HTML page. It helps a lot between the designer &quot;Front End&quot; and core developer &quot;Java/J2EE&quot;.</description>
		<content:encoded><![CDATA[<p>Very nice framework. I have a maven script that will build a spring hibernate wicket template and separate the HTML page. It helps a lot between the designer &#8220;Front End&#8221; and core developer &#8220;Java/J2EE&#8221;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ivaynberg</title>
		<link>http://wicketinaction.com/2008/10/creating-pluggable-applications-with-wicket-and-spring/comment-page-1/#comment-32</link>
		<dc:creator>ivaynberg</dc:creator>
		<pubDate>Tue, 07 Oct 2008 16:45:09 +0000</pubDate>
		<guid isPermaLink="false">http://wicketinaction.com/?p=206#comment-32</guid>
		<description>@Ray: While BeanPostProcessors are definitely slicker they also come with shortcommings for this particular usecase. Beans that use AOP-autoproxying cannot be processed by postprocessors, so those plugins will not be registered. Also, when you create proxies or apply any kind of aop (eg @Transactional on a bean) both the real class and the cglib generated subclass are viewed by postprocessors so you would have to filter for duplicates. I find that my way, while not as elegant, simply works.

@Per: Good to hear, enjoy.

@Jonathan: This kind of thing can be done with any IOC container that allows introspection. The point of this article was not really to glue Wicket to Spring, but more to demonstrate the pattern. In this whole article there is only one Spring-related class - the registry. I had a template Wicket/Spring project setup and so it was easy for me to base this article on that. Of course, feel free to rewrite the attached code using OSGi and I will be happy to append it to the article.</description>
		<content:encoded><![CDATA[<p>@Ray: While BeanPostProcessors are definitely slicker they also come with shortcommings for this particular usecase. Beans that use AOP-autoproxying cannot be processed by postprocessors, so those plugins will not be registered. Also, when you create proxies or apply any kind of aop (eg @Transactional on a bean) both the real class and the cglib generated subclass are viewed by postprocessors so you would have to filter for duplicates. I find that my way, while not as elegant, simply works.</p>
<p>@Per: Good to hear, enjoy.</p>
<p>@Jonathan: This kind of thing can be done with any IOC container that allows introspection. The point of this article was not really to glue Wicket to Spring, but more to demonstrate the pattern. In this whole article there is only one Spring-related class &#8211; the registry. I had a template Wicket/Spring project setup and so it was easy for me to base this article on that. Of course, feel free to rewrite the attached code using OSGi and I will be happy to append it to the article.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jonathan Doklovic</title>
		<link>http://wicketinaction.com/2008/10/creating-pluggable-applications-with-wicket-and-spring/comment-page-1/#comment-31</link>
		<dc:creator>Jonathan Doklovic</dc:creator>
		<pubDate>Tue, 07 Oct 2008 14:34:29 +0000</pubDate>
		<guid isPermaLink="false">http://wicketinaction.com/?p=206#comment-31</guid>
		<description>Nice article, but I think it would be a little better if osgi was used instead of rolling your own plugin registry.

Shouldn&#039;t be that hard now that spring supports osgi.
http://www.springframework.org/osgi

- J</description>
		<content:encoded><![CDATA[<p>Nice article, but I think it would be a little better if osgi was used instead of rolling your own plugin registry.</p>
<p>Shouldn&#8217;t be that hard now that spring supports osgi.<br />
<a href="http://www.springframework.org/osgi" rel="nofollow">http://www.springframework.org/osgi</a></p>
<p>- J</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Per Ejeklint</title>
		<link>http://wicketinaction.com/2008/10/creating-pluggable-applications-with-wicket-and-spring/comment-page-1/#comment-30</link>
		<dc:creator>Per Ejeklint</dc:creator>
		<pubDate>Tue, 07 Oct 2008 14:04:41 +0000</pubDate>
		<guid isPermaLink="false">http://wicketinaction.com/?p=206#comment-30</guid>
		<description>Great article! It solves a problem that&#039;s been nagging me for a while - how to write UI plugs for corresponding measuring and control hw devices. Much appreciated.</description>
		<content:encoded><![CDATA[<p>Great article! It solves a problem that&#8217;s been nagging me for a while &#8211; how to write UI plugs for corresponding measuring and control hw devices. Much appreciated.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ray Krueger</title>
		<link>http://wicketinaction.com/2008/10/creating-pluggable-applications-with-wicket-and-spring/comment-page-1/#comment-29</link>
		<dc:creator>Ray Krueger</dc:creator>
		<pubDate>Tue, 07 Oct 2008 11:10:47 +0000</pubDate>
		<guid isPermaLink="false">http://wicketinaction.com/?p=206#comment-29</guid>
		<description>Very cool. 
Though you could clean up your IdentifiableBeanRegistry class by implementing BeanPostProcessor rather than InitializingBean.

Using IntializingBean.afterPropertiesSet you&#039;re forced to go search the BeanFactory after the fact. By implementing BeanPostProcessor.postProcessAfterInitialization Spring will hand each bean to you as it creates them and you can simply use beanType.isAssignableFrom(bean.getClass()) as they come in.

Have a look at the BeanFactory lifecycle...
http://static.springframework.org/spring/docs/2.0.x/api/org/springframework/beans/factory/BeanFactory.html</description>
		<content:encoded><![CDATA[<p>Very cool.<br />
Though you could clean up your IdentifiableBeanRegistry class by implementing BeanPostProcessor rather than InitializingBean.</p>
<p>Using IntializingBean.afterPropertiesSet you&#8217;re forced to go search the BeanFactory after the fact. By implementing BeanPostProcessor.postProcessAfterInitialization Spring will hand each bean to you as it creates them and you can simply use beanType.isAssignableFrom(bean.getClass()) as they come in.</p>
<p>Have a look at the BeanFactory lifecycle&#8230;<br />
<a href="http://static.springframework.org/spring/docs/2.0.x/api/org/springframework/beans/factory/BeanFactory.html" rel="nofollow">http://static.springframework.org/spring/docs/2.0.x/api/org/springframework/beans/factory/BeanFactory.html</a></p>
]]></content:encoded>
	</item>
</channel>
</rss>
