Using SSH public key authentication to make the connection to remote system is more secure and robust method than login with account password. SSH public key authentication is an authentication method that relies on asymmetric cryptographic algorithms that generate a pair of separate keys, one private and the other public. Private Key is the secret key which is… Read more »

Overview Nowadays passwords are not much secured. If you pick a strongest password including all upper case, lower case alphabet and numbers with special characters, the password is still susceptible to the brute-force attack. It’s a human nature to use a same password for different remote hosts which can put you at more risk of a… Read more »

We all have learnt sorting techniques in our college academic curriculum. Out of those sorting techniques the simplest technique we learnt is Bubble Sort. The Bubble sort takes an array of numbers and sort them within the array indexes in either ascending or descending order. Bubble sort is simplest of all sorting techniques but it… Read more »

Java Mail API is used to create your own email client. This class provides the code required to model your email client similar to Outlook, Hotmail and many others. In JavaMail you’ll find APIs and provider implementations allowing you to develop fully functional email client applications. Below java program shows you how to send a plain text… Read more »

Introduction Preferences (Java.util.pref) API is included in JDK can be used to remember and retrieve application preferences. Using this API you can manage preference data such as storing, retrieving, removing and cleaning preference data. This API is not intended to save application data. Also it reduces the burden of application developer to write the code… Read more »

This tutorial is the quick guide to show you how to write the classic “Hello World!!!” example in Nodejs. This example is using the 0.8.x version of Nodejs installed on Windows 7. Install Nodejs Refer this article for installing Node.js on Windows. This installation very easy and it starts with downloading the executable on windows… Read more »

In this tutorial we will show you how to install the Node.js on Windows and Linux. This example shows you installation of Node.js version 0.8.16. 1. Node.js Installation on Windows Below steps shows you how to install Node.js on Windows – Download Node.js Download Node.js from official Node.js website. Choose appropriate version and click to… Read more »

Introduction to JavaServer™ Faces (JSF) Java Server Faces (JSF) is the MVC web framework based on Java Programming Language. JSF mainly focus on simplifying the building of web user interface by providing ready to use UI tags. It simplifies the assembling of reusable UI components in a page. Javaserver Faces is based on a component-driven… Read more »

Struts is the one of the most famous, classic and proven Model-View-Contraller (MVC) framework. Struts 1.x is a complete web framework, provides complete web form components, validator, internalization, error handling, tiles layout, low learning curve and easy to implement it. The framework provides three key components: A “request” handler provided by the application developer that is mapped… Read more »