Get started with Open Source Code Quality Management Platform - Sonar in few minutes

168 views
By on May 13, 2013 12:50:59 PM

Sonar is a open source platform for code quality management. It covers different aspects of code quality management like code duplication, complexity, coverage by unit tests, architecture & design, rule based defect identification etc. This post will help you to get started with Sonar in few minutes.

Tags:

Make HTML table sortable using jQuery Tablesorter plugin

862 views
By on Apr 30, 2013 9:42:32 AM

This post describes how to make an HTML table (having THEAD and TBODY) sortable in few minutes using tablesorter jQuery plugin. This plugin can parse and sort many types of data like number, text, currency, URI, IP address, date, time including linked data in a table cell.

Tags:

Setup, Run and Experience Chrome OS in Oracle VM VirtualBox before you buy Google's Chromebook

2,169 views
By on Mar 31, 2013 5:16:01 AM

Are you planning to buy a Google's Chromebook? Want to experience how it looks like before you decide? Then this is the post worth looking into. Here we'll see how to setup, run and explore Chrome OS in Oracle VM VirtualBox.

Tags:

Spring Mobile Hello World Example that includes DeviceResolver, SitePreference, urlPath SiteSwitcher and LiteDeviceDelegatingViewResolver

3,983 views
By on Feb 17, 2013 7:56:17 AM

Spring Mobile is an extension to Spring MVC for development of mobile web applications. The Spring Mobile Device module provides a feature (DeviceResolver / LiteDeviceResolver) to detect devices like mobile and tablet in the server side.
Device aware view management is very useful specially when it is required to serve different optimized versions of same website based on request generating device type or specific devices.
Another feature called site preference management allows user to set his / her preference (SitePreference) to view a particular site in either "normal", "mobile" or "tablet" mode from a particular device.
Spring mobile also provides different types of site switchers (like mDot, dotMobi and urlPath SiteSwitcher) which automatically redirect users to the device specific site based on the device generating the request and site preference set by the user.

Tags:

Spring 3 MVC Framework Based Hello World Web Application Example Using Maven, Eclipse IDE And Tomcat Server

14,132 views
By on Jan 8, 2013 4:16:34 AM

In this post, we'll see how to get started with a Spring Web model-view-controller (MVC) framework based Hello World web application in few steps. Here, we have used m2e-wtp (Maven Integration for Eclipse WTP) to generate a web project, Eclipse IDE to develop the code and Tomcat Server 7 to deploy and run the web application which will print 'Hello World!' in the browser.

Tags:

Build Android application package file (APK) using Eclipse IDE and Android Developer Tools (ADT) Plugin

10,303 views
By on Dec 15, 2012 2:04:26 PM

Android application package file (APK) is program binary used to distribute and install Android application onto the Android operating system. Here we'll see step by step procedure of creating .apk file ready to be installed in Android device.

Tags:

Android Hello World Example using Eclipse IDE and Android Developer Tools (ADT) Plugin

11,048 views
By on Dec 7, 2012 3:17:37 PM

This tutorial will help you to write your first Android 'Hello World!' program. Here, we'll use Eclipse IDE with Android Developer Tools (ADT) plugin to build the application and Android Emulator - Android Virtual Device (AVD) to run the application which will draw 'Hello World!' text on the screen.

Tags:

Logback using SLF4J Hello World Example

10,584 views
By on Nov 21, 2012 11:40:00 AM

Logback is an increasingly popular logging framework intended as a successor to the popular log4j project. It is designed by the founder of log4j. Logback offers many advantages over log4j like faster, smaller memory footprint, automatic reloading of configuration files, automatic compression of archived log files, conditional processing of configuration files and many more. For more details go through the following link Reasons to prefer logback over log4j.

This tutorial describes how to configure SLF4J and Logback as logging solution of an application.

Tags:

Java File and Directory operations made easy in JDK 7

2,530 views
By on Nov 7, 2012 11:32:05 AM

Here we'll see two examples - Copy operation & Traversing a file tree. If you have already worked using JDk 6 or earlier versions then you can see how easy it is to use JDK 7's nio package. And you need to write less code to implement the same.

Tags:

org.springframework.aop.framework.AopConfigException: Cannot proxy target class because CGLIB2 is not available

2,264 views
By on Nov 1, 2012 8:15:36 AM

Spring AOP uses either JDK dynamic proxies or CGLIB to create the proxy for a given target object. If the target object to be proxied, does not implement any interfaces then a CGLIB proxy will be created. In this situation if CGLIB is not present in the classpath following exception will be thrown

org.springframework.aop.framework.AopConfigException: Cannot proxy target class because CGLIB2 is not available. Add CGLIB to the class path or specify proxy interfaces.

Tags:

About this 'Hello World' site

This site is mainly developed to share coding and technology learning experiences on java / j2ee based technologies.

Simple tutorials / codes have been shared to learn a new technology. Full source code is also available for download.