Friday, June 15, 2007

New Features in Java Server Faces 1.2

This Article provides a summary of new features added in JavaServer faces 1.2 Technology. Alignment with the JSP framework is one of the more important achievements of JavaServer Faces 1.2 technology, developed through JSR 252. In addition to these changes, JavaServer Faces technology contributes a host of other significant ease-of-use features.read full article

Introduction to Java Server Faces(JSF) Core Tags Library

This article introduces about the various Core Tags that are available in JSF. Tags represent some set of Actions that will be executed in the Server. This article assumes the reader to have a fair bit of knowlege in Java Server Faces. If not, then they can visit the Introductory Article in JSF in javabeat. For more information and resources about Java Server Faces, readers can also Jsf Articles Page visit here. This article will start off with the Major Classification of Core JSF Tags and then will explain in depth about the various different types of Tags that are available in each category. Wherever and whenever possible, Code Snippets are given to make the understanding of the Tags much clearer.read full article

Saturday, June 09, 2007

Mapping Java Objects and XML Documents using JAXB - Java 6.0

JAXB (Java API for XML Binding) technology which was included as part of JWSDP (Java Web Services Developer Pack) before, is now included with the Mustang Distribution. Simply put, it is a Mapping Technology for Java and XML Documents. Using JAXB, one can Generate XML Documents from Java Objects and also they can Construct Java Objects from one or more XML Documents. In JAXB terms, Marshalling refers to the process of converting a Java Object to a XML Document and Un-Marshalling is the reverse of Marshalling which is simply getting a Java Object from one or more XML Documents. read full article

Streaming API for XML - Java 6.0

Streaming API for XML, simply called StaX, is an API for reading and writing XML Documents. Why need another XML Parsing API when we already have SAX (Simple API for XML Parsing) and DOM (Document Object Model)? Both SAX and DOM parsers have their own advantages and disadvantages and StaX provides a solution for the disadvantages that are found in both SAX and DOM. It is not that StaX replaces SAX and DOM. read full article

Pluggable Annotation Processing API - Java 6.0

Annotations have been there in the Java World from Java 5.0. Java Annotations are a result of the JSR 175 which aimed in providing a Meta-Data Facility to the Java Programming Language. It can be greatly used by the Build-time Tools and Run-time Environments to do a bunch of useful tasks like Code Generation, Validation and other valuable stuffs. Java 6 has introduced a new JSR called JSR 269, which is the Pluggable Annotation Processing API. With this API, now it is possible for the Application Developers to write a Customized Annotation Processor which can be plugged-in to the code to operate on the set of Annotations that appear in a Source File.read full article

Including Ajax Functionality in a Custom JavaServer Faces Component

Asynchronous JavaScript and XML (Ajax) is a technique for making the user interfaces (UI) of web applications more responsive and interactive. Because of its flexible and pluggable UI component model, JavaServer Faces technology is the perfect framework to use when adding Ajax functionality to your applications. With the DOJO JavaScript toolkit, it's even easier for component developers to add this functionality. This tutorial describes how to add the power of Ajax to JavaServer Faces components with some help from the DOJO toolkit.read full article

Friday, June 08, 2007

Ajax support in struts 2.0



Ajax or Asynchronous JavaScript and XML was introduced by Jesse James Garrett in 2005. He is called the “Father of Ajax” .Ajax is a collection of concepts and technologies that allows richer and more interactive user interaction with the web applications. The Ajax engine allows the user’s interaction with the application to happen asynchronously — independent of communication with the server. So the user is never staring at a blank browser window and an hourglass icon, waiting around for the server to do something.read full article

Wednesday, June 06, 2007

Introduction to Java 6.0 New Features, Part–I

This article covers the various new features of Java 6, also known as Mustang. This article assumes that readers have sufficient knowledge over the concepts and terminologies in Java 5.0. For more information on Java 5.0, readers can vist the resources available in javabeat here. Though there is no significant changes at the Language Level, though Mustang comes with a bunch of enhancements in the other areas like Core, XML and Desktop. Most of the features are applicable both to J2SE and J2EE Platforms.read full article

Wednesday, May 30, 2007

Struts 2.0 Introduction and Validations using Annotations

This article provides an introduction to Struts 2.0 and its new Validation Features. Since Struts 2.0 is new, the first few sections of the article discusses in brief about the basics of Struts 2.0, its architecture and its various New Features. The rest of the article is dedicated towards explaining about the new Validation Features available. Struts is an Open-Source Web Application Framework that simplifies the creation of a Java Web Application. It is based on the Model-View-Controller 2 (MVC 2) Architecture which was originally found in a language called SmallTalk. The recent version of Struts is Struts 2.0 and it has borrowed most of the concepts in terms of architecture and functionality from two frameworks namely WebWork and XWork.read full article>>

Sunday, May 20, 2007

Introduction to Java Server Faces

Java 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 about JSF Framework and the various core elements that form the basis for a JSF Framework. It then provides a detailed overview about the various phases in the JSF Request Processing Life-cycle. Explained further is the structure of the JSF Configuration File. And finally the article is concluded by providing a sample application that demonstrates the various new features.read full article

Saturday, May 12, 2007

Hibernate Interceptors - An Introduction

This article deals with Hibernate Interceptors. Hibernate is an open-source project that provides ORM solution. Situations may demand to perform some set of pre-requisite/post-requisite operations before/after the core functional logic. In such a case, an interceptor can be used to intercept the existing business functionality to provide extensible or add-on features.read the full article>>

Integrating Struts With Spring

