Archive for March, 2008

Designing Enterprise Applications – Approaches and Patterns

Posted on March 30th, 2008 in Concepts, Featured, Java EE | 3 Comments »

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:

  1. Make use of the POJO approach, with lightweight frameworks like Hibernate for ORM and Spring AOP for transactional activities.
  2. 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.
  3. Implementing 3 tiers for an application which commonly include
    1. Presentation tier
    2. Business Interfaces for encapsulation + Business tier logic in classes
    3. Persistence tier for handling transactions and concurrency
  4. The design should involve,
    1. Modeling your business classes appropriately
    2. 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 »

Key Points for Choosing the Best framework

Posted on March 17th, 2008 in Java EE, Opinions | 5 Comments »

The question which majority of we developers ask always is “Which framework should I use for my application?” or “Which framework is the best to use?”

The answer to these questions always comes in as “it depends” because requirements differ project wise. It might not be the case that the project which you might be working on will be requiring the same framework used in the prior projects. Requirements vary all the time and the framework which comes very close for implementing the specified tasks would be the best framework for you.


Having said that it is important to list down the key points on why you choose a particular framework. It is never a good reason to choose a framework just because others say it is cool. Let us focus on the key points for deciding a framework. Keep in mind, I am not trying to impose the usage of suggested framework for any particular project. This is a topic of general discussion in case where you might be eager to try out a new framework but are stuck to the choice of framework to start from.

The key points which might help you to make your choice are Read the rest of this entry »

5 Most Exciting Search Tricks with Google Operators

Posted on March 10th, 2008 in Concepts, Featured, Google | 53 Comments »

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.

Google Definitive Search Tricks

For this article I am taking a particular case study for search query optimization. So here we go… Read the rest of this entry »

Implementing Websites For Internationalization

Posted on March 2nd, 2008 in Java EE, Tutorials | 6 Comments »

Most business in today’s open market are demanding their websites & web application to have multilingual support. This is in order to attract non-English speaking audiences to increase their customer base and make people comfortable using the application in their native language. But for this, it would require an existing business application to be customized to support native locale. The process of producing an application that can be localized for a particular country without any changes to the program code is called Internationalization.


Following are the list of things one needs to take care while making an application to implement Internationalization.

1. Producing Content in Unicode

You need to make sure that all files which contain the multilingual content are in Unicode format. By default most text editors will store your file in ASCII which does not support other language characters. So after saving any content in ASCII format and loading it, your browser might not be able to display correct text in native language. Here you need to convert the file from ASCII to UTF format.

For example, the steps required for doing this if you are using Read the rest of this entry »