Working with Log4J Basics – A Log4J Tutorial

Introduction Here is your Basic Log4J tutorial helps you to setup Log4J in your application. Log statements placed in your code will work as a high level debugging mechanism for your application. Here I’m saying the logging mechanism as high level debugging mechanism, as low level debug mechanism is debugging the code step-by-step using IDE …

Read More

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

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

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 ?

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

Deploying a Java EE application on OpenShift Express with AS7 support

During the past few years, I’ve been hearing about “cloud” services more and more. Initially I wasn’t really curious to try them out. But a few months (a year?) back, I decided to see what it was all about. I have been involved with Java EE development for more than 7 years now, so I …

Read More

Business Intelligence and Reporting Tool – BIRT

Abstract Reports are the key feature of most of the business applications. We design reports to display the result of an investigation or enquiry. Business applications contains variety of report requirements such as data reports, charts, images, custom objects etc. Thus to accumulate all these requirements we require a specialized reporting tool that will support …

Read More

Infinispan – A Open Source Datagrid Platform

Infinispan is a highly popular new data grid platform that is taking the world by storm. In this session, Infinispan founder and project lead Manik Surtani will talk about some of the most interesting, massive scale uses of Infinispan they have witnessed within the community, and will talk about lessons learned from them. They will …

Read More

Subversion and Subclipse installation and Configuration

Image via Wikipedia Ever wanted to have a code repository of your own? Either working on a small project or working with your friends on the next big thing, it would be great to have a repository where you can maintain your code, just as you would while working at your office. Lot of you might have been …

Read More

Java Program For Uploading File To SFTP Server using JSch SFTP Put

Java Program For Uploading File To SFTP Server using JSch SFTP Put

Uploading the file to SFTP server is not easy using Java.net API or Apache‘s Commons.net API. Many of you have faced lots of problems using these API. To upload the file SFTP server you have use the JSCH SFTP API, you can download the API from here. In my previous post i have shown how to …

Read More

Java program for Downloading File from SFTP server

Java program for Downloading File from SFTP server

Most of the people face problem to download the file from the SFTP server. Everybody thinks it will be same as FTP in java but its not so. If you are using the Apache Commons.net API then you will find below classes for FTP/FTPS but there is no class available for SFTP FTPClient FTPSClient Let …

Read More

How to Perform dynamic load balancing in Glassfish application server?

GlassFish is a fully Java EE 5-compliant application server with enterprise-ready features available under two OSI-approved licenses. Among many other enterprise-level features, GlassFish provides a very good self-management functionality extendable using the Java Management eXtension (JMX) standard.The GlassFish application server provides good facilities for cluster management and load balancing. Still, sometimes we need to have …

Read More

Spaghetti Code

One always guesses every one knows what a Spaghetti code is – a code which is hard to understand and maintain, a code which everyone is so scared to touch that bug fixes are always quick and dirty, and which makes code further spaghettier. I wonder has anyone thought about spaghetti products. It may not …

Read More

Hibernate or iBatis or both ? Which is better?

What’s really difference between two and really more importantly when should I use one over the other. Its pretty interesting question because there are major differences between iBatis and Hibernate. Within in the java persistence there is no one size, fits all solution. So, in this case Hibernate which is a de facto standard is …

Read More

Featuring : STRUTS 2.0 Features

Featuring : STRUTS 2.0 Features

Since STRUTS Framework has been released officially, every java developer thinks STRUTS is the simple framework to implement. Since last two years many new framework coming to market to compete STRUTS, so the popularity of struts framework becoming obsolete. Lack of updation of Struts Framework and due to new trends coming in Web development such …

Read More

Creating a Build File from Sratch using Ant Script

Creating a Build File from Sratch using Ant Script

Introduction: This is an introductory tutorial to the Ant build tool, a free tool under GNU License and is available at http://jakarta.apache.org/ant/. Ant allows the developer to automate the repeated process involved in the development of J2EE application. Developers can easily write the script to automate the build process like compilation, archiving and deployment. It …

Read More

Accessing Web Services from JSF applications

Accessing Web Services from JSF applications

1) Introduction In this technical article, let us see how it is possible to access Web Services from JSF Applications. JSF Application resides in the Web Tier of a typical Enterprise Application, whereas Web Services are External Services that reside in the Application Tier. We make use of Java EE 5 for developing the Sample …

Read More

Introduction to Java Server Faces

Introduction to Java Server Faces

IntroducionJava Server Faces (JSF) simplifies the development of User Interfaces in a typical Web application. It provides a Component-based Pluggable Architecture for developing and representing User Interface Components. Also bundled with JSF is a whole set of various new features like Event Handling Mechanism, Page Navigation, Input Validation and Conversion. This article provides an overview …

Read More

Google Web Toolkit

Google Web Toolkit

Google released a tool kit to create light weight web applications called Google Web Toolkit. You can find it at http://code.google.com/webtoolkit/ Basically the GWT takes Java code and does a 1:1 translation to JavaScript with a kind fo cross-compiler. It is optimized and shrank and all that good stuff. This is a pretty cool idea …

Read More