• Abhijit Ghosh Abhijit Ghosh Posted 54 Articles A java/j2ee developer. Love to share learning experiences on different technologies/frameworks.
    Find me on Facebook Twitter LinkedIn www

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

66,205 views
By Abhijit Ghosh 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

176,830 views
By Abhijit Ghosh 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

82,831 views
By Abhijit Ghosh 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

71,462 views
By Abhijit Ghosh 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

14,007 views
By Abhijit Ghosh 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

21,063 views
By Abhijit Ghosh 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:

Send logs by Email Notification using Apache log4j SMTPAppender

46,703 views
By Abhijit Ghosh on Oct 11, 2012 2:46:33 AM

It is always better to get notified as soon as any major issues / exceptions occurred in the Application, instead of manually going thorugh huge logs to find probable exception messages. Apache log4j provides out of the box log Appender (called SMTPAppender) to send email alerts for the log level configured in log4j configuration file.

Tags:

Deploy to AppFog PaaS using Cloud Foundry Integration plugin of Eclipse / STS

15,988 views
By Abhijit Ghosh on Oct 1, 2012 2:25:29 AM

AppFog Cloud Platform is built by using the Cloud Foundry OSS bits alongside its own set of custom extensions and enhancements. AppFog provides good command line tool to deploy application but we can configure Cloud Foundry Integration plugin of Eclipse / Spring Tool Suite (STS) to deploy web application directly from IDE to the AppFog.

Tags:

Configure Simple Logging Facade for Java (SLF4J) with log4j as underlying logging framework

56,459 views
By Abhijit Ghosh on Sep 26, 2012 1:30:13 PM

Simple Logging Facade for Java (SLF4J) is an abstraction of different logging frameworks (eg. log4j, java.util.logging, commons logging etc.). This tutorial describes how to configure SLF4J with log4j as underlying logging framework.

Tags:

Example to Generate Random Alpha Numeric Text

12,298 views
By Abhijit Ghosh on Sep 18, 2012 2:08:04 PM

This example shows how to generate random alpha numeric text which is not easy to guess.

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.