Best Practices to Override toString Method in Java?

java

In this article to we will see how to override the toString method and what are the best practices in Java. Java provides a default implementation for the method toString through a class java.lang.Object which is inherited by all Java classes . However, what it returns is not very informative. Your returned value is composed […]

How To Install Maven On Windows?

maven

In my previous article I have written about how to install Maven in Ubuntu?. It is much easier in the Linux OS then setting up in the Windows OS. As we know, Linux does the installation through its package manager and there is no need for the mannual settings of path or anything else. In windows, it’s […]

Conditional Annotation in Spring 4.0

spring

In this article I shall throw some light on one of the new features of Spring 4, Conditional Annotation Type. In the earlier versions of Spring you could handle conditions as below: In Spring with versions earlier to 3.1, you had to use Spring Expression Language (SPeL). With Spring 3.1, a new feature called profiles was introduced which […]

How To Install Maven On Ubuntu?

ubuntu-icon

Apache Maven is project management tool which is following the concept of a project object model (POM). Maven can manage project’s build and documentation from a central place. Maven 1 actually was started as a sub project of Apache Turbine in 2002. It was released in July 2004 as v1.0. Maven 2 was released in […]

A Simple Offline Web Application using HTML5

html5thumbnail

This article presents the basics of developing Offline Web Applications. The majority of browser vendors are introducing offline web application functionality using HTML5. It allows an online application to work even if the user loses or disconnects their internet connection. For example, you would be able to compose a message in your webmail client even […]

Difference between Checked and Unchecked Exceptions in Java

java

In this article we will understand the differences between Checked and Unchecked Exceptions in Java language.Exception handling is essential to make a robust application, because the user does not want to see a stacktrace on your screen, but a well-written message indicating that only an error occurred. All the applications are subject to failures, and […]

Spring 4.0 Features At a Glance

spring-thumbnail

If you remember, Spring 3.0 released nearly four years back. There is no other major release from the Spring Framework, only the incremental release like 3.1, 3.2 and 3.3. Now they are breaking the ice with Spring Framework 4.0 announcement. It is announced that the new version would be released any time between September or […]

How to Pass Parameter in AJAX Request using DOJO?

dojo-thumbnail

In my previous article I have explained about the very basic article about accessing file in the server using dojo/request. In this post, I would go further on passing the parameter values to the server and return the response that will be printed on the screen. Even this is not a advanced tutorial on using AJAX […]

A Simple AJAX Example Using DOJO

dojo-thumbnail

In the version 1.8, DOJO toolkit announced a new API dojo/request. This API simplifies the AJAX call to the server. As most of the internet applications are using the multiple AJAX request for displaying the data without re-loading the entire page, it becomes necessary for any UI framework has to support the easy and most powerful AJAX […]

Dynamic Class Loading using Java Reflection

java

In this article we will discuss the concept of Java Reflection. Java Reflection is used to determine methods and attributes that will be used in a certain class at runtime.The Reflection in a nutshell, is used to determine methods and attributes that will be used in class (you do not know) at runtime. There are […]