29.01.2013 Views

WebSphere Application Server V7.0: Concepts ... - IBM Redbooks

WebSphere Application Server V7.0: Concepts ... - IBM Redbooks

WebSphere Application Server V7.0: Concepts ... - IBM Redbooks

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

► You can use the <strong>WebSphere</strong> <strong>Application</strong> <strong>Server</strong> rollout update feature, which<br />

requires the application server be stopped. Although it can be used when<br />

there are multiple applications in each application server, all applications are<br />

stopped as the application server is stopped. You need to have all<br />

applications clustered to have other instances always available.<br />

► Each application will receive its own SystemOut and SystemErr log file. If<br />

multiple applications are deployed on the same application server, system log<br />

output from all applications would be interleaved in the SystemOut and<br />

SystemErr logs. Usually, this is not a problem because applications often use,<br />

for example, log4j (which is configurable) to perform logging instead of plain<br />

system out print statements.<br />

► It is simple to diagnose problems as there is only one application in the JVM.<br />

The advantages of deploying multiple applications to the same application server<br />

are as follows:<br />

► By deploying multiple applications to the same application server, you can<br />

reduce the memory used. Each application server instance requires about<br />

130 MB of RAM for it to run. If you have 10 such application server processes<br />

running on your system, you have consumed more than 1 GB worth of RAM<br />

for the <strong>WebSphere</strong> <strong>Application</strong> <strong>Server</strong> runtime alone.<br />

► You can use EJB local interfaces to make local calls from one application to<br />

another, because they are in the same JVM.<br />

► Fewer application servers means fewer ports open in the <strong>WebSphere</strong><br />

<strong>Application</strong> <strong>Server</strong> tier, which means fewer ports need to be opened in the<br />

firewall between the HTTP tier and the <strong>WebSphere</strong> <strong>Application</strong> <strong>Server</strong> tier.<br />

Sometimes, a mixed approach is the best way to go. By grouping related or<br />

similar applications and deploying them to the same application server, while<br />

deploying other applications that need to run in their own environment, you can<br />

achieve a good compromise.<br />

308 <strong>WebSphere</strong> <strong>Application</strong> <strong>Server</strong> <strong>V7.0</strong>: <strong>Concepts</strong>, Planning, and Design

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!