Archive for the 'Java' Category

Data Access Object Design Pattern in J2EE

May 2 201017 Commented

Categorized Under: Java

Data access object (DAO) pattern is one of the core J2EE patterns used in many enterprise level applications. It provides a clean separation for various methods of data access and central point of access to data source.

Factory Design Pattern in Java

May 1 201022 Commented

Categorized Under: Java

Factory method is a creational design pattern widely used in many libraries and toolkits. It provides a unified interface to instantiate appropriate sub classes at runtime based on specific conditions.

Singleton Design Pattern in Java

April 25 2010No Commented

Categorized Under: Java

Singleton design pattern ensures that only a single object is created even in multiple thread environments. It is a widely used design pattern in object oriented programming languages including Java.

Struts 2 Jumpstart

December 28 20092 Commented

Categorized Under: Java

Struts is a popular open source MVC framework for building dynamic web applications in Java platform which is now managed by Apache foundation. Struts 2 was evolved from Struts and WebWork, another Java web application framework from OpenSymphony.

Lucene Full Text Search in Java

October 31 200915 Commented

Categorized Under: Java

Lucene is an open source text based search engine orginally developed by Doug Cutting, now managed by Apache Software Foundation. It is a high performance easy to use API written purely in Java. Though it is written in Java platform, it is ported to many languages like PHP, C++ etc.

Servlet Filters – Beginner’s Guide

October 28 20092 Commented

Categorized Under: Java

What do you mean by Filters? Filter is a component which intercepts HTTP request/response and provide additional functions. It is also used to modify request/response objects. Filters have been introduced since Servlet 2.3 specification. It act as a reusable component which could be attached to multiple resources like Servlets, JSPs etc and execute common tasks to them.

Web Application J2EE perspective

October 24 2009No Commented

Categorized Under: Java

Web application is a collection of static and dynamic resources which can be packaged and deployed in an application server. It is packaged in archive format called WAR format and deployed in application server which support JSP and Servlet specification.

Introduction to JDBC

October 22 2009one Commented

Categorized Under: Java

JDBC stands for Java Database Connectivity which is a set of interfaces and classes provided by Sun to access relational database in a vendor independent manner from Java platform. Database vendors who would like to support JDBC API implement these interfaces and classes and package them which is called JDBC driver. JDBC API is an important package in Java platform and is shipped with standard JDK distribution. JDBC was evolved as an alternative to ODBC which is a Microsoft standard to access RDBMS in vendor neutral manner.

Introduction to Java Server Pages – JSP

October 21 2009one Commented

Categorized Under: Java

JSP is a server side component for building dynamic web applications based on Java platform. It provides dynamic scripting capabilities within static HTML or XML content. It is extended from Servlet, another server side component to build dynamic web applications. A typical JSP file consists of static content like HTML tags along with Java code snippets which are embedded using special tags. JSP compiler compiles the JSP file into servlet during run time which is executed in Java application server like Tomcat.

Introduction to Servlets

October 7 2009one Commented

Categorized Under: Java

Servlet is a server side program runs on web server primarly used for creating dynamic web applications. Servlet API is a set of classes and interfaces provided by Java as an alternative to CGI programs. Like CGI program, servlet accepts HTTP request and send back response to the user. Servlets are deployed in servlet container, an executable program runs within a web server which is responsible for managing servlets. Tomcat is a popular open source web server with servlet container managed by Apache Software Foundation.

Page 1 of 212