Posts Tagged ‘Java’

Introduction to Apache Maven: A build framework & build automation tool

Introduction to Apache Maven: A build framework & build automation tool
For a quite while I had been using Ant build tool for building my Java projects. Since few days I have been switching to Apache Maven, an open source build framework that can be used to build almost all the projects in Java, .Net and other platforms. Maven was created by Sonatype's Jason van Zyl in ...

Oracle buying Sun Microsystems: What will happen to MySQL!

Oracle buying Sun Microsystems: What will happen to MySQL!
The final words are out. Sun Microsystems have accepted the $7.4 billion offer by Oracle corporation. Oracle Corporation's CEO Larry Ellison announced today the official word and so does the SUN's website saying. Oracle agreed to pay about $7.4 billion, including cash and debt. The per-share price is $9.50, or about 42% higher than Sun’s ...

Reading/Parsing RSS feed using ROME

Reading/Parsing RSS feed using ROME
ROME is an open source tool to parse, generate and publish RSS and Atom feeds. Using Rome you can parse the available RSS and Atom feeds. Without bothering about format and version of RSS feed. The core library depends on the JDOM XML parser.Atom is on the similar lines of RSS is another kind of feed. ...

Parsing / Reading XML file in Java.

Parsing / Reading XML file in Java.
While working on a small requirement, I had to write a small piece of code that can parse an XML file in Java. Although there are number of libraries available in Java which does this task efficiently, I ended up in using normal Java XML parsing using org.w3c.dom parser.You may want to copy this code and ...

HTTP Proxy setting in Java. Setting up proxy.

HTTP Proxy setting in Java. Setting up proxy.
Working behind a proxy and writing network related code has always been boring for me. Just because everytime I had to connect to Internet and get some data, I had to use Proxy settings. Whatever I used had a proxy configuration.HTTP Proxy are configured mostly in corporate environments to manage internet usage. Hence if you are ...

Google Android ADT, SDK and Eclipse IDE integration on Linux

Google Android ADT, SDK and Eclipse IDE integration on Linux
This tutorial is going to be five minute long procedure which will show you how to add Google Android development tools (ADT) plugin into your Eclipse IDE.This tutorial uses Eclipse 3.3.2 europa that comes with fedora 9 and Android's latest SDK version 1.1.You can download latest version of Eclipse IDE from here. and Android ...

How to write a Web Crawler in Java. Part-1

How to write a Web Crawler in Java. Part-1
The task of the crawler is to keep on getting information from the internet into the database of the search engine. It literally crawls over the internet from page to page, link by link and downloads all the information to the database.A search engine is made up of basically four parts:Web Crawler Database Search Algorithm Search system that binds ...

PDF Generation in Java using iText JAR

PDF Generation in Java using iText JAR
Generating PDF files in today's enterprise applications is quite common. Doing this with Java is not an easy task as Java does not gives default api's to handle PDF files. No worries, iText jar is for you.iText is a free Java-PDF library that allows you to generate PDF files on the fly (dynamically). iText is an ...

Performance Monitoring using Glassbox

Performance Monitoring using Glassbox
Industry is recognizing the fact that Performance testing & engineering should be part of the project execution road map starting from Requirement gathering phase. At many times during project executions, performance engineering related activities are executed based on customer need or slow response time of application after development phase gets completed. Glassbox can be leveraged (by developers/testers/business users) ...

Creating & Parsing JSON data with Java Servlet/Struts/JSP

Creating & Parsing JSON data with Java Servlet/Struts/JSP
JSON (JavaScript Object Notation) is a lightweight computer data interchange format. It is a text-based, human-readable format for representing simple data structures and associative arrays (called objects). The JSON format is specified in RFC 4627 by Douglas Crockford. The official Internet media type for JSON is application/json.The JSON format is often used for transmitting structured data over a network connection in ...
Page 6 of 8« First...45678