Struts is more established and more stable MVC2 framework at this time so if your application is based on Struts framework you may forget about thinking to move to some other framework. But at the same time you must have heard about the buzz created by Inversion of Control (IOC) design pattern. This design pattern is implemented by Spring framework. Besides there are some more amazing features of Spring like AOP. So if you like to take advantage of these features of Spring you do not have to rebuild the application, but you can integrate your existing Struts application with Spring without much hassle. More about that latter but first we would like to have a look at new features of Spring and how they work.read the full article>>

Friday, May 11, 2007

Introduction to Hibernate

Persistent data can be seen anywhere in an application. Managing persistent data is one of the few challenges that modern technologies/products are facing. A solution called Object-Relational Mapping (ORM) has gained major popularity over the past few years. ORM is a piece of software/product for the representation and conversion of data between the database and the object-oriented programming language. Hibernate is one such ORM solution and it is an open-source project.More>>

Sunday, April 15, 2007

Introduction to Java Persistence API(JPA)

Java Persistence API (JPA) provides POJO (Plain Old Java Object) standard and object relational mapping (OR mapping) for data persistence among applications. Persistence, which deals with storing and retrieving of application data, can now be programmed with Java Persistence API starting from EJB 3.0 as a result of JSR 220. This API has borrowed many of the concepts and standards from leading persistence frameworks like Toplink (from Oracle) and Hibernate (from JBoss). One of the great benefits of JPA is that it is an independent API and can nicely integrate with J2EE as well as J2SE applications.More>>

Report Reveals AJAX on the Rise

There are now 3.5 million AJAX developers worldwide, a 50 percent increase over the past year, based on results of a survey that will be released next week.

The survey, conducted by Santa Cruz, Calif.-based Evans Data Corp., will also reveal that nearly four out of five, or 78 percent, of AJAX applications are developed for the Web and nearly 40 percent are for server-centric applications such as databases, ERP, CRM, as well as rich Internet applications.More>>

Tuesday, April 03, 2007

What is new in Java 6.0 Collections API?

In this article Vidua Sagar will write about the new Collections APIs introduced in Java 6.0. Mustang has few interesting changes in the Collections APIs, one amoung them is the Deque. Deque is used for the Bi-Directional traversal. It has different implementations including BlockingDeque,ArrayDeque,etc. He will talk about the Deque and its various implementation, also few more changes in the Collectiona API in Java 6.0.More>>

The Java 6.0 Compiler API

One of the cool features available in Java 6.0 (Mustang) is the ‘Java Compiler API’. This API is a result of the JSR (Java Specification Request) 199 which proposes that there must be a standard way to compile java source files. The result of the JSR is the new ‘Java Compiler API’ and one can use this new feature to compile java source files from within java files. Previously developers were depending on the low-level issues like starting a process representing the javac.exe. Though this feature is not intended to every one, Editors or IDE (Integrated Development Environment) can make much use of this new feature for compiling Java source files in a better manner.More>>

EJB 3.0 Timer Services - Timer Services API

Starting from EJB 2.1, Timer Services are available for building J2EE Applications that depends on time based services. Time based services are mostly used in scheduling applications. Technically, these scheduling applications are called workflows. A workflow defines a configurable sequence of activities or tasks that will take place at a particular point of time. Before EJB 2.1, one has to manually code for building and deploying time-based workflow systems. But, with the invent of EJB 3.0, thanks to Annotations and Dependency injections, life has become still more easier for creating such applications.More>>

Thursday, March 01, 2007

Living the good life at Infosys

The clipped green grounds at Infosys Technologies include a swimming pool, table tennis, pool tables, cafeterias and a mirrored building shaped like one of the pyramids.


Infosys grounds

 

Golf carts transport employees and visitors around the property of Indian high-tech giant Infosys.

Credit: Michael

Infosys golf cart

 

Microsoft Chairman Bill Gates and British Prime Minister Tony Blair planted these trees in a garden at Infosys Technologies' campus in Bangalore.

 

Infosys trees

Tamil Nadu gets dual-boot Win-Linux desktops

The Indian state of Tamil Nadu has finalized a tender for 40,000 Lenovo desktops which can be installed with both Novell's Suse Linux and Microsoft's Windows XP Starter Edition.

According to C. Umashankar, managing director of Electronics Corporation of Tamil Nadu (Elcot), the desktops will be deployed across schools and government departments in the state. Elcot is Tamil Nadu's state-owned IT supplier.

Umashankar said the desktops will be installed with either Suse Linux or dual-boot Windows XP Starter Edition/Suse Linux configurations, depending on the needs of the organization.

For instance, schools will be provided with Suse Linux desktops, while government employees who still require Windows in their work will get dual-boot machines, he told ZDNet Asia.

Dual-boot machines will cost 22,000 rupees (US$497) each, though this was not the initial price point quoted by the vendors, Umakshankar said, adding that Chennai-based IT company Origin Infosys will supply the Lenovo desktops.

He said that Elcot was originally quoted 21,800 rupees (US$492) for each Lenovo system, whether the preloaded OS was Suse Linux or Windows XP Starter Edition. After some negotiation, Elcot secured the final price of 22,000 rupees (US$497) for dual-boot systems, Umashankar said.

Suse Linux is a full-fledged OS with no restrictions on how the platform is used, while Microsoft's Windows XP Starter Edition does not allow users to run more than three software applications at one time.

According to Umashankar, users will be "encouraged" to use Suse Linux as far as possible.

Earlier this year, Tamil Nadu announced plans for all government agencies across the state to switch from Microsoft Windows desktop to Linux and the OpenOffice productivity suite. The move is expected to slash the local government's IT cost by 15 to 25 percent.