<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>Disqus - Latest Comments for rborowiec</title><link>http://disqus.com/by/rborowiec/</link><description></description><atom:link href="http://disqus.com/rborowiec/comments.rss" rel="self"></atom:link><language>en</language><lastBuildDate>Wed, 11 Sep 2013 02:59:05 -0000</lastBuildDate><item><title>Re: Top 5 enhancements of Spring MVC 3.1</title><link>https://blog.goyello.com/2011/12/16/enhancements-spring-mvc31/#comment-1038116073</link><description>&lt;p&gt;Some differences:&lt;/p&gt;&lt;p&gt;- @Valid is a standard JSR 303 annotation, @Validated - is a Spring one. See &lt;a href="http://docs.spring.io/spring/docs/3.1.x/javadoc-api/org/springframework/validation/annotation/Validated.html" rel="nofollow noopener" target="_blank" title="http://docs.spring.io/spring/docs/3.1.x/javadoc-api/org/springframework/validation/annotation/Validated.html"&gt;http://docs.spring.io/sprin...&lt;/a&gt;&lt;/p&gt;&lt;p&gt;- With @Validated you can use JSR 303 validation groups. Before we needed a workaround in Spring MVC. See &lt;a href="http://blog.codeleak.pl/2011/03/how-to-jsr303-validation-groups-in.html" rel="nofollow noopener" target="_blank" title="http://blog.codeleak.pl/2011/03/how-to-jsr303-validation-groups-in.html"&gt;http://blog.codeleak.pl/201...&lt;/a&gt;&lt;/p&gt;&lt;p&gt;- It can be used for method level validation. See this post: &lt;a href="http://blog.codeleak.pl/2012/03/how-to-method-level-validation-in.html" rel="nofollow noopener" target="_blank" title="http://blog.codeleak.pl/2012/03/how-to-method-level-validation-in.html"&gt;http://blog.codeleak.pl/201...&lt;/a&gt;&lt;/p&gt;&lt;p&gt;I hope it answers your question.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">rborowiec</dc:creator><pubDate>Wed, 11 Sep 2013 02:59:05 -0000</pubDate></item><item><title>Re: Top 5 enhancements of Spring MVC 3.1</title><link>https://blog.goyello.com/2011/12/16/enhancements-spring-mvc31/#comment-989523957</link><description>&lt;p&gt;Hi Li,&lt;/p&gt;&lt;p&gt;Thanks for your comment, and sorry for a late response.&lt;/p&gt;&lt;p&gt;In this simple example the RoutingHelper has just methods to return Spring MVC "redirect" and "forward". It may also support parameters passing to an URL. This solution simplifies the readability.&lt;/p&gt;&lt;p&gt;As it goes to managing the routings, in small project we sometimes use a Routing class that contains constants that define the routings used in the controllers.&lt;/p&gt;&lt;p&gt;To be honest, I don't know the perfect solution for that.&lt;/p&gt;&lt;p&gt;Do you know any? What is your expierience?&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">rborowiec</dc:creator><pubDate>Mon, 05 Aug 2013 15:59:14 -0000</pubDate></item><item><title>Re: Top 5 enhancements of Spring MVC 3.1</title><link>https://blog.goyello.com/2011/12/16/enhancements-spring-mvc31/#comment-874145046</link><description>&lt;p&gt;For Spring MVC 3.2 quickstart you can check my archetype: &lt;a href="https://github.com/kolorobot/spring-mvc-quickstart-archetype" rel="nofollow noopener" target="_blank" title="https://github.com/kolorobot/spring-mvc-quickstart-archetype"&gt;https://github.com/kolorobo...&lt;/a&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">rborowiec</dc:creator><pubDate>Wed, 24 Apr 2013 06:05:52 -0000</pubDate></item><item><title>Re: JEE6 &amp;#8211; CDI and Conversation Scope</title><link>https://blog.goyello.com/2011/06/08/jee6-cdi-and-conversation-scope/#comment-795232209</link><description>&lt;p&gt;Download links are available in the article.&lt;/p&gt;&lt;p&gt;&lt;a href="http://blog.goyello.com/wp-content/uploads/2011/06/com.wizard-1.0.0-SNAPSHOT.zip" rel="nofollow noopener" target="_blank" title="http://blog.goyello.com/wp-content/uploads/2011/06/com.wizard-1.0.0-SNAPSHOT.zip"&gt;http://blog.goyello.com/wp-...&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&lt;a href="http://blog.goyello.com/wp-content/uploads/2011/06/wizard.zip" rel="nofollow noopener" target="_blank" title="http://blog.goyello.com/wp-content/uploads/2011/06/wizard.zip"&gt;http://blog.goyello.com/wp-...&lt;/a&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">rborowiec</dc:creator><pubDate>Mon, 11 Feb 2013 02:34:56 -0000</pubDate></item><item><title>Re: Quick start with method caching using Spring 3.1 and Ehcache</title><link>https://blog.goyello.com/2012/01/20/quick-start-with-methods-caching-using-spring-3-1-and-ehcache/#comment-417986108</link><description>&lt;p&gt;It is just a example configuration of ehcache. Probably you know that, but for those who don't know: &lt;br&gt;&lt;a href="http://ehcache.org/documentation/configuration/cache-size" rel="nofollow noopener" target="_blank" title="http://ehcache.org/documentation/configuration/cache-size"&gt;http://ehcache.org/document...&lt;/a&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">rborowiec</dc:creator><pubDate>Sun, 22 Jan 2012 07:45:08 -0000</pubDate></item><item><title>Re: Top 5 enhancements of Spring MVC 3.1</title><link>https://blog.goyello.com/2011/12/16/enhancements-spring-mvc31/#comment-392293019</link><description>&lt;p&gt;I think the usage of @Valid on @requestbody &lt;br&gt; is needed when you build an API and you allow external call to be made with (for example) application/xml content type. In that case you usually return an xml wrapping an error message, code etc. (at least I would do so). So this lack of consequence may be justified imho.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">rborowiec</dc:creator><pubDate>Thu, 22 Dec 2011 09:48:19 -0000</pubDate></item><item><title>Re: Configure LogBack Logging with Spring</title><link>http://www.javacodegeeks.com/2011/12/configure-logback-logging-with-spring.html#comment-391827504</link><description>&lt;p&gt;Good post.&lt;/p&gt;&lt;p&gt;I have one question regarding the idea of injecting the logger into beans. How about unit testing &lt;br&gt;MyBeanImpl? How do you deal with that in unit tests?&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">rborowiec</dc:creator><pubDate>Wed, 21 Dec 2011 17:44:48 -0000</pubDate></item><item><title>Re: Top 5 enhancements of Spring MVC 3.1</title><link>https://blog.goyello.com/2011/12/16/enhancements-spring-mvc31/#comment-391793629</link><description>&lt;p&gt;Hi Michał,&lt;/p&gt;&lt;p&gt;Good point. I created this snapshot based on following sentence: "An @requestbody &lt;br&gt;method argument can be annotated with @Valid to invoke automatic validation similar to the support for @ModelAttribute method arguments" and I missed the way the validation is actually done.&lt;/p&gt;&lt;p&gt;It is also worth mentioning that my original code will deploy properly. Spring starts complaining (and throws the java.lang.IllegalStateException) when you actually execute the request against handler's method.&lt;/p&gt;&lt;p&gt;I will update the post with an example.&lt;/p&gt;&lt;p&gt;Thank you very much for you comments. I am happy to see someone actually verified what I wrote. &lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">rborowiec</dc:creator><pubDate>Wed, 21 Dec 2011 16:51:45 -0000</pubDate></item><item><title>Re: Pretty Time &amp;#8211; timestamp formatting made easy</title><link>https://blog.goyello.com/2011/09/22/pretty-time-timestamp-formatting/#comment-390077228</link><description>&lt;p&gt;In some situation client-side may be better. Now always, though. It always depends.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">rborowiec</dc:creator><pubDate>Mon, 19 Dec 2011 14:59:24 -0000</pubDate></item><item><title>Re: Top 5 enhancements of Spring MVC 3.1</title><link>https://blog.goyello.com/2011/12/16/enhancements-spring-mvc31/#comment-389924221</link><description>&lt;p&gt;Spring Security 3.1 is seperate project, see &lt;br&gt;&lt;a href="http://static.springsource.org/spring-security/site/downloads.html" rel="nofollow noopener" target="_blank" title="http://static.springsource.org/spring-security/site/downloads.html"&gt;http://static.springsource....&lt;/a&gt;, currently RC3&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">rborowiec</dc:creator><pubDate>Mon, 19 Dec 2011 11:17:27 -0000</pubDate></item><item><title>Re: Make it easy, test it easily: RESTful Web Services with JAVA and soapUI</title><link>https://blog.goyello.com/2009/09/17/make-it-easy-test-it-easily-restful-web-services-with-java-and-soapui/#comment-376529820</link><description>&lt;p&gt;What kind of file updload? Did you mean soapUI attachments?&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">rborowiec</dc:creator><pubDate>Thu, 01 Dec 2011 02:31:21 -0000</pubDate></item><item><title>Re: Make it easy, test it easily: RESTful Web Services with JAVA and soapUI</title><link>https://blog.goyello.com/2009/09/17/make-it-easy-test-it-easily-restful-web-services-with-java-and-soapui/#comment-374231272</link><description>&lt;p&gt;I don't get it. The code is no java code.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">rborowiec</dc:creator><pubDate>Mon, 28 Nov 2011 10:52:46 -0000</pubDate></item><item><title>Re: Quick start with Ehcache Annotations for Spring</title><link>https://blog.goyello.com/2010/07/29/quick-start-with-ehcache-annotations-for-spring/#comment-262288221</link><description>&lt;p&gt;I build projects usually on Tomcat server. Unfortunately, I don't know Virgo and I never used it. So I think I cannot help you here. I am really sorry.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">rborowiec</dc:creator><pubDate>Sat, 23 Jul 2011 17:05:54 -0000</pubDate></item><item><title>Re: Quick start with Ehcache Annotations for Spring</title><link>https://blog.goyello.com/2010/07/29/quick-start-with-ehcache-annotations-for-spring/#comment-179012522</link><description>&lt;p&gt;No, you don't need hibernate cache provider, because this is not hibernate cache. Checkout demo project attached to the post, you will find all the configuration there.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">rborowiec</dc:creator><pubDate>Wed, 06 Apr 2011 07:56:51 -0000</pubDate></item><item><title>Re: HOW-TO: Create Java Web Application with Eclipse WTP and m2eclipse</title><link>https://blog.goyello.com/2010/06/15/how-to-create-java-web-application-with-eclipse-wtp-and-m2eclipse/#comment-97818498</link><description>&lt;p&gt;As it goes to Java compiler the only thing is to add a maven compiler plugin and set source and target to 1.6 and update project configuraition with the plugin.&lt;/p&gt;&lt;p&gt;As it goes to the I edited the web.xml too.&lt;/p&gt;&lt;p&gt;To be more effective use other archetype to create a web project: webapp-javaee6. It works better with couple modifications.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">rborowiec</dc:creator><pubDate>Tue, 16 Nov 2010 09:16:20 -0000</pubDate></item><item><title>Re: Quick start with Ehcache Annotations for Spring</title><link>https://blog.goyello.com/2010/07/29/quick-start-with-ehcache-annotations-for-spring/#comment-93059957</link><description>&lt;p&gt;Thank you!&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">rborowiec</dc:creator><pubDate>Tue, 02 Nov 2010 14:18:12 -0000</pubDate></item><item><title>Re: HOW-TO: Create Java Web Application with Eclipse WTP and m2eclipse</title><link>https://blog.goyello.com/2010/06/15/how-to-create-java-web-application-with-eclipse-wtp-and-m2eclipse/#comment-75442753</link><description>&lt;p&gt;I have noticed this behaviour in Eclipse. You need to build the project. Or the best - clean and re-built the project, so all classes are compiled and accessible by Eclipse.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">rborowiec</dc:creator><pubDate>Mon, 06 Sep 2010 03:26:20 -0000</pubDate></item><item><title>Re: HOW-TO: Create Java Web Application with Eclipse WTP and m2eclipse</title><link>https://blog.goyello.com/2010/06/15/how-to-create-java-web-application-with-eclipse-wtp-and-m2eclipse/#comment-74139763</link><description>&lt;p&gt;It is not required, to be honest. But Nexus we use is configured to support maven2, so we always stick to maven2 version. Other reason is, I sometimes use command line to build the projects, not eclipse, and then it's easier to have the same installation. Third reason - maven2 is stable.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">rborowiec</dc:creator><pubDate>Thu, 02 Sep 2010 02:26:00 -0000</pubDate></item><item><title>Re: HOW-TO: Create Java Web Application with Eclipse WTP and m2eclipse</title><link>https://blog.goyello.com/2010/06/15/how-to-create-java-web-application-with-eclipse-wtp-and-m2eclipse/#comment-70203089</link><description>&lt;p&gt;Did you install all required plugins? m2extras too? If so, try updating maven configuration for the project.&lt;/p&gt;&lt;p&gt;Recently I started new project (or two) with Eclipse 3.6 and m2eclipse selecting other archetype: webapp-javaee6. And it works perfectly. Please try this one. My team works with this project with no compaints.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">rborowiec</dc:creator><pubDate>Fri, 20 Aug 2010 09:26:36 -0000</pubDate></item><item><title>Re: Quick start with Ehcache Annotations for Spring</title><link>https://blog.goyello.com/2010/07/29/quick-start-with-ehcache-annotations-for-spring/#comment-67638871</link><description>&lt;p&gt;Thx a lot!&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">rborowiec</dc:creator><pubDate>Tue, 10 Aug 2010 16:47:22 -0000</pubDate></item><item><title>Re: Try out new Visual Editor for Eclipse</title><link>https://blog.goyello.com/2009/08/12/why-it-is-worth-trying-new-visual-editor-for-eclipse/#comment-38539936</link><description>&lt;p&gt;As of time of writing this article there was no problem with the installation. I see &lt;a href="http://wiki.eclipse.org/VE/Update" rel="nofollow noopener" target="_blank" title="http://wiki.eclipse.org/VE/Update"&gt;http://wiki.eclipse.org/VE/...&lt;/a&gt; and I've noticed this one:&lt;/p&gt;&lt;p&gt;- DO NOT USE "Eclipse IDE for Java EE Developers" as you will encounter conflicting dependencies with the Java EMF Model Utilities (org.eclipse.jem.util) plugin&lt;br&gt;- "Eclipse IDE for Java Developers" (not currently working see Bug 301766 )&lt;br&gt;- "Eclipse for RCP/Plug-in Developers"&lt;br&gt;- "Eclipse IDE for Java and Report Developers"&lt;/p&gt;&lt;p&gt;The code you pasted seems to be this one: &lt;a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=301766" rel="nofollow noopener" target="_blank" title="https://bugs.eclipse.org/bugs/show_bug.cgi?id=301766"&gt;https://bugs.eclipse.org/bu...&lt;/a&gt;&lt;/p&gt;&lt;p&gt;Please follow the instructions, and try once again.&lt;/p&gt;&lt;p&gt;I also tried with:&lt;br&gt;Eclipse Version: 3.4.2&lt;br&gt;Build id: M20090211-1700&lt;/p&gt;&lt;p&gt;And it worked fine. Fresh Eclipse installation and installation via update site.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">rborowiec</dc:creator><pubDate>Mon, 08 Mar 2010 05:29:52 -0000</pubDate></item><item><title>Re: Make it easy, test it easily: RESTful Web Services with JAVA and soapUI</title><link>https://blog.goyello.com/2009/09/17/make-it-easy-test-it-easily-restful-web-services-with-java-and-soapui/#comment-17735360</link><description>&lt;p&gt;Probably, when you try to send a request format of the body message is incorrect - it must be valid Person object as XML or JSON. The project itself does not contain tests, but you can do this: use GET to get Person as XML or JSON, and then using this format try to create PUT/POST message. Let me know if it works.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">rborowiec</dc:creator><pubDate>Mon, 28 Sep 2009 15:14:26 -0000</pubDate></item><item><title>Re: Grails &amp;#8211; incredible? Be surprised!</title><link>https://blog.goyello.com/2009/08/14/grails-incredible-be-surprised/#comment-14948405</link><description>&lt;p&gt;Thanks for you comment.&lt;/p&gt;&lt;p&gt;I think Java is incredible and I think that it is a matter of choice. So, if you don't care about what is going on behind scenes you can freely choose a framework like Grails. I also think that is good that there are many frameworks for developing Java Web applications. It makes Java more popular and maybe, when most of the developers that have chosen Grails because it is fast they would soon try out new incoming JEE6 with new nice features when they needed more scalable frameworks. Who knows...&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">rborowiec</dc:creator><pubDate>Mon, 17 Aug 2009 02:03:47 -0000</pubDate></item><item><title>Re: Netbeans the right tool for developing JavaFX applications</title><link>https://blog.goyello.com/2009/08/12/right-tool-for-developing-javafx-applications/#comment-14768058</link><description>&lt;p&gt;Thanks for you comment. I am looking forward to see new version of the plugin.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">rborowiec</dc:creator><pubDate>Thu, 13 Aug 2009 04:25:03 -0000</pubDate></item></channel></rss>