Beruflich Dokumente
Kultur Dokumente
Application Server:-
Application Server is a container which complies with run time environment of
J2EE applications with J2EE specifications
Web server:-
Web Server is a Container, its functionality is to handle HTTP request and serve
HTML pages, it is used for accessing the web page
The middle tier is WebSphere Application Server, which provides a framework for a
consistent and architected link between the HTTP requests and the business data and
logic.
Web container:-
Manages the execution of
1. JSP page(Java Server pages)
2. Servlet components
2
3.
Enterprise JavaBeans (EJB) container:-
• Provides a run-time environment for enterprise beans within the
application server
SIP Container:-
• Session Initiation Protocol (SIP) is used to establish and manage
multimedia IP sessions
Portlet Container:-
• The portlet container is the runtime environment for portlets using the
JSR (Java Specification Requests) 168 Portlet Specifications, in which
portlets are instantiated, used, and finally destroyed.(Like JSP)
Embedded http server:-
• It is inbuilt in Application server. It is embedded with admin console.
• It is independent with all web containers
J2C container:-
• A J2C container contains connection factories that represent backend resources; it
also manages access to these resources via a connection manager associated with
each connection
The JMX framework allows a provider to implement functions, such as listing the
configuration settings, and allows users to edit the settings
JMX connectors: -
1. SOAP (Simple Object Access Protocol) Port# 8880),
2. RMI (Remote Method Invocation)
MBean:-
-MBeans- (managed beans) is java object that represents a manageable resource,
such as application, a service, a component or a device
-MBeans-Java Object
-Resources are managed by JMX MBeans
-MBean used to communicate the XML repository to update the configuration.
Master repository:-
Master repository located on the deployment manager installation contains the
serverindex.xml file for each node
The deployment manager reads this file on startup to determine the host name and IP port
of each node agent’s NODE_DISCOVERY_ADDRESS.
File synchronization:-
4
Node agent checks with the deployment manager to see if any files that apply to
the node have been updated in the master repository.
New or updated files are sent to the node, while any deleted files are also deleted
from the node.
Plug-in
• An HTTP request from a Web browser enters the Web server and is then
redirected to the application server. This redirection is performed by the
WebSphere plug-in.
• WebSphere plug-in as an “agent” redirecting HTTP requests from the Web server
to the application server using the HTTP protocol
HttpTransport
• Its job is to accept the HTTP request from the plug-in, and then forward it to the
web container.
<Config>
<Log LogLevel="Error" Name="<WAS_HOME>\logs\http_plugin.log"/>
<VirtualHostGroup Name="default_host">
<VirtualHost Name="*:80"/>
</VirtualHostGroup>
<ServerCluster Name="MyCluster">
<Server Name="CL1">
<Transport Hostname="SHARAD" Port="9080" Protocol="http"/>
</Server>
</ServerCluster>
<UriGroup Name="MyURIs">
<Uri Name="/MyPath/*"/>
</UriGroup>
5
<Route ServerCluster="MyCluster"
UriGroup="MyURIs" VirtualHostGroup="default_host"/>
</Config>
Step 1: HTTP request enters the plug-in, http://www.xyz.com/MyPath/MyPage
Step 2: Plug-in breaks down the URL into 2 parts:
1st, www.xyz.com:80 is the hostname or the Virtual Host, and
2nd, /MyPath/MyPage is the URI
Step 3: Find a Route in plugin-cfg.xml that will service this Virtual Host and URI
Step 4: Compare the Virtual Host of the request with all Virtual Hosts defined in the
VirtualHostGroup of the Route
Step 5: Compare the URI of request with all the URIs defined in the UriGroup of the
Route. (Start with 1st URI)
Step 6: Route selected. WebSphere will handle the request.
Node group Group of nodes with same set of configuration in same O/s
An application programming interface (API) for connecting Java programs to the data
in a relational database. With this API, you can encode data requests in Structured
Query Language (SQL) that JDBC then passes to the database manager for
interpretation and processing.
JDBC Resource:-
1. JDBC Providers
The JDBC provider object encapsulates the specific JDBC driver implementation
class for access to the specific vendor database of your environment
• Database Type
• Provider Type
• Implementation Type- Connection Pool data source or XA data source
• Database Class path-Driver path
2. Data Source- A data source supplies the physical connections between the application
server and the database.
• Basic Data Source Information:- Data Source Name & JNDI Name
7
• JDBC Provider
• DB specific properties for Data Source-DB name, Driver Type ,Server name
Types of Drivers:-
Type 1:- ODBC Driver
Type 2:- Driver requires DB client loaded on each client machine
Type 3:- Pure Java Driver-Without firewall (JDBCDB middleware different
databases)
Type 4: Direct-to-Database Pure Java Driver-With firewall
2. Resources:-
• JMS providers:- It provides J2EE connection factories to create connections for
JMS destinations
8
Administration:-
1. Admin console
Admin Console embedded http server JMX repository
3. WSADMIN JMX Repository (SOAP protocol , 8880)
Clusters
Memory-to-memory replication:-
The WebSphere Application Server instance in which the session is currently processed
is referred to as the owner of the session. If the current owner server instance of the
session fails, then the WebSphere Application Server plug-in routes the requests to
another appropriate server in the cluster. In a peer-to-peer cluster, the hot failover feature
causes the plug-in to failover to a server that already contains the backup copy of the
session, avoiding the overhead of session retrieval from another server containing the
backup. In a client/server cluster, the server retrieves the session from a server that has
the backup copy of the session. The server now becomes the owner of the session and
affinity is now maintained to this server.
• Server mode: Only store backup copies of other WebSphere Application Server
sessions and not to send out copies of any session created in that particular server
• Client mode: Only broadcast or send out copies of the sessions it owns and not to
receive backup copies of sessions from other servers
• Both mode: Simultaneously broadcast or send out copies of the sessions it owns
and act as a backup table for sessions owned by other WebSphere Application
Server instances.
Shared session Data Base:- Session info stored in external DB-Specifies that the
session management facility stores session information in the data source specified by the
data source connection settings. Click Database to change these data source settings.