From Technical Knowledge to IT Service Management

Archive for the ‘Tutoriaux’ Category

JBoss – open source J2EE application server

* What is Jboss?
* Downloading Jboss
* Installing JBoss
-with command line
-with graphical mode
* Running JBoss
* Exploring the Directory Structure
* Configuration
* Deploying an application to JBoss
* Summary

JBoss is an open source J2EE application server. It is J2EE 1.4 spec-compliant, which means that it offers the same level of functionality as its more expensive commercial counterparts such as Oracle Application Server, Websphere (IBM) or Weblogic (BEA). The main difference is the price and to be honest the main admin interface.For example, an absolute beginner would find more comfortable to have a web interface to declare a jdbc datasource, instead of declaring it with “VI” editing an xml file. Considering the reliability of other open source products like Apache web server, Jboss should also become more popular and reliable, but it has already begun to become a serious competitor for the market leaders.

Although the term application server applies to all platforms, it has become heavily identified with the Sun Microsystems J2EE platform; we should always say Jboss is a J2EE application server

What is Jboss?

Go to the JBoss Application Server Downloads page. -> http://labs.jboss.com/portal/jbossas/download

Choose the latest production version of the JBoss Application Server package. (4.0.5 Production 2006-10-18) Since the 4.0.3 SP1 version, you can try a “Run Installer” http://jboss.sourceforge.net/jnlp/jems-installer-1.2.0.GA.jnlp or download it. You must have a X console or a graphical interface to use it.

Oracle Application Server 10g – part I – Presentation & Introduction

Oracle Application Server (latest version 10g) also called OAS 10g is a very huge box. OAS is gathering various products: Oracle Portals, Oracle Reports, Oracle Forms,…. all of these running with the “kernel” of OAS: the OC4J container which belongs to the Application Server 10g instances. It is the main component of OAS. Using it, we got a Three-tier model architecture.

Three-tier is a client-server architecture in which the user interface, functional process logic (“business rules”), data storage and data access are completely independent. There are developed and maintained as independent objects. A fundamental rule in a three tier architecture is that the Client tier never communicates directly with the Data tier; in a three-tier or three-layer model all communications go through the second-tier: the Middleware tier.

The different layers in an Oracle application server 10g architecture:

> Client tier
Contains the web browsers for end users

> OAS tier
Contains the OAS (especially the OC4 container), the OHS (Oracle HTTP server)
and the webcache (optional) (and sometimes other modules)

> Database tier
Contains the Database (Oracle one or another one)

Considering different aspects: business impacts, criticism, number of users…. and depending on “how much you have for your server architecture”, the Oracle application server 10g architecture can be considered as a Four-tier model.

If you firm was big enough, the OAS tier would be divided into two parts, and you would get this kind of architecture:

> Client tier
Contains the web browsers for end users

> OHS tier
the OHS (Oracle HTTP server) and the webcache (optional)

> OAS tier (or app. server tier)
Contains the OAS (especially the OC4 container) and the other OAS modules

> Database tier
Contains the Database (Oracle one or another one)

Why doing that ?

For security, flexibility, reliability… usually you don’t have only one server for each tier. At least you would have two servers for each tier. Therefore you can easily maintain the servers, you can shutdown one OHS and the application will still be available – of course it would mean that you have got a load-balancer, in front of the OHS

You can have a very scalable architecture depending on your needs and the evolution of your activities during the year.

OAS 10g is not a simple J2EE application server, it is full of optional modules/components, such as:

Middle tier:

J2EE & web services:
Oracle HTTP Server
Oracle AS Containers for J2EE(OC4J)
Oracle AS toplink
Oracle Business Components for Java (BC4J)
Oracle AS web services
Oracle XML developer Kit
Oracle PL/SQL
Oracle AS Map/viewer

Datamining:
Oracle Reports Server

A component which helps a lot for reports or spreadsheets filled with oracle database data.

Oracle Forms Server
format, and render end-user presentation pages, based on data in an Oracle Database.

Oracle Discoverer

Oracle Personalization
personalised webspace (url history customize data content)

Portal:
Oracle Portal

A component to create content-based web site.

Oracle Portal Developer Kit

Wireless:
Oracle AS wireless

Web Cache:
Oracle AS web Cache

‘interconnection’:
Oracle AS InterConnect

Oracle As ProcessConnect

Infrastructure:

Oracle Internet Directory (OID)
It is the oracle LDAP, to store all the user information

Single Sign-On (SSO)
authentication modules for all the oracle modules and many others which can base their system on it.

Oracle Certificate Authority

Metadata repository (or Infrastructure)
It stores Application Server 10g metadata and it manages multiple oracle components through a unique interface

Struts – Tutorial

Struts est un framework proposant un cadre logiciel pour l’organisation des échanges avec l’utilisateur et la dynamique de l’application. Il promeut une structuration de la couche Servlet-JSP suivant le modèle MVC II. La définition de la dynamique de l’application est partiellement déclarative, via un fichier de configuration, partiellement implémentée, au sein des classes Action…..

>> Lire la suite 

>> Lire la suite (mirroir sur developpez.com)

Download: version .doc et .pdf
Struts – Tutorial doc

Struts – Tutorial pdf