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. Read more of this post

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 company.

“For those who believe, no proof is necessary. For those who don’t believe, no proof is possible.”
– Stuart Chase quotes (Writer and Economist, b.1888 )

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?

Read more of this post

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.

Read more of this post

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 know the reason behind the Interface concept in Java. Read more of this post

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.

Read more of this post

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 date/time issue across the application.

Read more of this post

JSF Best Practices

Here I am documenting some best practices can be followed during JSF project development.

Read more of this post

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 advantages and disadvantages of JSF.

Read more of this post

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???

Read more of this post

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 private is the only way to implement singleton pattern? Is that the best way to implement singleton pattern?

Read more of this post

Java: How to stop a thread?

Sun deprecated Thread.stop() because it is unsafe. They didn’t provide any direct alternative for this operation; instead they are making us to reinvent the wheel. Here I am sharing my style of safe thread stop implementation. Read more of this post

Volatile and doubled checked locking in Java

During my Java training, I read about volatile keyword, but didn’t get clear understanding. Recently when I wrote a singleton class using double checked locking, PMD code reviewer gave a warning not to use volatile. Later I started exploring on double checked locking issue, here is my observation.

Read more of this post

Spring Web Flow / Shale Dialog

Recently I got an opportunity to explore Spring Web FlowExternal Link framework. Later I came to know that Shale DialogExternal Link also solves the same problem. JBoss Seam too solves the same problem.

Read more of this post

A shift from Aspire to Bally

Friends, I moved from Aspire Systems to Bally Technologies on Feb 1, 2008.

Aspire colleague: I am extremely sorry for not meeting you personally due to last minute handover process. Keep in touch.

I would like to talk about my experience in jelling with existing team on new job.

Read more of this post