How to Perform dynamic load balancing in Glassfish application server?

How to Perform dynamic load balancing in Glassfish application server?
DeeKay June 12, 2010 at 4:23 am · Java/J2EE, Open Source

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…
Continue Reading »


EARs, WARs, JARs, and Java EE

EARs, WARs, JARs, and Java EE
DeeKay June 12, 2010 at 4:01 am · Java/J2EE

A Java EE application may contain one or more Java EE components such as EJBs, Web modules, resource adapters, or J2EE application client modules. Each Java EE component can have an associated deployment descriptor — an XML file that describes the component. Java enterprise components are deployed using the Java Archive (JAR) file format, which…
Continue Reading »


Servlet and JSP performance tuning

Servlet and JSP performance tuning
DeeKay June 12, 2010 at 3:23 am · Java/J2EE

This article describes performance-tuning techniques (PTT) for developing high performance and scalable JSP (JavaServer Pages) pages and servlets. That means building applications that are reasonably and consistently fast, and can scale up to the increasing number of users and/or requests. In this article, I walk you through the practical and proven performance-tuning techniques that will…
Continue Reading »


Spaghetti Code

Spaghetti Code
DeeKay June 12, 2010 at 2:52 am · Java/J2EE, Open Source

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…
Continue Reading »


What is the difference between an application server and a Web server?

What is the difference between an application server and a Web server?
DeeKay April 21, 2010 at 3:33 am · Java/J2EE

What is the difference between an application server and a Web server? Taking a big step back, a Web server serves pages for viewing in a Web browser, while an application server provides methods that client applications can call. A little more precisely, you can say that: A Web server exclusively handles HTTP requests, whereas…
Continue Reading »


Representational State Tranfer (RESTfull) Web Services

Representational State Tranfer (RESTfull) Web Services
DeeKay April 21, 2010 at 3:29 am · Java/J2EE

To Develop a stateless web services there is a Software architecture pattern called as REPRESENTATIONAL STATE TRANSFER(REST).This pattern can used in any Distributed Framework, as this is a simple protocol for data transmission and doesn’t require any other additional data transfer rule.REST can be used with the only HTTP protocol.Each service is viewed as resouce…
Continue Reading »


Featuring : STRUTS 2.0 Features

Featuring : STRUTS 2.0 Features
DeeKay April 21, 2010 at 3:27 am · Java/J2EE, Open Source

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…
Continue Reading »


Creating a Build File from Sratch using Ant Script

Creating a Build File from Sratch using Ant Script
DeeKay March 27, 2010 at 1:29 am · Java/J2EE, Open Source

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…
Continue Reading »


New Spice in Java 6 – Features

New Spice in Java 6 – Features
DeeKay March 27, 2010 at 1:07 am · Java/J2EE

Java technology is both a high-level, object-oriented programming language and a software platform. Java technology is based on the concept of a Java Virtual Machine (JVM) — a translator between the language and the underlying software and hardware. All implementations of the platform emulate the JVM, enabling Java programs to run on any system with…
Continue Reading »


JAX-WS based Web Services using Java WSDP

JAX-WS based Web Services using Java WSDP
DeeKay January 15, 2010 at 11:03 am · Java/J2EE

After working on web services using JAX-RPC, I shifted my attention to another web service standard for Java – JAX-WS (Java API for XML based web services). It is a successor to JAX-RPC 1.1, and obviously, it enjoys some advantages over its predecessor. The major differences between the two standards are: JAX-WS supports SOAP 1.2,…
Continue Reading »


Introduction to Java Server Faces

Introduction to Java Server Faces
DeeKay September 5, 2008 at 5:42 pm · Java/J2EE, Open Source

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…
Continue Reading »


Servlets and JSP Pages Best Practices

Servlets and JSP Pages Best Practices
DeeKay August 24, 2008 at 12:25 pm · Java/J2EE

Java Servlet technology and JavaServer Pages (JSP pages) are server-side technologies that have dominated the server-side Java technology market; they’ve become the standard way to develop commercial web applications. Java developers love these technologies for myriad reasons, including: the technologies are fairly easy to learn, and they bring the Write Once, Run Anywhere paradigm to…
Continue Reading »


What’s New in Java Servlet API 2.2?

What’s New in Java Servlet API 2.2?
DeeKay August 24, 2008 at 9:18 am · Java/J2EE

This article describes what’s new in version 2.2 of the API, explains the decision-making process behind the changes, and demonstrates how to write servlets using API 2.2 features. To keep the article somewhere near a reasonable length, I’m going to assume that you’re familiar with the classes and methods of previous versions of the Java…
Continue Reading »