Fig27. Typical
example of a J2EE architecture
The architecture presented in the figure
above is a typical example consists of several
layers given by J2EE.
4.2.4 Software Environment
Throughout the development phase, we used
the following software environment:
§ Operating System: Ubuntu 10.04:
the best user friendly Linux desktop distribution
§
Tools Development: Net Beans 6.9
For dynamic web pages we need an application
server to compile and execute Java
classes representing the business of our application.
· Application Server
: Glass fish: new application
server, consistent specification J2EE 6,
integrated with Net Beans 6.9
·
Data Base Server: MySQL server to manage database.
· Design and Modeling with
UML: Umbrello: is a design tool
· Writing the
report and presentation: Open Office is free
and open source and free Text editor with correcting spelling
and grammar extensions.
4.2.4.1 Net Beans
Technical Reasons
Choosing an IDE (Integrated Development
Environment) is a critical step in the
project, This choice will gain
us in time and effort, therefore development
cost. We chose Net Beans development
environment for the application because it is Free,
developed by Sun: language founder of Java, its popularity
and flexibility is increasing. It integrates Glass Fish Server.
It is a complete development platform; because
its environmental baseline includes all these following
functions:
§ It is free and includes all
the features of a modern IDE (syntax
highlighting, multi-language projects, refactoring, editor graphic interfaces
and web pages, etc.).
§ configuration and management GUI,
§ support for different programming languages,
§ Treatment of the source
code (editing, navigation, formatting, inspection ..)
§
access and management of databases, Web servers, shared
resources: it includes a query editor,
a manager of integrated databases ...
§
We can also add libraries as its main
library mail.jar. For sending mail.
4.2.4.2 Choice of
MySQL
The database requirement is motivated not
only by the need to serve documents created
dynamically but also access to
daily information constantly changing, with a
simple and unified interface, so we have chosen because
it is very easy to change and manage. It supports API (Application
Programming Interface) clients with many programming
languages ??(Java, C, etc.) which can easily write
client programs that need access to data
in a MySQL database.
|