Hibernate Second level Cache

Hibernate second level cache are important for performance perspective. A second level cache is a process specific cache and is shared by all the individual session running in different threads. The data points which are good candidates for caching are:

How to make log4j dynamic

log4j works by reading the logging level from log4j.properties. However normally we put the system in such a way that the log4j.properties is read while the application is loaded initially. There are at times, we need to make the logging in such a way that we can change the logging level dynamically. This is especially useful when we want to debug a running system in certain state and we can see more elaborate bahaviour by turning the log levels to more finer levels.

To do that, it's very easy.

The future of Lokpal

I was glued to Television for days, first to witness the LokSabha proceedings and then RajyaSabha.  The bill unfolded the highs of lows of Indian Parliamentary democratic system. It also showed how the manipulation happens to score brownie points. The way RajyaSabha got adjourned, I can only term as the highest form of political culinary but done all the wrong way. Without getting into debate whether or who was responsible for the ruckus, let's focus on the core issue of Lokpal.

Is there an alternative

We do need certain structure in society for it to behave orderly. To say that the notion of nation and religion is all wrong is not a right proposition. Even if we remove these notions they would again appear in the similar form. The only change would be different geographical boundaries and a different overlap of religious notions. There would still be boundaries. Certain social structures are also important in the context that they prevent chaos.

The birth of Humankind

The human has just started to stand on its two feet. For millions of years, they were residing on the trees like their ancestors, monkeys. The signs of tail is still there, though getting smaller with every thousand years. Humans still has fairly trivial needs. They would collect enough food to feed themselves. The other demands were the biological in nature. It continued till there was enough for population to feed on. The physical dominance still was needed to get a favourable status in terms of getting control on opposite sex.

Wealth Management : Managing Risk

What is Risk? We often hear that Risk has to be managed. Risk is the uncertain outcome that we have not predicted or even if we have predicted we feel that, it is too uncertain for that to happen. We all know that we are going to die one day, but we do live our life with the notion that we are going to live eternally. (On a philosophical note, if we start living with the awareness that we are going to die one day, we all will just stop living. It's also interesting to note that we do not only live our life but we try to manage the life of our grand children.

Why Indians need Wealth Management

Indian society is going through a massive shift in terms of social, cultural and financial landscape. The changes have been more emphasized in last decade. The old rules of the game are no longer valid.The standard way of living till couple of decade back was to do a job and accumulate capital all along. The money was usually kept in Fixed deposits. When the retirement was near, invest the money on a retirement property and hopefully live on pension for the rest of life. The lifestyle used to be modest and aspirations of the society was low.

Spring Hibernate jQuery Based Basic Web Application

*** This is always a work in progress, as I continue to add new features to it. However it should be a workable base to start any  new application. The versions of the libraries are also updated regularly. ***

For a Java base web application, you need to have Java locally. For installing Java follow Java Installation. Also you need to have an IDE locally. Any IDE is fine. The following is done on Eclipse. For details on eclipse, follow Eclipse

Pages

Subscribe to @ RSS