728x90 Ad Space

Little Girl Speech For 14 August with Strong Words

Spring MVC Beginners Tutorial

450x217xspring-tool-suite-450x217-png-pagespeed-ic-dcmvavpjkt
We can use Eclipse for the Spring projects development, but SpringSource provides Spring Tool Suite (STS) that is an IDE based on Eclipse and comes with in-built VMware vFabric tc Server that is built on top of Apache Tomcat container and optimized for Spring based applications or you simple deploy on tomcat.
I would use STS for this tutorial and other future tutorials because it makes a developers life easier by providing following features:
  • Support for creating skeletal Spring applications (MVC, Rest, Batch etc), good for starting project from scratch.
  • Provides useful features such as creating Spring Configuration files, parsing config files and classes to provide useful information about them.
  • Automatic validation of Spring application
  • Refactoring support to easily make project changes, the changes gets reflected in config files too.
  • Code assist for not only classes but configuration files too, I like this feature a lot because most of the times we need to know what we can use and it’s details.
  • Best support for Aspect Oriented Programming (AOP) through integration of AspectJ.
Looking at all the features STS provide, I was sold for this and decided to use it for Spring application and till now I am very happy with it.
Just Download the STS from STS Official Download Page and install it. I am using STS 3.4.0.RELEASE that is based on Eclipse 4.3.1 release.

Create gzip file in Java


Java GZIP 
GZIP is one of the favorite tool to compress file in Unix systems. We can compress a single file in GZIP format but we can’t compress and archive a directory using GZIP like ZIP files.
Here is a simple java program showing how can we compress a file to GZIP format and then decompress the GZIP file to create a new file.

Read more: http://latest-tutorial.com/2014/07/16/compress-decompress-file-gzip-format-java/#ixzz387BlrGNO

Submit Form using CURL in PHP

In PHP CURL POST tutorial, I have explained how to send HTTP GET / POST requests with PHP CURL library. Below are the examples covered in this article.
1) Send HTTP GET Request with CURL
2) Send HTTP POST Requests with CURL
3) Send Random User-Agent in the Requests
4) Handle redirects (HTTP 301,302)
5) Handle Errors.

Read more: http://latest-tutorial.com/2014/07/19/submit-form-using-php-curl/#ixzz387AjgCvr

MAJU BATCH 073 Computer Science (ISlamabad).wmv

#Exercise #Tracker #application #with #PhoneGap

track info pageExercise Tracker application with PhoneGap. In this tutorial, the Track Workout page and complete the app by creating the History and Track Info pages. Saving the GPS Data  
When the user clicks the Stop Tracking button, we need to stop following their GPS location and save all of the GPS points that were recorded (tracking_data) into the database. We’ll also reset the text input box (in case they want to record another workout straight away) and we’ll display a message that we have stopped location tracking. PhoneGap provides both browser-based Local Storage and a SQLite database as methods of storing data on the phone. The SQL database is a lot more powerful (due to the fact you can specify table schemas), but comes at the cost of code complexity. Local Storage is a simple key/value store that is easy to setup and use. Data is stored using the setItem(key, value) method, and retrieved using the getItem(key) method. Read MOre

#‎windows‬ ‪#‎lover‬

#‎Programming‬ ‪#‎Life‬ ‪#‎Great‬ ‪#‎Place‬ to ‪#‎sleep‬ ‪#‎Under‬ ‪#‎Office‬ ‪#‎Desk‬.

Logging in C# with log4net

There are some examples out there, but I’ve found that most of are either too complicated or are too specific.
In the end I decided that the only way to fix the problem is to write a general tutorial on Log4Net configuration myself.

Basics

Use NuGet to download and install the latest version of Log4Net.
nuget

Config files

Now you need to configure Log4Net.

Read More »

Blur Mask Filter in Android

Blur Mask Filter on Bitmap in Android

AndroidDrawBitmap_BlurMaskFilterThis takes a mask, and blurs its edge by the specified radius. Whether or or not to include the original mask, and whether the blur goes outside, inside, or straddles, the original mask’s border, is controlled by the Blur enum. package com.example.androiddrawbitmap; import java.io.FileNotFoundException; import android.net.Uri; import android.os.Bundle; import android.app.Activity; import android.content.Intent; import android.graphics.Bitmap; import android.graphics.BitmapFactory; import android.graphics.BlurMaskFilter; import android.graphics.Canvas;…
Read More »