-
Continue reading →: Difference between Thread.sleep() and Object.wait()
One of my favorite interview question is: What is the difference between sleep() and wait() method? The only commonality between these two method is both halts the current thread execution. The purpose and usage are entirely different.
-
Continue reading →: JSF onload action during restore and render response phase
When comparing JSF with action based frameworks like Struts, Webwork, etc. one of the major missing feature is onload action.
-
Continue reading →: Pure Java Print PDF Open Source API
PDF became widely used file format to exchange documents. There are a quite a few open source API available to create PDF document from Java application. Almost there is no good open source API available to view and print the PDF content from Java application. Fortunately sun released a open…
-
Continue reading →: Back to Basics: Statement vs. Prepared Statement
“What is the difference between Statement and Prepared Statement?” this is one of my favorite interview question. Most of the interviewee will say “Statement is not precompiled, prepared statements are precompiled, hence prepared statement will faster than statement”. My next question would be “What do you mean precompile”, the answer…
-
Continue reading →: Web2.0: Hype vs. Reality
If you listen to the Web2.0 sales and marketing (or the research reports funded by Web2.0 vendors) you would think that Web2.0 has swept the enterprise. What does this mean to the masses of enterprise product product development companies? Nothing.
-
Continue reading →: Relocated to Canada
Friends, I have relocated to Canada and now working for CSDC Systems, Inc. For some of them it might be surprise to hear this change but it is!. In the last two months a bunch change happened in my career hence it took sometime to write about the change of…
-
Continue reading →: Why JavaScript framework is important?
In the past few years AJAX, Web2.0 and RIA are a few of the most used jargon words in Web development world. How many Java web architect/developer really know how to develop these type of web applications?
-
Continue reading →: Arbitrary validation in JSF using validator attribute
Recently I was searching for an example about the arbitrary validation in JSF component, found very minimal examples in the web. Here I would like to share my knowledge on this.
-
Continue reading →: Why multiple inheritance is not allowed in Java
For long time I had a question “why Sun introduced Interface concept instead of C++ style of multiple inheritance?”. I did googling but many articles and forums talks about difference between abstract class and Interface not why Interface concept required in Java. After extensive search and analysis I came to…
-
Continue reading →: Advantages of ThreadLocal in Java
ThreadLocal is one of the rarely used class in Java. I found it is one of the powerful class in Java on multi-threaded programming. In multi-threaded program generally we use session object to track the current users information.
-
Continue reading →: JSF default timezone and date pattern
By default JSF using GMT timezone to convert the date into display format. I did Google search about this issue, found no simple solution to solve this problem. Here is a simple solution where you can provide your custom date time converter. I like this solution because it fixes GMT…
-
Continue reading →: JSF Best Practices
Here I am documenting some best practices can be followed during JSF project development.
-
Continue reading →: A critic view on JSF Framework
JSF is becoming more popular framework for user interface layer development, many architects and companies assuming that Struts is becoming outdated and JSF is catching up the market. I am not sure whether it is true at this point of time. However I would like express my critic on the…
-
Continue reading →: Don’t let hype push you select wrong technologies
Most of you might agree with title of this blog. But how many of us or our managers/ architects follow on day to day basis? It is still a big question mark???
-
Continue reading →: What is the better approach to implement Singleton pattern?
Singleton is one of the frequently used and easily understandable design pattern. Most of the tutorials and books give example of making the constructor as private and exposing a static method which will provide single instance. The common example they use is Runtime class of JRE. Is making constructor as…
