JEHA Framework

Posted by John Peter Nagavelu | 8:38 AM

JEHA stands for Java Exception HAnder Framework.
It has released its 1.0 version.
Advantage of this framework is that it helps the developers to simply gives the annotation on their method and forgot everything else on the exception handling.
For more detailed information, please visit http://www.theserverside.com/news/thread.tss?thread_id=55238

Cloud Computing

Posted by John Peter Nagavelu | 8:13 AM

Cloud computing is the hottest and talk of the IT industry today! It gives the flexi and easy to manage way to utilize resources thru Internet.
Basically it involves both suppliers and users(or receivers). Amazon is the best example of this Cloud computing and it is one of the major vendor that providesmany services using this Cloud computing concepts.
Cloud computing is generally defined as delivering hosted services thru Internet.
You can consider Google's upcoming OS Chrome which is going to be a Cloud computing based service.
Simply explain this concept, consider you need to work with MS-Word and you dont have that software in your system. What you need to do is to go and buy a license and a software CD for MS-Office and then to install in your system. This involves money and time.But when you use Cloud computing no matter at which corner of the world you are, you can just browse the internet and look for the service provider orvendor who supplies MS-Word for you and you pay for the particular moment that you need to work and use it and go away. No need to waste much money andtime for this. This is the biggest advantage of Cloud computing. This is the way Google's new OS is going to work and that challenges Microsoft very badly.

Cloud computing services are broadly categorised into 3 services.
1) IaaS (Infrastructure as a Service)
This is to provide infrastructures such as Server(virutal server), memory etc.. E.g Amazon. Users can use their APIs to utilize this service on demand.
2) PaaS (Platform as a Service)
This is to provide software tool or product wherein user can create their application on it. E.g.GoogleApps
3) SaaS (Software as a Service)
This is the very broad category in Cloud computing. This varies from any simple software support to even a hardware supports.

Cloud computing can Public or Private
Public - means it opens to anybody over the Internet
Private - opens to only within their organization or group

The war between Microsoft and Google intensifies further as the Microsoft announced new details of plan to offer a free, Web-based version of its Office software today as quoted in the Wall Street Journal The free online offering expected to be ready in the first half of 2010 along with a new version of its conventional software called Office 2010. It is expected to have a much more features and rich user interface than the current web office products from Google etc.

This an interesting moves from the software giant as office is one of the most profitable business units within the Microsoft. But it is a much needed action to crush the gaining popularity of the Google Office products

Also earlier Google has announced the release of its Chrome based operating system which is primarily targeted on the light weight PC’s / Laptops used primarily for browsing. We need to see the impact it makes on the Windows operating system once it is released. Microsoft is already planned to release it is next version OS “Winodws 7” by 22nd October 2009.

Everybody knows Microsoft has already released its new search engine “Bing” to challenge the Google which is an undisputed market leader in Search Engine & Ad Revenue space

As both the giants starting to enter into the core areas of each others, the competition is getting even tougher. It will lead to a healthy competition and we can expect more quality products to benefit the end users.

Most of the developers uses “System.out.println” in the code for debugging, so that they can see the messages easily in the console. This may be handy for debugging, but it will make a huge performance impact on the system if not removed before deployment

The reason is that the application server will have only one output stream and one error stream in the JVM. Hence multiple threads calling the System.out.println() have to be synchronized.

Considering the production system with thousands of users, back end programs, webservices, and scheduled process running parallel in the machine. Calling system.out.println() will potentially block the performance of whole system. Also the application server doesn't redirect the std out to a file, and is lost.

It is always a best practice to remove the System.out.println() /System.err.println() from the code before doing the deployment.