Here is an interesting concept which I came across just recently and considered it worth sharing. I was reading about inner classes concepts where in, there is a type of inner class called the local inner class. Local inner classes are those classes which reside within the function of a method belonging to an outer class. The code can be something shown like this.
public class LocalInnerClassTest {
public void defineInnerClass() {
class MyLocalInnerClass {
public void doSomething() {
}
}
}
}
Now lets suppose we want to pass a variable in the defineInnerClass() and pass it to the doSomething() for some computation, then according to the specifications on local inner classes methods we must declare the variables as final or else it will result in a compile time error. So the resulting code must be something as follows: Read the rest of this entry »
JavaWorld has published a useful research paper which discusses how to discern which design patterns and frameworks would work best for your enterprise applications, written by Chris Richardson. As a developer it is very essential to know about the different strategies one would adopt in a particular business scenario. This paper helps you in making important decisions about which design patterns would best suite a given set of requirements.
According to the research done by Chris for enterprise applications, here are some of the important points which the paper elaborates:
- Make use of the POJO approach, with lightweight frameworks like Hibernate for ORM and Spring AOP for transactional activities.
- EJB 3 makes it possible to have your business logic sit within your POJO and also make it run outside the container which makes it really usable.
- Implementing 3 tiers for an application which commonly include
- Presentation tier
- Business Interfaces for encapsulation + Business tier logic in classes
- Persistence tier for handling transactions and concurrency
- The design should involve,
- Modeling your business classes appropriately
- Code structuring principles for easier maintenance
While the above points are usually very well known amongst the developer community, it helps if you know which decisions should be taken when. Design patterns which have been established over the years play a key role in making such decisions. The white paper explains a few of the design patterns which are particularly mentioned when enterprise applications are into consideration.
I would like to enumerate here, some of the different design patterns which are Read the rest of this entry »
Knowing about different techniques of searching in Google, has the biggest advantage in saving precious time. The more you optimize your queries, the more faster you get what you were looking for and finally the more quicker your work gets done. Its a bit of ‘more’ in everything when Google search tricks are applied. If you liked my earlier articles on how to use various tricks provided by Google then here are some ‘more’ for you.
The theme for this article is “Definitive Search“. It means that, instead of beating around the bush for carrying out permutations and combinations of your search queries, why not carry out the search for exactly what we are looking for. By doing this, you would become more sure of getting the most relevant articles to your queries. Notice the ‘more’ here too!
Most of the Definitive Search tricks are obtained by using the Google Advanced Operators. I would like to specify in this article as to where the operators can be utilized ‘more’ efficiently. I was myself thrilled when I tried using these operators which lead me into writing this article.

For this article I am taking a particular case study for search query optimization. So here we go… Read the rest of this entry »
My article on 10 Most Amazing Google Search Tricks was very well received which made me realize that people have not yet seen the powerful features provided by Google. The tricks in the article were amongst the common ones which frequent searchers know. But there are still many more which a few rare search savvy people, termed “google hackers” seem to know.
The fact is that, people miss out on these tricks since they are busy finding the keywords! In order to make them aware I will be trying to put up different tricks and their usage as per the requirement so that it becomes easier for you to get the required information in an instant.
This article is specially for the movie lovers since I am one of them. I am not “crazy” about movies but when I am keen to watch a movie I make it sure that the money is well worth spent. This is the place where Google helps me to make most of the decisions quickly. Some of these decisions include finding:
- Release date
- Cast of the movie
- Reviews of the movie
- Theatres where the movie is being aired
- Checking the schedule
- Trailers
So let me reveal the 5 most fantastic Google Movie Search tricks that I frequently use: Read the rest of this entry »
How many times have people said that your website is too slow and you found out that there is nothing you can do to improve its performance? The final option most of the times might have been either trying to change your hosting server (may be even blaming him for purposely slowing your website) or finding several ways to optimize your code.

Over last few months I have been facing this same problem. I browsed the web for answers, even went ahead and bought many books on Website Optimization. All of them more or less targeted the same issue of Read the rest of this entry »
Searching on Google can be a magical experience once you find out how to make your search queries efficient. By making efficient I mean using some tricks or the cheat sheet provided by Google itself to quickly find what you actually require. Having being hooked onto Google for a long time now, I have come across some amazing search tricks which can change the way you look at Google today.

In this article I will list down the search tricks which I use quite frequently. Be it finding time, meanings or watching the cricket score, searching PDF’s, with Google as the search engine life cannot be more simpler. Here are the 10 most amazing Google Search tricks: Read the rest of this entry »
I had been using fluid designs over a couple of months until the big screens came into picture. The fluid designs became so drastically different on those big screens that I found all my imagined design going down the drain. The web site rendered itself in such an ugly manner that it came down to negative remarks of the big flat screen owner. So the ultimate question to me was, why did I choose a fluid layout in the first place?

Image Credit - mountaingoat
If you are bewildered about the fluid and fixed terminology then their concepts are somewhat self-explanatory: Read the rest of this entry »