02-Installation & Configuration

download 02-Installation & Configuration

of 40

Transcript of 02-Installation & Configuration

  • 7/27/2019 02-Installation & Configuration

    1/40

    BASIC CONCEPTS

  • 7/27/2019 02-Installation & Configuration

    2/40

    3 Tiers

    A 3-tier architecture is an application architecture that splits the user interface

    (presentation layer) from the application logic. An "application server" handles

    the application logic and interacts with the database. This architecture scales

    better and is less complex. Also, new user interfaces can be added easily

    without changing the application or database tiers.

    http://www.orafaq.com/wiki/Applicationhttp://www.orafaq.com/wiki/Databasehttp://www.orafaq.com/wiki/Databasehttp://www.orafaq.com/wiki/Application
  • 7/27/2019 02-Installation & Configuration

    3/40

    Oracle Fusion Middleware

    Middleware is a term used to describe computer software that connects

    software components or applications, Middleware includes Web servers,

    application servers, content management systems, and similar tools that

    support application development and delivery

  • 7/27/2019 02-Installation & Configuration

    4/40

    A Java virtual machine is software that is implemented on

    virtual and non-virtual hardware and on standardoperatingsystems. A JVM provides an environment in which Java

    bytecode can be executed

    A servlet is a Java program that executes on the server,

    accepting client requests and generating dynamic responses

    The Java Development Kit (JDK) is an OracleCorporation product aimed at Java developers. Since the

    introduction of Java, it has been by far the most widely used

    Java Software Development Kit (SDK).

    Servlet

    JVM

    JDK

    http://en.wikipedia.org/wiki/Operating_systemhttp://en.wikipedia.org/wiki/Operating_systemhttp://en.wikipedia.org/wiki/Oracle_Corporationhttp://en.wikipedia.org/wiki/Oracle_Corporationhttp://en.wikipedia.org/wiki/Java_(programming_language)http://en.wikipedia.org/wiki/Software_development_kithttp://en.wikipedia.org/wiki/Software_development_kithttp://en.wikipedia.org/wiki/Java_(programming_language)http://en.wikipedia.org/wiki/Oracle_Corporationhttp://en.wikipedia.org/wiki/Oracle_Corporationhttp://en.wikipedia.org/wiki/Operating_systemhttp://en.wikipedia.org/wiki/Operating_systemhttp://en.wikipedia.org/wiki/Operating_system
  • 7/27/2019 02-Installation & Configuration

    5/40

    JavaServer Pages (JSPs) are HTML documents that are embedded with special

    tags to insert Java code, thereby providing dynamic content. When the user

    makes a request on a JSP, the server executes the Java code and generates an

    HTML documentJar Java Archive : a java class archive files.

    War Web Archive : Web modules which contains Servlet class files,JSP

    Files,supporting files, GIF and HTML files are packaged as JAR file with .war( web

    achive) extension

    Ear Enterprise Archive : All above files(.jar and .war) are packaged as JAR file

    with .ear ( enterprise archive) extension and deployed into Application Server or

    WeblogicEJBs make it possible for relatively new programmers to develop useful parts of

    highly complex, transaction-aware, and scalable enterprise applications, it relays

    on Weblogic , etc

    The JDBC specification defines an interface for Java programs to use and

    an interface for which database vendors can develop custom drivers, two

    types of JDBC drivers:

    Thick JDBC drivers built on top of the C-based Oracle Net client

    Thin (pure Java) JDBC driver to support downloadable applets

    JSP

  • 7/27/2019 02-Installation & Configuration

    6/40

    Your network

    Inner

    network

    Client

    app

    Client

    app

    Firewall Firewall

    Extranet

    or

    Internet

    App servers

    SvrC

    SvrB

    SvrA

    SvrD

    SvrE

    SvrX

    SvrW

    SvrV

    SvrY

    SvrZ

    Client

    app

    Web

    server

    WLS

    plug-

    In

    DB

    WEB APPLICATION SERVER

    CONFIGURATION

  • 7/27/2019 02-Installation & Configuration

    7/40

    Your network

    Client

    app

    Client

    app

    Firewall Firewall

    Extranet

    or

    Internet

    App servers

    SvrC

    SvrB

    SvrA

    SvrD

    SvrE

    SvrX

    SvrW

    SvrV

    SvrY

    SvrZ

    Local

    client

    app

    Client

    app

    DB

    APPLICATION SERVER CONFIGURATION

  • 7/27/2019 02-Installation & Configuration

    8/40

    JNDI (pronounced jenn-dee) is an API and a standard that Java programs use to

    access existing naming or directory services. It is not a naming or directory service.

    It is merely the mapping. Different naming and directory services store objects in

    different ways.

    WLS

    server

    WLS

    driver

    Naming manager

    Service

    Purchased or obtained

    JNDI API

    Written by developer

    OtherDNS

    system

    File

    system

    LDAP

    server

    Other

    DNS

    driver

    File sys

    driver

    LDAP

    driver

    JNDI SPI

    JNDI API

    Application code

  • 7/27/2019 02-Installation & Configuration

    9/40

    Enterprise messaging is now recognized as an essential tool for building

    enterprise applications. By combining Java technology with enterprise

    messaging, the JMS API provides a tool for writing enterprise applications thatcommunicate with each other asynchronously.Producer

    Consumer

    Producer

    Consumer Consumer

    JMS

    server

    Destination

  • 7/27/2019 02-Installation & Configuration

    10/40

    Java EE Standard

    Java Platform Enterprise Edition 5 (Java EE, formerly known as J2EE),

    developed by Sun Microsystems, is a superset of the Java Platform

    Standard Edition (SE) 6 Java Development Kit (JDK).

    Oracle WebLogic Server

    Java EE Application Server

    Web ContainerWeb client

    RDBMS

    Message queue

    Directory service

    CORBA

    Java app

    Web service

    EJB Container

    Applet JSPs

    Servlets

    Session EJBs

    Entity EJBs

    JAX-

    WS

    RMI JTA JDBC JMS JMX JAAS JNDI

    Client

    application

  • 7/27/2019 02-Installation & Configuration

    11/40

    Installation

  • 7/27/2019 02-Installation & Configuration

    12/40

    - We Can Use GUI Installer

    - We Can use Console InstallationWLSxxxxxxx.exemode=console

    - We Can use Silent Mode

    Create a silent.xml file.

    Wlsxxxx.exe mode=silent

    silent_xml=path_to_silent.xml

  • 7/27/2019 02-Installation & Configuration

    13/40

    Database Installed

    Now installing Weblogic Server

  • 7/27/2019 02-Installation & Configuration

    14/40

  • 7/27/2019 02-Installation & Configuration

    15/40

    We can Customize the Installation

  • 7/27/2019 02-Installation & Configuration

    16/40

  • 7/27/2019 02-Installation & Configuration

    17/40

  • 7/27/2019 02-Installation & Configuration

    18/40

  • 7/27/2019 02-Installation & Configuration

    19/40

  • 7/27/2019 02-Installation & Configuration

    20/40

  • 7/27/2019 02-Installation & Configuration

    21/40

  • 7/27/2019 02-Installation & Configuration

    22/40

  • 7/27/2019 02-Installation & Configuration

    23/40

  • 7/27/2019 02-Installation & Configuration

    24/40

  • 7/27/2019 02-Installation & Configuration

    25/40

  • 7/27/2019 02-Installation & Configuration

    26/40

  • 7/27/2019 02-Installation & Configuration

    27/40

  • 7/27/2019 02-Installation & Configuration

    28/40

  • 7/27/2019 02-Installation & Configuration

    29/40

  • 7/27/2019 02-Installation & Configuration

    30/40

  • 7/27/2019 02-Installation & Configuration

    31/40

  • 7/27/2019 02-Installation & Configuration

    32/40

  • 7/27/2019 02-Installation & Configuration

    33/40

  • 7/27/2019 02-Installation & Configuration

    34/40

    Configuration & Administration

  • 7/27/2019 02-Installation & Configuration

    35/40

    Is the basic administration unit for Oracle WebLogicServer

    Always includes one Oracle WebLogic Server instanceconfigured as an administration server

    May include optional Oracle WebLogic Server instancesin a domain called managed servers

    May also include clusters of server instances that worktogether

    WebLogic domain

    Cluster1

    Cluster2WebLogic Server system

    administration tools

    Managed

    server

    Managed

    server

    Admin

    serverManaged

    server

    Managed

    server

    Managed

    server

    Managed

    server

    NM

    DOMAIN: OVERVIEW

  • 7/27/2019 02-Installation & Configuration

    36/40

    Directory Structure

    To start WLS using command Line go to :

    C:\Oracle\Middleware\user_projects\domains\ClassicDomain

  • 7/27/2019 02-Installation & Configuration

    37/40

    To start Managed WLS using command Line go to :

    C:\Oracle\Middleware\user_projects\domains\ClassicDomain\bin

  • 7/27/2019 02-Installation & Configuration

    38/40

    To start OPMNCTL :

    C:\Oracle\Middleware\asinst_1\bin

  • 7/27/2019 02-Installation & Configuration

    39/40

    Web Server : Oracle HTTP Server ( OHS) On Port 80

    http://localhost or ip]:8888/

    WebLogic Console : On Port 7001

    Form Service : On Port 9001 To access form we use 8888

    Report Service : On Port 9002 To access report we use 8888

  • 7/27/2019 02-Installation & Configuration

    40/40

    Prepared By : Mojtaba Eltayeb

    [email protected]

    www.mojtabanow.info

    mailto:[email protected]:[email protected]