How To Send a Plain Text EMail in Java using JavaMail API ?

How To Send a Plain Text EMail in Java using JavaMail API ?

By May 5, 2014 at 12:28 am · javax.mail

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 »


How to use Preferences API to store application/Program configurations ?

How to use Preferences API to store application/Program configurations ?

By October 16, 2013 at 3:32 am · java.util

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 »


Nodejs HelloWorld Example

Nodejs HelloWorld Example

By January 2, 2013 at 5:08 am · Nodejs

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 »


Installing Node.js on Windows

Installing Node.js on Windows

By January 2, 2013 at 4:25 am · Nodejs

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 »


JavaServer Faces (JSF) 2.0 Tutorial

JavaServer Faces (JSF) 2.0 Tutorial

By September 16, 2012 at 3:28 pm · JSF 2.0

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 »


JavaServer Faces (JSF) 2.0: Hello World Example

JavaServer Faces (JSF) 2.0: Hello World Example

By September 16, 2012 at 3:18 pm · JSF 2.0

Download Source code for tutorial Download here - JavaServerFaces 2.0 – Hello World Example – Source code Setup Development Environment To start with JavaServer Faces Hello World Example, you need to setup development environment. Below list shows you, how to setup tutorial’s development environment, dependencies and basic configurations. Eclipse 3.7 (Indigo Release) If you don’t have… Read more »


Video Tutorial: Getting Started with Struts

Video Tutorial: Getting Started with Struts

By September 2, 2012 at 9:48 pm · Struts

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 »


How to download a file from SFTP Server using Zehon API ?

How to download a file from SFTP Server using Zehon API ?

By July 5, 2012 at 2:25 am · Zehon

Zehon SFTP is a file-transfer component for Java language that provides secure file system access over an SSH channel using the SFTP protocol. It makes it easy to transfer files between your application and Unix/Windows SSH servers. All popular SSH/SFTP and proxy servers are supported. Below is the feature list for Zehon SFTP Stable and… Read more »


How to upload a file to SFTP server using Zehon API ?

How to upload a file to SFTP server using Zehon API ?

By July 5, 2012 at 1:42 am · Zehon

Compared to the earlier SCP protocol, which allows only file transfers, the SFTP protocol allows for a range of operations on remote files – it is more like a remote file system protocol. An SFTP client’s extra capabilities compared to an SCP client include resuming interrupted transfers, directory listings, and remote file removal. SFTP attempts to be more platform-independent than… Read more »


How to Use File Separator to construct file path in java?

How to Use File Separator to construct file path in java?

By June 10, 2012 at 11:52 pm · java.io

Many java developers might have came across the code where the developer need to use file separator for the file path or directory path. Many of them are using “/” or “\” depending upon the operating system. Using the forward or backward slash is not a good practice while coding in the java, because your code may… Read more »