<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>faheemsohail.com - Latest Comments</title><link>http://faheemsohail.disqus.com/</link><description></description><atom:link href="https://faheemsohail.disqus.com/comments.rss" rel="self"></atom:link><language>en</language><lastBuildDate>Tue, 05 Feb 2013 17:48:18 -0000</lastBuildDate><item><title>Re: Passing Parameters to the JUnit Tests from the Maven Surefire Plugin</title><link>http://faheemsohail.com/2011/02/passing-parameters-to-the-junit-tests-from-the-maven-surefire-plugin/#comment-789841587</link><description>&lt;p&gt;Thanks for the post&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Vidya</dc:creator><pubDate>Tue, 05 Feb 2013 17:48:18 -0000</pubDate></item><item><title>Re: Integrating your Java Spring MVC webapp with Facebook &amp;#8211; Part 1: Doing the OAuth Dance</title><link>http://faheemsohail.com/2012/03/integrating-java-spring-mvc-and-facebook-part-1/#comment-785218979</link><description>&lt;p&gt;But where can we find it? It isn't posted as code in your article. So we have no idea where to get it from.&lt;/p&gt;&lt;p&gt;Mark&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Mark Spritzler</dc:creator><pubDate>Thu, 31 Jan 2013 20:23:29 -0000</pubDate></item><item><title>Re: Configuring c3p0 connection pooling with spring and hibernate</title><link>http://faheemsohail.com/2012/01/configuring-c3p0-connection-pooling-with-spring-and-hibernate/#comment-770846965</link><description>&lt;p&gt;I already look at many articles on how to integrate Spring and Hibernate, but your post is the most specific instructions so far. The others that were confusing me usually mixed the pool connection in both dataSource bean and sessionFactory bean.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Hung Tran</dc:creator><pubDate>Thu, 17 Jan 2013 07:50:22 -0000</pubDate></item><item><title>Re: Centralized asynchronous logging using Log4j, ActiveMQ and Spring</title><link>http://faheemsohail.com/2011/11/centralized-asynchronous-logging-using-log4j-activemq-and-spring/#comment-732963527</link><description>&lt;p&gt;Superb!!&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">hh</dc:creator><pubDate>Tue, 11 Dec 2012 02:21:11 -0000</pubDate></item><item><title>Re: Configuring c3p0 connection pooling with spring and hibernate</title><link>http://faheemsohail.com/2012/01/configuring-c3p0-connection-pooling-with-spring-and-hibernate/#comment-731891483</link><description>&lt;p&gt;tnks man&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">mohammed</dc:creator><pubDate>Sun, 09 Dec 2012 17:00:04 -0000</pubDate></item><item><title>Re: Implementing Memcached Filter for Spring MVC based RESTful services</title><link>http://faheemsohail.com/2011/06/implementing-memcached-filter-for-spring-mvc-based-restful-services/#comment-721242564</link><description>&lt;p&gt;Thanks for so clear explanation!&lt;br&gt;Is there any source code that I can download and play with it?&lt;br&gt;Thx!&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">arusha</dc:creator><pubDate>Wed, 28 Nov 2012 04:05:51 -0000</pubDate></item><item><title>Re: Integrating your Java Spring MVC webapp with Facebook &amp;#8211; Part 1: Doing the OAuth Dance</title><link>http://faheemsohail.com/2012/03/integrating-java-spring-mvc-and-facebook-part-1/#comment-681028967</link><description>&lt;p&gt;IntegrationBase is a helper class used to make HTTP requests&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">syntx</dc:creator><pubDate>Sat, 13 Oct 2012 07:48:48 -0000</pubDate></item><item><title>Re: Integrating your Java Spring MVC webapp with Facebook &amp;#8211; Part 1: Doing the OAuth Dance</title><link>http://faheemsohail.com/2012/03/integrating-java-spring-mvc-and-facebook-part-1/#comment-681028346</link><description>&lt;p&gt;IntegrationBase is a helper class used to make HTTP requests&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">syntx</dc:creator><pubDate>Sat, 13 Oct 2012 07:47:54 -0000</pubDate></item><item><title>Re: Writing a small plugin framework for your apps</title><link>http://faheemsohail.com/2011/01/writing-a-small-plugin-framework-for-your-apps/#comment-679816050</link><description>&lt;p&gt;What not use something already made? for example PF4J &lt;a href="https://github.com/decebals/pf4j" rel="nofollow noopener" target="_blank" title="https://github.com/decebals/pf4j"&gt;https://github.com/decebals...&lt;/a&gt;. It's open source, it's very light and extensible and use only java code (ExtensionPoint interface marker to declare any interface or abstract class as extension point and @Extension to declare an extension).&lt;/p&gt;&lt;p&gt;Best regards,&lt;br&gt;Decebal&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Decebal</dc:creator><pubDate>Fri, 12 Oct 2012 10:23:00 -0000</pubDate></item><item><title>Re: Integrating your Java Spring MVC webapp with Facebook &amp;#8211; Part 1: Doing the OAuth Dance</title><link>http://faheemsohail.com/2012/03/integrating-java-spring-mvc-and-facebook-part-1/#comment-678714913</link><description>&lt;p&gt;what is the&lt;/p&gt;&lt;p&gt;IntegrationBase here ? &lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Bazlur Rahman Rokon</dc:creator><pubDate>Wed, 10 Oct 2012 21:54:31 -0000</pubDate></item><item><title>Re: Integrating your Java Spring MVC webapp with Facebook &amp;#8211; Part 1: Doing the OAuth Dance</title><link>http://faheemsohail.com/2012/03/integrating-java-spring-mvc-and-facebook-part-1/#comment-578590190</link><description>&lt;p&gt;what is IntegrationBase here ? Please let me know...&lt;br&gt;From ash&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Brightingstar</dc:creator><pubDate>Fri, 06 Jul 2012 10:27:31 -0000</pubDate></item><item><title>Re: Implementing Memcached Filter for Spring MVC based RESTful services</title><link>http://faheemsohail.com/2011/06/implementing-memcached-filter-for-spring-mvc-based-restful-services/#comment-561780141</link><description>&lt;p&gt;That's true Will. Our service consumer is not a web browser but a PHP application. &lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">syntx</dc:creator><pubDate>Tue, 19 Jun 2012 07:00:20 -0000</pubDate></item><item><title>Re: Implementing Memcached Filter for Spring MVC based RESTful services</title><link>http://faheemsohail.com/2011/06/implementing-memcached-filter-for-spring-mvc-based-restful-services/#comment-552125801</link><description>&lt;p&gt;I think the author' idea still stands because not all service consumers have local caching capability like a web browser, which means HTTP "expiration" mechanism would not work. HTTP caching would be used for page level caching between web browsers and web servers.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Will</dc:creator><pubDate>Fri, 08 Jun 2012 14:03:23 -0000</pubDate></item><item><title>Re: Implementing Memcached Filter for Spring MVC based RESTful services</title><link>http://faheemsohail.com/2011/06/implementing-memcached-filter-for-spring-mvc-based-restful-services/#comment-545875547</link><description>&lt;p&gt;Why didn't you leverage HTTP caching headers plus a simple HTTP cache proxy? Besides of saved time and a more robust design, clients could cache the results witch means less requests to your server.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Groerbimbo</dc:creator><pubDate>Sat, 02 Jun 2012 15:45:04 -0000</pubDate></item><item><title>Re: Integrating your Java Spring MVC webapp with Facebook &amp;#8211; Part 1: Doing the OAuth Dance</title><link>http://faheemsohail.com/2012/03/integrating-java-spring-mvc-and-facebook-part-1/#comment-543454132</link><description>&lt;p&gt;Nice article can you provide client side code for this&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Lasath</dc:creator><pubDate>Thu, 31 May 2012 06:53:59 -0000</pubDate></item><item><title>Re: Integrating your Java Spring MVC webapp with Facebook &amp;#8211; Part 1: Doing the OAuth Dance</title><link>http://faheemsohail.com/2012/03/integrating-java-spring-mvc-and-facebook-part-1/#comment-540419516</link><description>&lt;p&gt;1. In controller all methods must be public.&lt;br&gt;2. If you use annotation @ResponseBody, simply return string. Spring MVC sets it in response body. Or remove this annotation.&lt;br&gt;3. Facebook uses OAuth for mobile platforms, for sites - OAuth 2.0. The authentication throw OAuth (OAuth 1.0) has other mechanism, Twitter and LinkedIn use its. You need specify in your post that you use OAuth 2.0 for authentication or authorization.&lt;br&gt;4. The "offline_access" permission in scope id depricated from 2012.05.02 (&lt;a href="http://developers.facebook.com/docs/authentication/)" rel="nofollow noopener" target="_blank" title="http://developers.facebook.com/docs/authentication/)"&gt;http://developers.facebook....&lt;/a&gt;, don't use it.&lt;br&gt;5. Blocks try .. catch in your code are unnecessary.&lt;br&gt;6. For newbies may not understand what is IntegrationBase ... You can use in code standart library's types and methods, ex. from org.apache.commons.httpclient.*&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Dmitry</dc:creator><pubDate>Mon, 28 May 2012 13:04:20 -0000</pubDate></item><item><title>Re: Difference between loading context via DispatcherServlet and ContextLoaderListener</title><link>http://faheemsohail.com/2011/10/difference-between-loading-context-via-dispatcherservlet-and-contextloaderlistener/#comment-537769720</link><description>&lt;p&gt;Ok, and how can we? I have only one context.xml and I set the same for both DispatcherServlet and ContextLoaderListener. Looking at console it seems to be loading beans and configs twice.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Alceu Medeiros</dc:creator><pubDate>Thu, 24 May 2012 14:41:40 -0000</pubDate></item><item><title>Re: Difference between loading context via DispatcherServlet and ContextLoaderListener</title><link>http://faheemsohail.com/2011/10/difference-between-loading-context-via-dispatcherservlet-and-contextloaderlistener/#comment-527891530</link><description>&lt;p&gt;Awesome .. crisp and to the point ... &lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Umeshwali</dc:creator><pubDate>Sun, 13 May 2012 11:25:53 -0000</pubDate></item><item><title>Re: Difference between loading context via DispatcherServlet and ContextLoaderListener</title><link>http://faheemsohail.com/2011/10/difference-between-loading-context-via-dispatcherservlet-and-contextloaderlistener/#comment-505732079</link><description>&lt;p&gt;You are welcome :)&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">syntx</dc:creator><pubDate>Sat, 21 Apr 2012 16:39:36 -0000</pubDate></item><item><title>Re: Difference between loading context via DispatcherServlet and ContextLoaderListener</title><link>http://faheemsohail.com/2011/10/difference-between-loading-context-via-dispatcherservlet-and-contextloaderlistener/#comment-504983352</link><description>&lt;p&gt;Hi Faheem,&lt;br&gt;Its really amazing. I had this confusion and i got it resolved. Thanks a lot...&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Nasir Ahmed</dc:creator><pubDate>Sat, 21 Apr 2012 00:00:20 -0000</pubDate></item><item><title>Re: Configuring c3p0 connection pooling with spring and hibernate</title><link>http://faheemsohail.com/2012/01/configuring-c3p0-connection-pooling-with-spring-and-hibernate/#comment-480484667</link><description>&lt;p&gt;Thanks man,&lt;br&gt;The article that I was looking for a long time.......&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Uygar Sahin</dc:creator><pubDate>Fri, 30 Mar 2012 03:46:43 -0000</pubDate></item><item><title>Re: Adding HTTP basic authentication to Spring MVC driven RESTful services</title><link>http://faheemsohail.com/2011/10/adding-http-basic-auth-to-restful-services/#comment-470120013</link><description>&lt;p&gt;do you have spring security jars in run time environment?&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">syntx</dc:creator><pubDate>Tue, 20 Mar 2012 08:23:47 -0000</pubDate></item><item><title>Re: Adding HTTP basic authentication to Spring MVC driven RESTful services</title><link>http://faheemsohail.com/2011/10/adding-http-basic-auth-to-restful-services/#comment-469857722</link><description>&lt;p&gt;No bean named 'springSecurityFilterChain' is defined&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Adasd</dc:creator><pubDate>Tue, 20 Mar 2012 03:03:06 -0000</pubDate></item><item><title>Re: Configuring c3p0 connection pooling with spring and hibernate</title><link>http://faheemsohail.com/2012/01/configuring-c3p0-connection-pooling-with-spring-and-hibernate/#comment-468869691</link><description>&lt;p&gt;Very nice article and it helped me out a lot.... Thanks buddy&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Kumar Pramod 05</dc:creator><pubDate>Mon, 19 Mar 2012 06:38:19 -0000</pubDate></item><item><title>Re: Difference between loading context via DispatcherServlet and ContextLoaderListener</title><link>http://faheemsohail.com/2011/10/difference-between-loading-context-via-dispatcherservlet-and-contextloaderlistener/#comment-439738152</link><description>&lt;p&gt;You can, but not across multiple dispatcher servlets. To share beans across multiple dispatcher servlets, you would need to define beans in the application context. &lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">syntx</dc:creator><pubDate>Wed, 15 Feb 2012 07:36:34 -0000</pubDate></item></channel></rss>