Java Code to construct a table in PDF using iText

June 28, 2010 1 comment

Introduction:

This article specifies a simple Java code to construct a table in PDF using iText jar. we are all familiar with iText is an open source library. It is used to creating and manipulating PDF,RTF and  HTML files with the use of Java code.Download the latest iText jar here.

Read the rest of the entry …

Sorting the bean list using apache commons bean utils

June 28, 2010 Leave a comment

Introduction:

This article specifies  how to sort the bean list in an efficient way. Nowadays whenever I surf  the net, comparable interface is widely used to sort the bean list. I am very sure its a best approach no doubt in that. In case  if you want to sort the bean list in more than one place of your projects, I feel the code will be redundant. Am I right?

Read the rest of this entry …

Categories: Apache, BeanUtils, Commons, Java Tags:

Java code to read XML file using JDOM

December 16, 2009 3 comments

This article specifies a simple Java code to read the data or contents from the xml file using jdom jar.  JDom is a way to represent an xml document for easy to read and write ,JDOM is an light weight for manipulation,Despite the name similarity its not build on DOM or modeled after DOM. It supports reading and writing a Dom document, SAX events and reduce the complexity to read an xml document.

Read the rest of this entry…

Categories: Java, JDOM, SAX, XML Tags: , ,

What Java Web Application Frameworks do you use?

December 14, 2009 28 comments

There are numerous Java web application frameworks used by the developers. This article is the place where you can share the Java Web Application which you use during your development. I have assessed most of the commonly used Java Web Application Frameworks, kindly choose What Java Web Application Frameworks do you use.

Note: Others kindly remark your framework in the comments.

Read the rest of this entry…

Enums in JSF

December 10, 2009 1 comment

Introduction:

We Professionals know how to use Enums in a Java application, But Enums can also be used in a JSF application. This article clearly explains how to use  Enum effectively in a JSF application.

Importance of enum:

  • Can use same values in more than one place of our project.
  • Adding New values are easy

Read the rest of this entry …

Which is your Favorite Social Media Network?

December 3, 2009 Leave a comment

In the day today life, we professional use lots of Social Media Networks for our amusements such as connecting friends, Share your knowledge/Thoughts and so on. This article is the place where you can choose your favorite social media network. I had assessed most of the social media networks used by the peoples in the below. Kindly choose your favorite  Social Media Networks and share your thoughts in comments. So that it would be very helpful for the folks who don’t aware of your favorite social media network features.

Read the rest of this entry…

Resizable JSF Components Using PrimeFaces

November 28, 2009 4 comments

Introduction

Whenever I surf the net, I used to ponder whether there is any options that allows the end user to resize the components of  a web application developed in JSF. But in all this failed to discover a component like that. But now Primefaces has got the option to resize any components in JSF. Once again I was impressed at the peculiar features of Primefaces which has a resizable component that has the ability to resize all the components of JSF. Even I tried this out in Richfaces Panel, this worked without any conflicts. In this article I am going to explain how to implement a resizable option for the Richfaces panel and data table columns. This would be helpful to see the long data((ie)Wrapped data) in the column of a data table.

Read the entire article…

Data Exporting in JSF Using PrimeFaces

November 27, 2009 14 comments

Introduction

In this article we shall learn how to export the jsf data table content from the web page to a pdf, xls, xml and csv format in a JSF application, that may be very useful while generating a report . Now we are going to use a component library named Primefaces, which has more than 70+ ajax powered components that enriches our web application with rich look and feel. So here we are going to invoke a Primefaces component named Data Exporter which is used to export the datas in the web page to a  pdf, xls, xml and csv format. I am damn sure, Primefaces reduces the complexity for the developers while constructing a report for a web application.

Read the rest of this entry…

JSF and Richfaces configuration in Netbeans 6.x

November 22, 2009 4 comments

Introduction:

JSF (Java Server Faces) is an java based  framework  for developing web application . Also component library can be easily incorporated in to the JSF Application. I have listed the most used components libraries by the developers in the below.

Read the entire article…

Java Code to Convert PDF Using Itext jar

November 19, 2009 73 comments

Introduction

This article specifies a simple Java code to convert any kind of files to a PDF using iText jar. First let me give a small intro about the usage of  iText jar, which is an open source library used for creating and manipulating PDF, RDF and HTML files with the use of Java code. Thats Ok!! Let us come to the point, this article is consecrated for the peoples who wants to convert their files in to a PDF format using Java code. Download the latest iText jar here.

Read the rest of  this  entry…

Follow

Get every new post delivered to your Inbox.