Professional Documents
Culture Documents
Weblogic Basic
Weblogic Basic
Weblogic Basic
Rakesh Kumar
R&D-ALB-RDM-FOR-QDS-BCS
Day 1
Agenda
Click icon to add picture
_ Introduction
_ Types of servers
_ Difference b/w webservers and
Application servers
_ Weblogic server overview
_ JDK Installation
_ Weblogic server installation
_ Weblogic Domain creation
1
2
3
4
5
6
7
8
Page 2
Types of server
running certain software applications
_ Communications server, carrier-grade
computing platform for communications
networks
_ Compute server, a server intended for
intensive (esp. scientific) computations
_ Database server, provides database services
to other computer programs or computers
_ Fax server, provides fax services for clients
_ File server, provides remote access to files
_ Game server, a server that video game
clients connect to in order to play online
together
_ Print server, provides printer services
_ Proxy server, acts as an intermediary for
requests from clients seeking resources from
other servers
_ Web server, a server that HTTP clients
connect to in order to send commands and
receive responses along with data contents
Page 3
Page 4
many more
Page 5
Weblogic server
_ WebLogic is a server software application that runs on a middle tier,
between back-end databases and related applications and browserbased thin clients. WebLogic is a leading e-commerce online
transaction processing (OLTP) platform, developed to connect users in
a distributed computing environment and to facilitate the integration
of mainframe applications with distributed corporate data and
applications.
Page 6
Page 7
Weblogic server
Page 8
Artifacts
_ JAR is java archive file. It contain all class file,image,sound and other files which will needed in whole
application. Computer users can create or extract JAR files using the jar command that comes with
the JDK. They can also use zip tools. The Java Archive (JAR) file format enables you to bundle
multiple files into a single archive file. jar was designed mainly to facilitate the packaging of java
applets or applications into a single archive.
_ WAR -Web Archive (WAR) file is a Java archive file used to store jsp,servlets,classes,meta data
information, images and Sound and tag libraries etc. Its standard file extension is .war. WAR files are
used to package Web modules. A WAR file is for a Web application deployed to a servlet/jsp engine.
_ EAR -An Enterprise Archive file represents a J2EE application that can be deployed in a Web Sphere
application server. EAR files are standard Java archive files and have the file extension .ear. EAR file
contain ejb, web or application client module. ear file is complete j2ee application file that contain
all(jar +war)
Page 9
_ For web applications, the deployment descriptor must be called web.xml and must reside
in the WEB-INF directory in the web application root. For Java EE applications, the
deployment descriptor must be named application.xml and must be placed directly in the
META-INF directory at the top level of the application .ear file.
Page 10
Download
_ Sun Java /Oracle jrockit
_ Weblogic Application server
http://www.oracle.com/technetwork/middleware
/weblogic/downloads/index.html
Page 11
export JAVA_HOME=PATH
Page 12
Page 13
named Oracle/Middleware.
_ Click Next
Page 14
Page 15
Page 16
_ JDK Selection
_ Click Next
Page 17
Page 18
Page 19
Page 20
_ Installation Summary
_ Click Next
Page 21
_ Status
_ Click Next
Page 22
_ Installation Complete
_ Click Next
Page 23
Console-Mode installation
_ The console mode installer displays a series of text panels that correspond to
Run:
Page 24
Console-Mode installation
Page 25
Console-Mode installation
Page 26
Console-Mode installation
Page 27
Console-Mode installation
Page 28
Console-Mode installation
Page 29
Silent.xml
<?xml version="1.0" encoding="UTF-8"?>
<bea-installer>
<input-fields>
<data-value name="BEAHOME" value="D:\WLS1036" />
<data-value name="WLS_INSTALL_DIR" value="D:\WLS1036\wlserver_10.3" />
<data-value name="COMPONENT_PATHS" value="WebLogic Server|Oracle Coherence" />
</input-fields>
</bea-installer>
Page 30
Place the silent.xml file in the same directory as where the WebLogic Server Package installer is located.
Open a command prompt window.
Weblogic Domain
_ What Is a Domain?
A domain is the basic administration unit for WebLogic Server instances. A domain consists
of one or more WebLogic Server instances (and their associated resources) that you manage
with a single Administration Server. You can define multiple domains based on different
system administrators' responsibilities, application boundaries, or geographical locations of
servers. Conversely, you can use a single domain to centralize all WebLogic Server
administration activities.
Each domain's configuration is stored in a separate configuration file called config.xml, which
is stored on the Administration Server along with other files such as logs and security files.
When you use the Administration Server to perform a configuration task, the changes you
make apply only to the domain managed by that Administration Server
Page 31
Weblogic Domain
_ Contents of a Domain ?
Page 32
In development mode . . .
In production mode . . .
SSL
Deploying Applications
Execute Queues
Any other server instance other than Administrative Server of a Weblogic domain
is called as Managed Weblogic Server. Managed Servers host the components
and associated resources that constitute the applicationsfor example, JSPs and
EJBs.
Page 34
domain
Page 35
Weblogic Domain
Page 36
Page 37
Page 38
Page 39
Page 40
you wish to start your domain and JDK (Sun, JRockit or any other JDK)
Production Mode- Domain is more secure, You need username password to
start domain or deploy application.
Development Mode- Not very secure, You can Autodeploy application and no
need to provide username/password to start Domain.
Page 41
Page 42
Page 43
Page 44
Thank You
Page 45