Why SOA; when surely it’s easier to start with a clean sheet?

Why SOA; when surely it’s easier to start with a clean sheet?

A question often asked is ‘What’s the value is of leveraging existing business applications for reuse in Service Oriented Architectures (SOA), when surely it’s easier to start with a clean sheet?’ Existing business applications are among the most valuable assets a company owns because they support business critical processes and information which impacts every aspect …

Read More

Accessing Web Services from JSF applications

Accessing Web Services from JSF applications

1) Introduction In this technical article, let us see how it is possible to access Web Services from JSF Applications. JSF Application resides in the Web Tier of a typical Enterprise Application, whereas Web Services are External Services that reside in the Application Tier. We make use of Java EE 5 for developing the Sample …

Read More

Introduction to Java Server Faces

Introduction to Java Server Faces

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 …

Read More

Getting Started with JAAS

Getting Started with JAAS

The NetBeans Community Docs wish list is headed by a document request titled “Simple visual Web application (incl. documentation) using simple form based authentication with JAAS against a DB (e.g. login, logout, sessionhandling”. In this post, I shall give point you to some references and related resources regarding JAAS. Java SE Security Java SE security …

Read More

Web 2.0 – The new era of Website

Web 2.0 – The new era of Website

Web 2.0 is bringing some drastic change in the way we use the web. Previously we used to read web for news, information but now the air is different. This whole new era of uploading has come up, in which web users not only read but write web, users collaborate with others as there is …

Read More

Service Oriented Architecture – Web Service

Service Oriented Architecture – Web Service

A service-oriented architecture is essentially a collection of services. These services communicate with each other. The communication can involve either simple data passing or it could involve two or more services coordinating some activity. Some means of connecting services to each other is needed. Service-oriented architectures are not a new thing. The first service-oriented architecture …

Read More

Securing J2EE Applications with a Servlet Filter

Securing J2EE Applications with a Servlet Filter

Web applications oftain contain both public and private resources. It is necessary to ensure that those key areas that are restricted to the public remain off limits to even the craftiest of users. This is a common problem and there are many different solutions. In this article, I will show how a Servlet Filter can …

Read More

Servlets and JSP Pages Best Practices

Servlets and JSP Pages Best Practices

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 …

Read More

What’s New in Java Servlet API 2.2?

What’s New in Java Servlet API 2.2?

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 …

Read More

Using JDBC with MySQL, Getting Started

Using JDBC with MySQL, Getting Started

Purpose The purpose of this Articleis to get you beyond the initial hurdles involved in:   Downloading and installing a MySQL database server. Preparing that database for use with JDBC. Writing and testing your first JDBC programs to administer the database and to manipulate the data stored in the MySQL database.     What is …

Read More

JavaBeans: Unlocking the BeanContext API

JavaBeans: Unlocking the BeanContext API

Since the introduction of the JavaBeans component architecture in the Java Development Kit v 1.1 (JDK) release in February 1997, additional specifications have been added to this component architecture such as the Extensible Runtime Containment and Services Protocol and the InfoBus standard extension. Both of these additions provide APIs that enable Beans to interconnect during …

Read More

J2EE Form-based Authentication

J2EE Form-based Authentication

Implementing security for Web applications is a mandatory task for architects and Web application developers. In J2EE, the Web containers have support for built-in security mechanisms for their applications. There are two major components of Web application security: authentication and authorization. J2EE-based Web containers offer three types of authentication mechanisms: basic, form-based, and mutual authentication. …

Read More

The AS/400 Toolbox for Java in a Nutshell – DID YOU KNOW THIS???

The AS/400 Toolbox for Java in a Nutshell – DID YOU KNOW THIS???

The AS/400 Toolbox for Java is a library of Java classes built for accessing AS/400 data and resources. It isn’t a standalone application, rather a set of APIs that give your Java program access to AS/400 data. The Toolbox is 100% Pure Java, so it runs on any workstation with a 1.1 or later Java …

Read More

Google Web Toolkit

Google Web Toolkit

Google released a tool kit to create light weight web applications called Google Web Toolkit. You can find it at http://code.google.com/webtoolkit/ Basically the GWT takes Java code and does a 1:1 translation to JavaScript with a kind fo cross-compiler. It is optimized and shrank and all that good stuff. This is a pretty cool idea …

Read More