<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-5528757857863832549</id><updated>2011-11-28T04:52:25.101+05:30</updated><category term='apache'/><category term='m2eclipse'/><category term='xml'/><category term='hibernate'/><category term='datasource'/><category term='java'/><category term='xsd'/><category term='debugger'/><category term='aop'/><category term='annotations'/><category term='gwt'/><category term='projecteuler'/><category term='maven'/><category term='cxf'/><category term='tomcat'/><category term='extJS'/><category term='log4j'/><category term='webservice'/><category term='rich-internet-application'/><category term='spring'/><category term='parsers'/><category term='Flex'/><category term='eclipse'/><category term='framework'/><category term='Silverlight'/><title type='text'>To the Point Talks</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://tothepointtalks.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5528757857863832549/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://tothepointtalks.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Bhushan Bhangale</name><uri>http://www.blogger.com/profile/05520332118172160671</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>25</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-5528757857863832549.post-7802936077345323824</id><published>2009-12-28T10:18:00.004+05:30</published><updated>2009-12-28T10:22:44.621+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='java'/><category scheme='http://www.blogger.com/atom/ns#' term='spring'/><title type='text'>Execute stored procedure in spring with return value and out parameters</title><summary type='text'>Following code example shows how to execute stored procedure in spring with return value and out parameters. The comment along with the code explains the usage.import java.math.BigDecimal;import java.sql.Types;import java.util.HashMap;import java.util.Map;import org.springframework.jdbc.core.JdbcTemplate;import org.springframework.jdbc.core.SqlOutParameter;import </summary><link rel='replies' type='application/atom+xml' href='http://tothepointtalks.blogspot.com/feeds/7802936077345323824/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tothepointtalks.blogspot.com/2009/12/execute-stored-procedure-in-spring-with.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5528757857863832549/posts/default/7802936077345323824'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5528757857863832549/posts/default/7802936077345323824'/><link rel='alternate' type='text/html' href='http://tothepointtalks.blogspot.com/2009/12/execute-stored-procedure-in-spring-with.html' title='Execute stored procedure in spring with return value and out parameters'/><author><name>Bhushan Bhangale</name><uri>http://www.blogger.com/profile/05520332118172160671</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5528757857863832549.post-5972178411274495523</id><published>2009-12-15T13:52:00.006+05:30</published><updated>2009-12-28T10:25:09.439+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='java'/><category scheme='http://www.blogger.com/atom/ns#' term='log4j'/><category scheme='http://www.blogger.com/atom/ns#' term='aop'/><category scheme='http://www.blogger.com/atom/ns#' term='annotations'/><title type='text'>Logging using Aspect Oriented Programming</title><summary type='text'>Most of the time while debugging I like to see the values of the incoming parameters and what is the returned value. The only solution is to use Eclipse debugger but some times its always not possible to run eclipse debugger. For example, the application is running in some environment where you cannot connect or sometimes you want to check quickly by just switching on DEBUG level logging.Today I </summary><link rel='replies' type='application/atom+xml' href='http://tothepointtalks.blogspot.com/feeds/5972178411274495523/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tothepointtalks.blogspot.com/2009/12/logging-using-aspect-oriented.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5528757857863832549/posts/default/5972178411274495523'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5528757857863832549/posts/default/5972178411274495523'/><link rel='alternate' type='text/html' href='http://tothepointtalks.blogspot.com/2009/12/logging-using-aspect-oriented.html' title='Logging using Aspect Oriented Programming'/><author><name>Bhushan Bhangale</name><uri>http://www.blogger.com/profile/05520332118172160671</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5528757857863832549.post-8329838657060434578</id><published>2009-11-19T16:05:00.004+05:30</published><updated>2009-11-19T16:23:31.126+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='eclipse'/><category scheme='http://www.blogger.com/atom/ns#' term='spring'/><category scheme='http://www.blogger.com/atom/ns#' term='apache'/><category scheme='http://www.blogger.com/atom/ns#' term='tomcat'/><title type='text'>SpringSource Tool Suite</title><summary type='text'>I have started using STS for the past 3-4 months. The tool is powered by the latest Eclipse version Galileo and comes bundled with useful plugins for Spring based development. The tool also comes with the maven plugin bundled in. I always use Maven and Spring for all my Java projects so I am enjoying this tool.The suite also comes with Apache Tomcat server called TC Server. The server comes with </summary><link rel='replies' type='application/atom+xml' href='http://tothepointtalks.blogspot.com/feeds/8329838657060434578/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tothepointtalks.blogspot.com/2009/11/springsource-tool-suite.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5528757857863832549/posts/default/8329838657060434578'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5528757857863832549/posts/default/8329838657060434578'/><link rel='alternate' type='text/html' href='http://tothepointtalks.blogspot.com/2009/11/springsource-tool-suite.html' title='SpringSource Tool Suite'/><author><name>Bhushan Bhangale</name><uri>http://www.blogger.com/profile/05520332118172160671</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5528757857863832549.post-8895530403081483762</id><published>2009-11-13T12:29:00.008+05:30</published><updated>2009-11-13T15:10:56.625+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='java'/><category scheme='http://www.blogger.com/atom/ns#' term='xsd'/><category scheme='http://www.blogger.com/atom/ns#' term='parsers'/><category scheme='http://www.blogger.com/atom/ns#' term='xml'/><title type='text'>SAXParser usage code sample</title><summary type='text'>How to Parse XML in Java is always a tricky question. There different types of parsers available mainly - DOMParser (JDOM, Dom4j, XOM, etc.), SAXParser (Xerces, Piccolo, etc) and StAXParser (XPP3, Woodstox, Aalto, etc). Depending upon the nature and requirement of the project you need to select the type of parser. Normally StAX Parsers also known as Pull Parsers are the fastest in terms of </summary><link rel='replies' type='application/atom+xml' href='http://tothepointtalks.blogspot.com/feeds/8895530403081483762/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tothepointtalks.blogspot.com/2009/11/saxparser-usage-code-sample.html#comment-form' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5528757857863832549/posts/default/8895530403081483762'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5528757857863832549/posts/default/8895530403081483762'/><link rel='alternate' type='text/html' href='http://tothepointtalks.blogspot.com/2009/11/saxparser-usage-code-sample.html' title='SAXParser usage code sample'/><author><name>Bhushan Bhangale</name><uri>http://www.blogger.com/profile/05520332118172160671</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5528757857863832549.post-478725459320431115</id><published>2009-10-30T15:44:00.005+05:30</published><updated>2009-10-30T17:01:27.127+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='java'/><category scheme='http://www.blogger.com/atom/ns#' term='log4j'/><category scheme='http://www.blogger.com/atom/ns#' term='apache'/><category scheme='http://www.blogger.com/atom/ns#' term='tomcat'/><title type='text'>Configure Log4j for a web application on Apache Tomcat</title><summary type='text'>Today I stumbled upon a problem of configuring log4j for a web application on Apache Tomcat. The problem is where to keep the log4j.xml and how initialize the logging system. One way is to keep the log4j.xml anywhere and change the Tomcat startup script to add -Dlog4j.configuration=&lt;log4j.xml file path&gt; but I do not want to depend on a change in Tomcat startup script.I tried all the possible </summary><link rel='replies' type='application/atom+xml' href='http://tothepointtalks.blogspot.com/feeds/478725459320431115/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tothepointtalks.blogspot.com/2009/10/configure-log4j-for-web-application-on.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5528757857863832549/posts/default/478725459320431115'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5528757857863832549/posts/default/478725459320431115'/><link rel='alternate' type='text/html' href='http://tothepointtalks.blogspot.com/2009/10/configure-log4j-for-web-application-on.html' title='Configure Log4j for a web application on Apache Tomcat'/><author><name>Bhushan Bhangale</name><uri>http://www.blogger.com/profile/05520332118172160671</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5528757857863832549.post-6758851197104369330</id><published>2009-06-19T09:16:00.000+05:30</published><updated>2009-06-19T09:18:15.298+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='java'/><category scheme='http://www.blogger.com/atom/ns#' term='projecteuler'/><title type='text'>Project Euler Problem 5</title><summary type='text'>Problem 52520 is the smallest number that can be divided by each of the numbers from 1 to 10 without any remainder.What is the smallest number that is evenly divisible by all of the numbers from 1 to 20?public class ProblemFive {    public static void main(String[] args) {        // Any number will be always divisible by 1        // To be divisible by 2 it has to be an even number        // </summary><link rel='replies' type='application/atom+xml' href='http://tothepointtalks.blogspot.com/feeds/6758851197104369330/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tothepointtalks.blogspot.com/2009/06/project-euler-problem-5.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5528757857863832549/posts/default/6758851197104369330'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5528757857863832549/posts/default/6758851197104369330'/><link rel='alternate' type='text/html' href='http://tothepointtalks.blogspot.com/2009/06/project-euler-problem-5.html' title='Project Euler Problem 5'/><author><name>Bhushan Bhangale</name><uri>http://www.blogger.com/profile/05520332118172160671</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5528757857863832549.post-4585804540776646280</id><published>2009-06-17T10:32:00.002+05:30</published><updated>2009-06-17T10:43:46.906+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='gwt'/><category scheme='http://www.blogger.com/atom/ns#' term='framework'/><category scheme='http://www.blogger.com/atom/ns#' term='extJS'/><category scheme='http://www.blogger.com/atom/ns#' term='rich-internet-application'/><category scheme='http://www.blogger.com/atom/ns#' term='Silverlight'/><category scheme='http://www.blogger.com/atom/ns#' term='Flex'/><title type='text'>RIA frameworks compared</title><summary type='text'>Web based application having desktop like GUI is popularly known as RIA (Rich Internet Application). In old days only few solutions were available namely Java applet, Flash, Dynamic html, etc. Nowadays there are loads of frameworks which provide desktop like experience. These frameworks are based on AJAX (Asynchronous JavaScript + XML) technology.The choices of RIA frameworks are huge and it's </summary><link rel='replies' type='application/atom+xml' href='http://tothepointtalks.blogspot.com/feeds/4585804540776646280/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tothepointtalks.blogspot.com/2009/06/ria-frameworks-compared.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5528757857863832549/posts/default/4585804540776646280'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5528757857863832549/posts/default/4585804540776646280'/><link rel='alternate' type='text/html' href='http://tothepointtalks.blogspot.com/2009/06/ria-frameworks-compared.html' title='RIA frameworks compared'/><author><name>Bhushan Bhangale</name><uri>http://www.blogger.com/profile/05520332118172160671</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5528757857863832549.post-2497458755478776420</id><published>2009-06-15T14:08:00.002+05:30</published><updated>2009-06-15T14:13:13.315+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='java'/><category scheme='http://www.blogger.com/atom/ns#' term='projecteuler'/><title type='text'>Project Euler Problem 4</title><summary type='text'>Problem 4A palindromic number reads the same both ways. The largest palindrome made from the product of two 2-digit numbers is 9009 = 91  99.Find the largest palindrome made from the product of two 3-digit numbers.The solution is to multiply each three digit number and check if its a palindrome or not.public class ProblemFour {    public static void main(String[] args) {        int palindrome = </summary><link rel='replies' type='application/atom+xml' href='http://tothepointtalks.blogspot.com/feeds/2497458755478776420/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tothepointtalks.blogspot.com/2009/06/project-euler-problem-4.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5528757857863832549/posts/default/2497458755478776420'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5528757857863832549/posts/default/2497458755478776420'/><link rel='alternate' type='text/html' href='http://tothepointtalks.blogspot.com/2009/06/project-euler-problem-4.html' title='Project Euler Problem 4'/><author><name>Bhushan Bhangale</name><uri>http://www.blogger.com/profile/05520332118172160671</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5528757857863832549.post-6227794201777370013</id><published>2009-06-15T14:04:00.002+05:30</published><updated>2009-06-15T14:15:00.916+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='java'/><category scheme='http://www.blogger.com/atom/ns#' term='hibernate'/><category scheme='http://www.blogger.com/atom/ns#' term='annotations'/><title type='text'>Hibernate OneToMany annotation mapping using JoinTable</title><summary type='text'>Hibernate OneToMany annotation mapping using JoinTableRecently I explored Hibernate OneToMany annotation mapping using JoinTable.Consider an Airline entity having list of Airports. The mapping between the two is stored in a JoinTable airline_airports.CREATE TABLE airline(   code char(2) PRIMARY KEY NOT NULL,   name varchar(50) NOT NULL);CREATE TABLE airport(   code char(3) PRIMARY KEY NOT NULL,</summary><link rel='replies' type='application/atom+xml' href='http://tothepointtalks.blogspot.com/feeds/6227794201777370013/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tothepointtalks.blogspot.com/2009/06/hibernate-onetomany-annotation-mapping.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5528757857863832549/posts/default/6227794201777370013'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5528757857863832549/posts/default/6227794201777370013'/><link rel='alternate' type='text/html' href='http://tothepointtalks.blogspot.com/2009/06/hibernate-onetomany-annotation-mapping.html' title='Hibernate OneToMany annotation mapping using JoinTable'/><author><name>Bhushan Bhangale</name><uri>http://www.blogger.com/profile/05520332118172160671</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5528757857863832549.post-1517329985534706120</id><published>2009-06-08T11:17:00.002+05:30</published><updated>2009-06-08T11:30:45.636+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='gwt'/><category scheme='http://www.blogger.com/atom/ns#' term='rich-internet-application'/><title type='text'>Benefits of GWT</title><summary type='text'>After evaluating and reading various Rich Internet Application solutions, I have finally selected GWT and GWT-Ext. I developed a prototype using GWT 1.6.4, GWT-Ext 2.0.5, GWTRPC-spring 1.01 on Tomcat 6.0.18 with back end in Spring 2.5.6 and Hibernate 3.3.1. I kept the architecture simple and separate layers by developing UI in GWT and business logic in Spring beans. As you know the whole GWT UI </summary><link rel='replies' type='application/atom+xml' href='http://tothepointtalks.blogspot.com/feeds/1517329985534706120/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tothepointtalks.blogspot.com/2009/06/benefits-of-gwt.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5528757857863832549/posts/default/1517329985534706120'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5528757857863832549/posts/default/1517329985534706120'/><link rel='alternate' type='text/html' href='http://tothepointtalks.blogspot.com/2009/06/benefits-of-gwt.html' title='Benefits of GWT'/><author><name>Bhushan Bhangale</name><uri>http://www.blogger.com/profile/05520332118172160671</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5528757857863832549.post-7294814834432125514</id><published>2009-05-26T13:58:00.003+05:30</published><updated>2009-06-08T11:16:05.457+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='m2eclipse'/><category scheme='http://www.blogger.com/atom/ns#' term='debugger'/><category scheme='http://www.blogger.com/atom/ns#' term='gwt'/><category scheme='http://www.blogger.com/atom/ns#' term='maven'/><title type='text'>GWT with maven and eclipse</title><summary type='text'>Setting up a latest GWT project in eclipse along with Maven was not straight forward. Here is step-by-step guide on how I managed to setup my environment.I assume you have Eclipse installed with m2eclipse plugin. Also Maven installed and its maven executable is in your environment PATH.Run the below maven archetype to create a project shell. I named my project gwttest.mvn archetype:create -</summary><link rel='replies' type='application/atom+xml' href='http://tothepointtalks.blogspot.com/feeds/7294814834432125514/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tothepointtalks.blogspot.com/2009/05/gwt-with-maven-and-eclipse.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5528757857863832549/posts/default/7294814834432125514'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5528757857863832549/posts/default/7294814834432125514'/><link rel='alternate' type='text/html' href='http://tothepointtalks.blogspot.com/2009/05/gwt-with-maven-and-eclipse.html' title='GWT with maven and eclipse'/><author><name>Bhushan Bhangale</name><uri>http://www.blogger.com/profile/05520332118172160671</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5528757857863832549.post-499239223909245725</id><published>2009-05-21T10:31:00.004+05:30</published><updated>2009-05-26T14:02:19.969+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='m2eclipse'/><category scheme='http://www.blogger.com/atom/ns#' term='maven'/><title type='text'>Maven web application</title><summary type='text'>As mentioned in my POC, I used maven to develop the sample application. You need latest maven installed on your system.Execute this command to create a web application structure.mvn archetype:create -DgroupId=com.travel -DartifactId=travel -DarchetypeArtifactId=maven-archetype-webappReplace the pom.xml with this xml. This is the final pom of my POC. Notice the exclusion of asm and cglib libraries</summary><link rel='replies' type='application/atom+xml' href='http://tothepointtalks.blogspot.com/feeds/499239223909245725/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tothepointtalks.blogspot.com/2009/05/maven-web-application.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5528757857863832549/posts/default/499239223909245725'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5528757857863832549/posts/default/499239223909245725'/><link rel='alternate' type='text/html' href='http://tothepointtalks.blogspot.com/2009/05/maven-web-application.html' title='Maven web application'/><author><name>Bhushan Bhangale</name><uri>http://www.blogger.com/profile/05520332118172160671</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5528757857863832549.post-3335501367840211953</id><published>2009-05-21T10:00:00.002+05:30</published><updated>2009-06-15T14:14:16.197+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='java'/><category scheme='http://www.blogger.com/atom/ns#' term='webservice'/><category scheme='http://www.blogger.com/atom/ns#' term='spring'/><category scheme='http://www.blogger.com/atom/ns#' term='cxf'/><category scheme='http://www.blogger.com/atom/ns#' term='apache'/><category scheme='http://www.blogger.com/atom/ns#' term='annotations'/><title type='text'>Apache cxf using annotations and integration with Spring</title><summary type='text'>Today I will show you how you can create a webservice using Apache CXF version 2.2.1. I will be building this webservice on top of my previous application.Create a interface AirlineManager to expose methods over webservice. The create method takes airline code and name to create a Airline record in database. Annotation @WebService tells that this is a interface for webservice.package com.travel;</summary><link rel='replies' type='application/atom+xml' href='http://tothepointtalks.blogspot.com/feeds/3335501367840211953/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tothepointtalks.blogspot.com/2009/05/apache-cxf-using-annotations-and.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5528757857863832549/posts/default/3335501367840211953'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5528757857863832549/posts/default/3335501367840211953'/><link rel='alternate' type='text/html' href='http://tothepointtalks.blogspot.com/2009/05/apache-cxf-using-annotations-and.html' title='Apache cxf using annotations and integration with Spring'/><author><name>Bhushan Bhangale</name><uri>http://www.blogger.com/profile/05520332118172160671</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5528757857863832549.post-7336071741570892932</id><published>2009-05-20T09:45:00.007+05:30</published><updated>2009-05-21T09:40:47.514+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='java'/><category scheme='http://www.blogger.com/atom/ns#' term='hibernate'/><category scheme='http://www.blogger.com/atom/ns#' term='spring'/><category scheme='http://www.blogger.com/atom/ns#' term='annotations'/><title type='text'>Hibernate integration with Spring</title><summary type='text'>In my last post Basic Hibernate Annotations example, I wrote about a simple hibernate example. Today I will take that example forward and show you how you can integrate hibernate with Spring. I used Spring version 2.5.6.SEC01.Create spring-context.xml file. We define a spring datasource, hibernate session factory, hibernate template(spring wrapper api of hibernate session), transaction manager. </summary><link rel='replies' type='application/atom+xml' href='http://tothepointtalks.blogspot.com/feeds/7336071741570892932/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tothepointtalks.blogspot.com/2009/05/hibernate-integration-with-spring.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5528757857863832549/posts/default/7336071741570892932'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5528757857863832549/posts/default/7336071741570892932'/><link rel='alternate' type='text/html' href='http://tothepointtalks.blogspot.com/2009/05/hibernate-integration-with-spring.html' title='Hibernate integration with Spring'/><author><name>Bhushan Bhangale</name><uri>http://www.blogger.com/profile/05520332118172160671</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5528757857863832549.post-6375219117057840519</id><published>2009-05-18T14:18:00.006+05:30</published><updated>2009-05-21T10:30:47.025+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='java'/><category scheme='http://www.blogger.com/atom/ns#' term='hibernate'/><category scheme='http://www.blogger.com/atom/ns#' term='annotations'/><title type='text'>Basic Hibernate Annotations example</title><summary type='text'>As part of my POC, today I developed a simple hibernate annotations based example. To run this example, you need JDK 5.0 or higher and hibernate 3.2.0.GA or above. I am using JDK 1.6, MySql 5.1, Tomcat 6.0.18 and Hibernate 3.3.1.GA.Create hibernate.cfg.xml file. This file should be available in the classpath at runtime. I developed this example as part of a web application and I am using a </summary><link rel='replies' type='application/atom+xml' href='http://tothepointtalks.blogspot.com/feeds/6375219117057840519/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tothepointtalks.blogspot.com/2009/05/basic-hibernate-annotations-example.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5528757857863832549/posts/default/6375219117057840519'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5528757857863832549/posts/default/6375219117057840519'/><link rel='alternate' type='text/html' href='http://tothepointtalks.blogspot.com/2009/05/basic-hibernate-annotations-example.html' title='Basic Hibernate Annotations example'/><author><name>Bhushan Bhangale</name><uri>http://www.blogger.com/profile/05520332118172160671</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5528757857863832549.post-3656865229499975364</id><published>2009-05-18T12:14:00.005+05:30</published><updated>2009-05-21T10:28:40.211+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='datasource'/><category scheme='http://www.blogger.com/atom/ns#' term='tomcat'/><title type='text'>How to configure a datasource in Apache Tomcat</title><summary type='text'>I have to build a POC (proof of concept) using JDK6, Spring, Hibernate and Apache CXF on Apache Tomcat. I will be using Maven build tool and Nexus repository. My IDE is Eclipse with m2eclipse and spring IDE plugin. In a nutshell we need a webservice application and I have chosen these technologies to develop the solution. I thought it would be a good idea if I blog on how I developed this POC. I </summary><link rel='replies' type='application/atom+xml' href='http://tothepointtalks.blogspot.com/feeds/3656865229499975364/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tothepointtalks.blogspot.com/2009/05/how-to-configure-datasource-in-tomcat.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5528757857863832549/posts/default/3656865229499975364'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5528757857863832549/posts/default/3656865229499975364'/><link rel='alternate' type='text/html' href='http://tothepointtalks.blogspot.com/2009/05/how-to-configure-datasource-in-tomcat.html' title='How to configure a datasource in Apache Tomcat'/><author><name>Bhushan Bhangale</name><uri>http://www.blogger.com/profile/05520332118172160671</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5528757857863832549.post-6375631594225020769</id><published>2009-05-15T09:35:00.002+05:30</published><updated>2009-05-15T09:39:24.124+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='java'/><category scheme='http://www.blogger.com/atom/ns#' term='projecteuler'/><title type='text'>Project Euler Problem 3</title><summary type='text'>Problem 3The prime factors of 13195 are 5, 7, 13 and 29.What is the largest prime factor of the number 600851475143 ?The solution is to find a factor and check if its a prime number. Since we need largest prime factor, run the for loop in reverse direction. Also a prime factor of a number cannot be greater than the square root of the number.public class ProblemThree {    public static void main(</summary><link rel='replies' type='application/atom+xml' href='http://tothepointtalks.blogspot.com/feeds/6375631594225020769/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tothepointtalks.blogspot.com/2009/05/project-euler-problem-3.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5528757857863832549/posts/default/6375631594225020769'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5528757857863832549/posts/default/6375631594225020769'/><link rel='alternate' type='text/html' href='http://tothepointtalks.blogspot.com/2009/05/project-euler-problem-3.html' title='Project Euler Problem 3'/><author><name>Bhushan Bhangale</name><uri>http://www.blogger.com/profile/05520332118172160671</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5528757857863832549.post-2736909848742108563</id><published>2009-05-14T08:26:00.004+05:30</published><updated>2009-05-14T14:06:34.589+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='framework'/><category scheme='http://www.blogger.com/atom/ns#' term='rich-internet-application'/><title type='text'>Rich Internet application</title><summary type='text'>Web based application having desktop like GUI is popularly known as RIA(Rich Internet Application). I need to develop such a rich interactive web based application. In old days we used to have only few solutions - Java applet, Flash, Dynamic html. Nowadays there are loads of frameworks which provide desktop like experience. These frameworks are based on ajax technology.I thought it would be easy </summary><link rel='replies' type='application/atom+xml' href='http://tothepointtalks.blogspot.com/feeds/2736909848742108563/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tothepointtalks.blogspot.com/2009/05/rich-internet-application.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5528757857863832549/posts/default/2736909848742108563'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5528757857863832549/posts/default/2736909848742108563'/><link rel='alternate' type='text/html' href='http://tothepointtalks.blogspot.com/2009/05/rich-internet-application.html' title='Rich Internet application'/><author><name>Bhushan Bhangale</name><uri>http://www.blogger.com/profile/05520332118172160671</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5528757857863832549.post-4580933077983178901</id><published>2009-05-13T15:40:00.002+05:30</published><updated>2009-05-13T15:47:59.857+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='java'/><category scheme='http://www.blogger.com/atom/ns#' term='projecteuler'/><title type='text'>Project Euler Problem 2</title><summary type='text'>Today I got some time to look at Euler Problem 2.Problem 2Each new term in the Fibonacci sequence is generated by adding the previous two terms. By starting with 1 and 2, the first 10 terms will be:1, 2, 3, 5, 8, 13, 21, 34, 55, 89, ...Find the sum of all the even-valued terms in the sequence which do not exceed four million.The solution is to run a loop to find the next term in Fibonacci series.</summary><link rel='replies' type='application/atom+xml' href='http://tothepointtalks.blogspot.com/feeds/4580933077983178901/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tothepointtalks.blogspot.com/2009/05/project-euler-problem-2.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5528757857863832549/posts/default/4580933077983178901'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5528757857863832549/posts/default/4580933077983178901'/><link rel='alternate' type='text/html' href='http://tothepointtalks.blogspot.com/2009/05/project-euler-problem-2.html' title='Project Euler Problem 2'/><author><name>Bhushan Bhangale</name><uri>http://www.blogger.com/profile/05520332118172160671</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5528757857863832549.post-1657830909165990181</id><published>2009-05-11T15:22:00.002+05:30</published><updated>2009-05-13T15:48:19.868+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='java'/><category scheme='http://www.blogger.com/atom/ns#' term='projecteuler'/><title type='text'>Project Euler Problem 1</title><summary type='text'>Recently I came across Project Euler web site. This is what the site has to say"Project Euler is a series of challenging mathematical/computer programming problems that will require more than just mathematical insights to solve. Although mathematics will help you arrive at elegant and efficient methods, the use of a computer and programming skills will be required to solve most problems. The </summary><link rel='replies' type='application/atom+xml' href='http://tothepointtalks.blogspot.com/feeds/1657830909165990181/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tothepointtalks.blogspot.com/2009/05/project-euler-problem-1.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5528757857863832549/posts/default/1657830909165990181'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5528757857863832549/posts/default/1657830909165990181'/><link rel='alternate' type='text/html' href='http://tothepointtalks.blogspot.com/2009/05/project-euler-problem-1.html' title='Project Euler Problem 1'/><author><name>Bhushan Bhangale</name><uri>http://www.blogger.com/profile/05520332118172160671</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5528757857863832549.post-768668379190324374</id><published>2009-05-06T09:40:00.001+05:30</published><updated>2009-05-06T09:40:59.823+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='java'/><title type='text'>.equals Vs == in Java</title><summary type='text'>Recently a Java developer asked for help in a J2EE application. He was stuck in a bug for the past two days. The development environment was Windows, Eclipse IDE and Tomcat server. He was using old mill fashion of debugging by adding System.out.println in his code. Before anything else I asked him to setup debugger in Eclipse. The debugger made his life easy and helped him quickly figure out the </summary><link rel='replies' type='application/atom+xml' href='http://tothepointtalks.blogspot.com/feeds/768668379190324374/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tothepointtalks.blogspot.com/2009/05/equals-vs-in-java_06.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5528757857863832549/posts/default/768668379190324374'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5528757857863832549/posts/default/768668379190324374'/><link rel='alternate' type='text/html' href='http://tothepointtalks.blogspot.com/2009/05/equals-vs-in-java_06.html' title='.equals Vs == in Java'/><author><name>Bhushan Bhangale</name><uri>http://www.blogger.com/profile/05520332118172160671</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5528757857863832549.post-6698438444625545507</id><published>2009-05-05T11:41:00.001+05:30</published><updated>2009-05-05T11:52:32.865+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='debugger'/><category scheme='http://www.blogger.com/atom/ns#' term='eclipse'/><title type='text'>Configure Eclipse for Remote Debugging</title><summary type='text'>A J2EE developer always finds it difficult to debug a web application. The developer has to rely on log4j logging to understand what is happening. Although exception stack trace provides valuable info but at times it's not enough to debug a problem. Even for a trivial problem sometimes debugging takes ages. What if a developer can follow the execution in real-time and able to see the flow, values</summary><link rel='replies' type='application/atom+xml' href='http://tothepointtalks.blogspot.com/feeds/6698438444625545507/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tothepointtalks.blogspot.com/2009/05/configure-eclipse-for-remote-debugging.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5528757857863832549/posts/default/6698438444625545507'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5528757857863832549/posts/default/6698438444625545507'/><link rel='alternate' type='text/html' href='http://tothepointtalks.blogspot.com/2009/05/configure-eclipse-for-remote-debugging.html' title='Configure Eclipse for Remote Debugging'/><author><name>Bhushan Bhangale</name><uri>http://www.blogger.com/profile/05520332118172160671</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5528757857863832549.post-8818059650516127810</id><published>2009-04-29T14:50:00.008+05:30</published><updated>2009-05-26T14:01:11.866+05:30</updated><title type='text'>How to save YouTube videos on desktop?</title><summary type='text'>Many a times we come across a video on YouTube which we want to save on desktop. You can watch the video again later without visiting the internet. Well this can be done easily in few steps.Watch the full video which you want to save on youtube in Internet Explorer.Goto Tools &gt; Internet Options &gt; Browsing History &gt; Settings &gt; View Files. A explorer window will open.Click on "Last Accessed" column</summary><link rel='replies' type='application/atom+xml' href='http://tothepointtalks.blogspot.com/feeds/8818059650516127810/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tothepointtalks.blogspot.com/2009/04/how-to-save-youtube-videos-on-desktop.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5528757857863832549/posts/default/8818059650516127810'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5528757857863832549/posts/default/8818059650516127810'/><link rel='alternate' type='text/html' href='http://tothepointtalks.blogspot.com/2009/04/how-to-save-youtube-videos-on-desktop.html' title='How to save YouTube videos on desktop?'/><author><name>Bhushan Bhangale</name><uri>http://www.blogger.com/profile/05520332118172160671</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5528757857863832549.post-6350066778860683592</id><published>2009-04-25T10:12:00.009+05:30</published><updated>2009-05-26T14:00:57.142+05:30</updated><title type='text'>Stack Overflow</title><summary type='text'>Few months ago, I came across a programming question and answer (Q &amp; A) site named Stack Overflow. Joel Spolsky and Jeff Atwood are the founder of this wonderful site. Its a fairly new site, only 8 months into existence as of now. But the community is already huge and people are active round the clock, questions get answered in no time. Well what is special about this site, there are thousands of</summary><link rel='replies' type='application/atom+xml' href='http://tothepointtalks.blogspot.com/feeds/6350066778860683592/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tothepointtalks.blogspot.com/2009/04/stack-overflow.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5528757857863832549/posts/default/6350066778860683592'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5528757857863832549/posts/default/6350066778860683592'/><link rel='alternate' type='text/html' href='http://tothepointtalks.blogspot.com/2009/04/stack-overflow.html' title='Stack Overflow'/><author><name>Bhushan Bhangale</name><uri>http://www.blogger.com/profile/05520332118172160671</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5528757857863832549.post-8067210269403793555</id><published>2009-04-24T15:52:00.008+05:30</published><updated>2009-05-26T14:00:28.680+05:30</updated><title type='text'>About me</title><summary type='text'>I am Bhushan Bhangale. I live in Pune, India with my wife and a lovely daughter. I am a software developer mainly programming in Java (what the heck), well for my living.I am not an expert of anything but thought writing will at least help me developing my writing skills, if not helping or amusing anybody with my thoughts. Also I will get to know your view on my thoughts if you managed to spot me</summary><link rel='replies' type='application/atom+xml' href='http://tothepointtalks.blogspot.com/feeds/8067210269403793555/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tothepointtalks.blogspot.com/2009/04/about-me.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5528757857863832549/posts/default/8067210269403793555'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5528757857863832549/posts/default/8067210269403793555'/><link rel='alternate' type='text/html' href='http://tothepointtalks.blogspot.com/2009/04/about-me.html' title='About me'/><author><name>Bhushan Bhangale</name><uri>http://www.blogger.com/profile/05520332118172160671</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>
