...
This article provide details about the Apache Geronimo installation. Here you will find information about what are pre requisite software, where to download Geronimo from and how to customize the installation to use custom ports other than the defaults.
...
- #Prerequisite software
- #Downloading Geronimo
- #Changing the default ports
- #Changing the default user name and password
- #Topologies
- #Summary
Prerequiste software
- J2SE SDK (http://java.sun.com/)
- Apache Maven (http://maven.apache.org/maven-1.x/start/download.html).
...
To configure the default port edit the <geronimo_home>/var/config/config.xml file. Go to the file and open in a text editor. The file will look like below:
...
...
In order to change the default port, scroll down to the code that looks like below in the config.xml file and change the port number.
...
...
Save the file and after starting the Geronimo Server, point your browser to
...
Open the <geronimo_home>/var/security/groups.properties file and edit the contents of this file. Add any username that you require and save the file. bgColor No Format
#000000
Next, open the <geronimo_home>/var/security/users.properties file. You can change the password for the existing system account or add new users. When adding new users, the username has to be the same as the ones added to the groups.properties file.noformat
In this example, two users have been added, user1 and user2. The default system account has been deleted. Both user 1 and user2 can access both the console and the command line deployment tools.
...
In today's globalized world, modern organizations face a lot of opportunities and challenges every day. Many of these challenges can put an onus on the organization's IT infrastructure therefore its configuration is crucial. The Apache Geronimo application server supports small-to-medium-sized enterprise applications and provides robust, secure support for the latest J2EE specification.This section will highlight the different configuration options that can be used in your production environment.
Two-tier system
The figure below shows a client machine accessing an application hosted in the Geronimo server. Althougth the figure depicts only one client machine, several machines can be connected to the server and users on these machines can access the hosted Web applications using a standard Web browser.
The client-side application can be vary from being a simple command line user interface to fullya full-fledged user interface that can be such as those created using popular client-side GUI technology. These applications can access the Web tier by connecting to the server using their own HTTP connections, or they can access business and EIS tier objects through the help of the Geronimo client application container.
Features of the Geronimo application client : -
- Seperate from the Geronimo server
- Communication with the Geronimo server is over the network
- Provides mapping,dependency management for the client application and reference resolution
Three-tier system
Three tier architecture system is more scalable than two tier as it supports hundreds of users and organization. It also increases flexibility and freedom.
...
- Clustering & Load Balancing
Clustering allows an application server to support multiple nodes with failover, session data sharing, and load balancing across many network nodes. Load balancing of the application can be done with the help of inbuilt support of Apache server. For detailed information on Clustering please refer Performance and High Availability section.
- SSL Encoder
The advantages of Web server proxies are that they offer a way to get server affinity for SSL-encrypted messages, without any extra hardware. But extensive SSL processing puts an extra load on the proxy. It will be handled by Apache server while Geronimo can handle business logic of the application.
- Application Load Sharing
In many serving systems, Apache and Geronimo servers work together to handle all HTTP requests. Apache handles the request for static pages (including HTML, JPEG, and GIF files), while Geronimo handles requests for dynamic pages (JSPs or servlets) with the help of Tomcat/Jetty. Geronimo servers can also handle static pages, but in combined systems, they're usually set up to handle dynamic requests.
Summary
Using the Geronimo application server lets you build a secure enterprise infrastructure conforming to the latest standards and requirements.This article gave you an insight into custom configuration of the standard Geronimo installation, with several installation methods.