<?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-10204394</id><updated>2011-12-14T19:06:19.315-08:00</updated><category term='technology'/><category term='connection pool'/><category term='database'/><title type='text'>What did you learn today?</title><subtitle type='html'>We have 365 days in an year. If we learn atleast one thing a day, however small it may be, at the end of the year, you will have learnt 365 new things! So lets get going!</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://whatdidyoulearntoday.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/10204394/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://whatdidyoulearntoday.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Deepak Saini</name><uri>http://www.blogger.com/profile/12004528342711392109</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://photos3.flickr.com/2868090_9aac49843e.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>11</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-10204394.post-6593430944399145205</id><published>2009-01-20T22:06:00.000-08:00</published><updated>2009-01-20T22:08:19.488-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='technology'/><category scheme='http://www.blogger.com/atom/ns#' term='database'/><category scheme='http://www.blogger.com/atom/ns#' term='connection pool'/><title type='text'>Database Connection Pooling</title><summary type='text'>Database connection pool is a collection/group of identical JDBC connections to a database. These connections are created when the connection pool is build or as and when a connection is required. The applications usually interact with some form of database and getting a connection from the application to fetch/update the data in the database, require some time which is unacceptable if we create </summary><link rel='replies' type='application/atom+xml' href='http://whatdidyoulearntoday.blogspot.com/feeds/6593430944399145205/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=10204394&amp;postID=6593430944399145205&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/10204394/posts/default/6593430944399145205'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/10204394/posts/default/6593430944399145205'/><link rel='alternate' type='text/html' href='http://whatdidyoulearntoday.blogspot.com/2009/01/database-connection-pooling.html' title='Database Connection Pooling'/><author><name>Deepak Saini</name><uri>http://www.blogger.com/profile/12004528342711392109</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://photos3.flickr.com/2868090_9aac49843e.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-10204394.post-113230770326187040</id><published>2005-11-18T01:50:00.000-08:00</published><updated>2005-11-18T02:50:58.860-08:00</updated><title type='text'>Core J2EE patterns: Business Delegate</title><summary type='text'>Context: The client does remote method invocation and is exposed to the complexity of the underlying business service implementationProblem1. Different clients need to access business services.2. The client is exposed to the implementation of the business service.3. If the service implementation is modified, the client is also affected.4. Unncessary network communcation (too many invocation </summary><link rel='replies' type='application/atom+xml' href='http://whatdidyoulearntoday.blogspot.com/feeds/113230770326187040/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=10204394&amp;postID=113230770326187040&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/10204394/posts/default/113230770326187040'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/10204394/posts/default/113230770326187040'/><link rel='alternate' type='text/html' href='http://whatdidyoulearntoday.blogspot.com/2005/11/core-j2ee-patterns-business-delegate.html' title='Core J2EE patterns: Business Delegate'/><author><name>Deepak Saini</name><uri>http://www.blogger.com/profile/12004528342711392109</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://photos3.flickr.com/2868090_9aac49843e.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-10204394.post-112904044009563939</id><published>2005-10-11T07:19:00.000-07:00</published><updated>2005-10-11T07:20:40.103-07:00</updated><title type='text'>Pessimistic and optimistic locking</title><summary type='text'>Pessimistic and optimistic lockingThere are two different ways transactional locking is done. Pessimistic and optimistic locking and that is how transactional isolation is achieved.When we do pessimistic locking, we lock the resource when it is accessed the very first time and the lock is not released till the time, transaction is finished i.e, either committed or rolled back. The disadvantages </summary><link rel='replies' type='application/atom+xml' href='http://whatdidyoulearntoday.blogspot.com/feeds/112904044009563939/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=10204394&amp;postID=112904044009563939&amp;isPopup=true' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/10204394/posts/default/112904044009563939'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/10204394/posts/default/112904044009563939'/><link rel='alternate' type='text/html' href='http://whatdidyoulearntoday.blogspot.com/2005/10/pessimistic-and-optimistic-locking.html' title='Pessimistic and optimistic locking'/><author><name>Deepak Saini</name><uri>http://www.blogger.com/profile/12004528342711392109</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://photos3.flickr.com/2868090_9aac49843e.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-10204394.post-110657012792070666</id><published>2005-10-10T09:32:00.000-07:00</published><updated>2005-10-10T05:21:40.080-07:00</updated><title type='text'>Spring framework</title><summary type='text'>These days I am reading the book. Spring: A Developer's notebook. A real fundu book. Just finished the basic understanding part and now reading how to implement MVC based on the spring framework.What surprises me is the ease with which you can write code with Spring. So simple, yet beautiful and powerful.</summary><link rel='replies' type='application/atom+xml' href='http://whatdidyoulearntoday.blogspot.com/feeds/110657012792070666/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=10204394&amp;postID=110657012792070666&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/10204394/posts/default/110657012792070666'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/10204394/posts/default/110657012792070666'/><link rel='alternate' type='text/html' href='http://whatdidyoulearntoday.blogspot.com/2005/10/spring-framework.html' title='Spring framework'/><author><name>Deepak Saini</name><uri>http://www.blogger.com/profile/12004528342711392109</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://photos3.flickr.com/2868090_9aac49843e.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-10204394.post-112894470432354183</id><published>2005-10-10T04:41:00.000-07:00</published><updated>2005-10-10T04:45:04.336-07:00</updated><title type='text'>Spring and EJB</title><summary type='text'>Why Spring makes sense?1. Spring keeps the framework out of the code. i.e, no framework-specific requirements on objects.2. Spring is simpler than EJB mostly because they take a more POJO-based approach,3. Code is not heavily dependent on the container so unit testing is easy.You can even run some integration tests using a Spring container but not a heavier J2EE app server–unlike any app server, </summary><link rel='replies' type='application/atom+xml' href='http://whatdidyoulearntoday.blogspot.com/feeds/112894470432354183/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=10204394&amp;postID=112894470432354183&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/10204394/posts/default/112894470432354183'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/10204394/posts/default/112894470432354183'/><link rel='alternate' type='text/html' href='http://whatdidyoulearntoday.blogspot.com/2005/10/spring-and-ejb.html' title='Spring and EJB'/><author><name>Deepak Saini</name><uri>http://www.blogger.com/profile/12004528342711392109</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://photos3.flickr.com/2868090_9aac49843e.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-10204394.post-111216674622143042</id><published>2005-03-29T23:11:00.000-08:00</published><updated>2005-03-29T23:12:26.223-08:00</updated><title type='text'>JProxy</title><summary type='text'>JProxy is an J2EE HTTP tunnel with SSL and JAAS support for EJB, RMI, JNDI, JMS and CORBA. It was designed with the thought of creating a unified object model that lets you design your solution Internet without worrying about HTTP, Firewall drawbacks, implementation differences between different Application Servers, and integration between J2EE and CORBA standards. JProxy enables CORBA, JMS and </summary><link rel='replies' type='application/atom+xml' href='http://whatdidyoulearntoday.blogspot.com/feeds/111216674622143042/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=10204394&amp;postID=111216674622143042&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/10204394/posts/default/111216674622143042'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/10204394/posts/default/111216674622143042'/><link rel='alternate' type='text/html' href='http://whatdidyoulearntoday.blogspot.com/2005/03/jproxy.html' title='JProxy'/><author><name>Deepak Saini</name><uri>http://www.blogger.com/profile/12004528342711392109</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://photos3.flickr.com/2868090_9aac49843e.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-10204394.post-110925641347402741</id><published>2005-02-24T06:45:00.000-08:00</published><updated>2005-02-24T07:10:37.230-08:00</updated><title type='text'>Easie and Myeclipse</title><summary type='text'>Note: If you are not able to see the pictures in this post clearly, I would suggest saving these pictures locally and then using any picture viewer tool to enlarge it. One of the projects I work on uses Easie welbogic plug-in. The development environment is already established and there is nothing much left there to experiment with. To understand it better, I thought about installing this plug-in</summary><link rel='replies' type='application/atom+xml' href='http://whatdidyoulearntoday.blogspot.com/feeds/110925641347402741/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=10204394&amp;postID=110925641347402741&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/10204394/posts/default/110925641347402741'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/10204394/posts/default/110925641347402741'/><link rel='alternate' type='text/html' href='http://whatdidyoulearntoday.blogspot.com/2005/02/easie-and-myeclipse_24.html' title='Easie and Myeclipse'/><author><name>Deepak Saini</name><uri>http://www.blogger.com/profile/12004528342711392109</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://photos3.flickr.com/2868090_9aac49843e.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-10204394.post-110864826065572300</id><published>2005-02-17T05:31:00.000-08:00</published><updated>2005-02-17T07:31:52.156-08:00</updated><title type='text'>Introduction on JCoverage</title><summary type='text'>Hi!Today, I attended a small session on JCoverage. Not much in detail. But enuf to move forward. JCoverage lets you find out how much of your code is covered with your JUnit test test cases.In the example we worked on, we wrote some code and Junit test cases.Then we modified our ant build file. We defined another target 'instrument' like below:&lt;target unless="skip.build.instrument" depends="init"</summary><link rel='replies' type='application/atom+xml' href='http://whatdidyoulearntoday.blogspot.com/feeds/110864826065572300/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=10204394&amp;postID=110864826065572300&amp;isPopup=true' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/10204394/posts/default/110864826065572300'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/10204394/posts/default/110864826065572300'/><link rel='alternate' type='text/html' href='http://whatdidyoulearntoday.blogspot.com/2005/02/introduction-on-jcoverage.html' title='Introduction on JCoverage'/><author><name>Deepak Saini</name><uri>http://www.blogger.com/profile/12004528342711392109</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://photos3.flickr.com/2868090_9aac49843e.jpg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-10204394.post-110820060555017040</id><published>2005-02-12T01:26:00.000-08:00</published><updated>2005-02-12T03:36:57.993-08:00</updated><title type='text'>Use of this and super key words</title><summary type='text'>Use of this and super key words-------------------------------------------------------------ConstructorsConstructors are special methods which are used for creating an instance of a class and initializing that instance.Consider the following example:/** Created on Feb 12, 2005**/package deepak.learn.twelve_feb_five;/*** @author Deepak.Saini**/public class ConstructorExample {int instanceVariable;</summary><link rel='replies' type='application/atom+xml' href='http://whatdidyoulearntoday.blogspot.com/feeds/110820060555017040/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=10204394&amp;postID=110820060555017040&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/10204394/posts/default/110820060555017040'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/10204394/posts/default/110820060555017040'/><link rel='alternate' type='text/html' href='http://whatdidyoulearntoday.blogspot.com/2005/02/use-of-this-and-super-key-words.html' title='Use of this and super key words'/><author><name>Deepak Saini</name><uri>http://www.blogger.com/profile/12004528342711392109</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://photos3.flickr.com/2868090_9aac49843e.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-10204394.post-110813897627719239</id><published>2005-02-11T08:22:00.000-08:00</published><updated>2005-02-12T03:34:55.323-08:00</updated><title type='text'>Java Logging API Basics</title><summary type='text'>Java Logging API Basics-----------------------------------------Java Logging API is part of Java 2 platform. It provides java.util.logging package which provides you with a logging facility with the following features-1. Embed messages inside your code2. configure at runtime whether messages should be displayed or not.3. If you decide to display the messages, you can configure what severity of </summary><link rel='replies' type='application/atom+xml' href='http://whatdidyoulearntoday.blogspot.com/feeds/110813897627719239/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=10204394&amp;postID=110813897627719239&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/10204394/posts/default/110813897627719239'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/10204394/posts/default/110813897627719239'/><link rel='alternate' type='text/html' href='http://whatdidyoulearntoday.blogspot.com/2005/02/java-logging-api-basics.html' title='Java Logging API Basics'/><author><name>Deepak Saini</name><uri>http://www.blogger.com/profile/12004528342711392109</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://photos3.flickr.com/2868090_9aac49843e.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-10204394.post-110718570014285004</id><published>2005-01-31T07:34:00.000-08:00</published><updated>2005-01-31T07:35:00.143-08:00</updated><title type='text'>When to use PortableRemoteObject.narrow() and when to simply cast the reference?</title><summary type='text'>Most RPC protocols other than RMI can't take adventage of Java's code loading facilities (because they were not designed to work solely with Java). IIOP falls into this category. Therefore, when an IIOP stub is passed to a caller as a placeholder for a remote object, the IIOP protocol dictates that the actual returned proxy will be of the declared return type, not the actual run-time type of the </summary><link rel='replies' type='application/atom+xml' href='http://whatdidyoulearntoday.blogspot.com/feeds/110718570014285004/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=10204394&amp;postID=110718570014285004&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/10204394/posts/default/110718570014285004'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/10204394/posts/default/110718570014285004'/><link rel='alternate' type='text/html' href='http://whatdidyoulearntoday.blogspot.com/2005/01/when-to-use-portableremoteobjectnarrow.html' title='When to use PortableRemoteObject.narrow() and when to simply cast the reference?'/><author><name>Deepak Saini</name><uri>http://www.blogger.com/profile/12004528342711392109</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://photos3.flickr.com/2868090_9aac49843e.jpg'/></author><thr:total>0</thr:total></entry></feed>
