728x90 Ad Space

Software Beta Version.....

IT Professionals Helping

Hi Members,I hope you all are fine and doing well.Dear members we are going to start one unique Platform only for IT...

Posted by Pakifreelancer on Thursday, August 13, 2015

Unicode characters support in Eclipse


Programmer Vs Relationships


27th Ramadan Ceremony at Al Fateh Grand Mosque

Alinatsvor.com

@Component vs @Service vs @Repository vs @Controller

SpringComponentAnnotations 
Difference between Spring @Component, @Service, @Repository, @Controller annotations are used for automatic bean detection using classpath scan in Spring framework. @Component is a generic annotation. Difference of @Service, @Repository, @Controller with @Component is they are special cases of @Component and used for particular purposes. The difference is just classification only.
For all these annotations (stereotypes), technically the core purpose is same. Spring automatically scans and identifies all these classes that are annotated with “ @Component, @Service, @Repository, @Controller”  and registers BeanDefinition with ApplicationContext. We read about @Controller in a previous Spring tutorial on annotation based controllers.

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 »

Creating a Mobile Event Calendar

Mobile-Calendar_Preview
This tutorial describes how to build an HTML5-based mobile calendar to track conferences and events that run on iOS and Android phones using a mobile version of dhtmlxScheduler (open source, GPL). At the end, users will be able to add and edit events, select the conference location on Google Maps, and see the events in day, month, or list views….
Read More »

Auto Load More Data On Page Scroll using Jquery and PHP

 
This tutorial about my favorite place Dzone like data loading while page scrolling down with jQuery and PHP. We have lots of data but can not display all. This script helps you to display little data and make faster your website.
Load Data while Scrolling Page Down with jQuery and  PHP

Read More »

Enabling the Android Move To SD Card


This Android Quick Tip will show you how to allow your end-users to optionally save valuable device storage space by choosing to store your application on their removable SD card.

Final Result Preview

This tutorial will take an existing Android application and add the ability for the user to move the application to their SD card. This feature was introduced in Android 2.2, but does not require the application to use the Android 2.2 SDK as the minimum supported SDK version. Even your Android 1.5 application can use this feature.

Step 1: Preparation

We begin this tutorial by obtaining the version of the phrasebook Android application used in a previous tutorial called . Download the source code if you want to perform these steps yourself, or just follow along and use these steps with your own Android applications.
If the user has Android 2.2 installed on their device and you haven’t applied this tip, they’ll see a tantalizingly useful, yet grayed out, button when they try to move the application to their SD card. Developers must specifically enable this feature within their specific applications……
Read More »