IBM Certification 3 Application Management

Embed Size (px)

Citation preview

  • 8/17/2019 IBM Certification 3 Application Management

    1/18

    Section 3 - Application

    Management (Assembly,Deployment and

    Configuration)ESIS Consulting LLC

    (C) ESIS Consulting LLC. All rights reserved

  • 8/17/2019 IBM Certification 3 Application Management

    2/18

    Application Assembly

    •  Application contains code artifacts such asServlets, JSPs, EJs and supporting class files

    • In order to !e deplo"ed onto a JEE ApplicationServer, the code artifacts need to !e asse#!ledas Modules

    • $here are various tools provided !" I% for

    asse#!l" and deplo"#ent• $he outco#e of using the asse#!l" tool isdeplo"a!le Archive file

  • 8/17/2019 IBM Certification 3 Application Management

    3/18

    Application Assembly Cont...

    • &uring asse#!l", "ou create annotations ordeplo"#ent descriptors that 'ill !e used

    during deplo" ti#e

    • ou can also create environ#ent specific!inding and I% etensions for JEE

    • $he etensions definitions are stored in aseparate deplo"#ent descriptor to allo'porta!ilit"

    • ou can edit an" deplo"#ent descriptor

    #anuall" using an *%L editor or a tet editor 

  • 8/17/2019 IBM Certification 3 Application Management

    4/18

    Deployable Modules

  • 8/17/2019 IBM Certification 3 Application Management

    5/18

    Structure of an Enterprise Arci!e

    file (EA" file)

    • EA+ file is a standard Java Archive file (ar file)'ith a .ear  etension

    • EA+ file contains JEE %odules and deplo"#entdescriptors

     Application +oot

    %E$A-I/

    application.#l (enter i!# specifiapplication.#l here)

    EJ %odule (.ar)

    0E %odule (.'ar)

    Client #odule . ar 

  • 8/17/2019 IBM Certification 3 Application Management

    6/18

    #ools a!ailable for Application

    assembly and deployment

    1. I% Asse#!l" and &eplo" tools for

    0e!sphere Ad#inistration

    2. I% 0e!Sphere Application Server

    developer tools for Eclipse

    3. I% +ational Application &eveloper for

    0e!Sphere Soft'are

    4. %onitored director" featurehttp566'''.red!oo7s.i!#.co#6red!oo7s6S8249:226''help6''hi#pl6s6ht#l6''help.ht#

    re#e#!er to add ;uestions on the tools

    capa!ilities

    http://www.redbooks.ibm.com/redbooks/SG248022/wwhelp/wwhimpl/js/html/wwhelp.htmhttp://www.redbooks.ibm.com/redbooks/SG248022/wwhelp/wwhimpl/js/html/wwhelp.htm

  • 8/17/2019 IBM Certification 3 Application Management

    7/18

    #ools a!ailable for Application

    assembly and deployment Cont ...

  • 8/17/2019 IBM Certification 3 Application Management

    8/18

    Structure of an E$% module

    • EJ %odule is pac7aged as ar fileEJ +oot

    %E$A-I/

    e!-ar.#l

    @i!# specific #l

    Class files

    • EJs can also !e pac7aged 'ith a 0A+ fileof a 0e! Application for si#plified

    deplo"#ent

  • 8/17/2019 IBM Certification 3 Application Management

    9/18

    Structure of a &eb Module

    • 0e! %odule is pac7aged as 0A+ file 'hichis a standard ar file 'ith '.ar etension

    0e! %odule +oot

    0E-I/

    'e!.#l

    @'e!sphere specific 'e!.#l

    li!6 (li!rar" archive files)

    classes6 (class files)

    tags6 (.tag files)

    s ,static ht#l files

  • 8/17/2019 IBM Certification 3 Application Management

    10/18

    %usiness e!el Application

    • Is a #odel that defines an application that ist"picall" #ore than a JEE Application as it

    #a7es sense to the !usiness (rather than I$)

    • Can contain non 0AS runti#es such as0e! Servers, Pro" servers

    • Is a configuration artifact that is stored in0AS configuration repositor"

    • Provides #anage#ent features forapplications (install,activate,#onitor,re#ove

    etc)

  • 8/17/2019 IBM Certification 3 Application Management

    11/18

    *S+ Application

    • &"na#ic #odule !ased progra##ing #odel• Can plug in ne' #odules (referred to as

    !undles) or update d"na#icall"

    •  0AS uses E;uino as the fra#e'or7 forBS8I Applications

    • as three la"ers5 %odule la"er, Lifec"clela"er and Services la"er 

    • $he #odules6!undles are pac7aged as JA+files

    • BS8I Applications are pac7aged as EA

  • 8/17/2019 IBM Certification 3 Application Management

    12/18

    SCA - Ser!ice Component

    Arcitecture

    • Is a progra##ing #odel that ena!les to!uild co#ple applications using SBA

    (Service Briented Architecture)

    • Lets "ou create services out of eistingco#ponents irrespective of the language

    used. (Language neutral)

    • Services can !e co#!ined to createco#posites• Co#ponents #odel #a7es the asse#!l" of

    !usiness logic si#ple

    http://www.redbooks.ibm.com/redbooks/SG248022/wwhelp/wwhimpl/js/html/wwhelp.htm

  • 8/17/2019 IBM Certification 3 Application Management

    13/18

    Deploying Enterprise Applications -

    iberty rofile

    $'o 'a"s to deplo" a 0e! Application

    1. &rop the ear file or eploded director" into

    the configured dropins director" (!" default

    dropins director" is auto#aticall" #onitored)

    $he location of the dropins director" is

    configura!le

    2. Add an Application ele#ent in serverconfiguration file server.xml

  • 8/17/2019 IBM Certification 3 Application Management

    14/18

    Deploying Enterprise Applications

    in ull rofile

    =sing Ad#in Console5

     Applications e' Application e' Enterprise Application

  • 8/17/2019 IBM Certification 3 Application Management

    15/18

    Deploying Enterprise Applications

    in ull rofile Cont...

    ou can install the follo'ing #odules5 EA+,0A+,JA+ or SA+ (Session

    Initiation Protocol Archive)

    ou can upload these files either fro# the client "ou are accessing the Ad#in

    Console (Local) or fro# the Server running 0AS (re#ote)

    ou can choose D/ast PathD or D&etailedD #ode for installation. D/ast PathD

    pro#pts for #ore infor#ation onl" 'hen re;uired

    ou can choose to generate default !indings and #appings

    I#portant installation options availa!le5

    Preco#pile JavaServer Pages files ($rue or /alse)

    &istri!ute Application ($rue or /alse) Application a#e

    Bverride class reloading settings for 0e! and EJ %odules

    +eload interval

    usiness Level Application a#e (option to create ne' LA)

  • 8/17/2019 IBM Certification 3 Application Management

    16/18

    Deploying Enterprise Applications

    in ull rofile Cont...

    ou can #ap the #odules to Application Servers, Clusters or 0e! Servers

  • 8/17/2019 IBM Certification 3 Application Management

    17/18

    /sing %M Assembly and Deploy

    #ools for &ebSpere Administration

    • /ree tool to asse#!le and deplo" Applications to 0AS (Java EE, BS8i, 0e!

    Services applications are supported)

    • /ull" integrated tools and support• Pu!lish Application to the Server • isual Editors, Code validators and

    auto#atic &eplo"#ent &escriptors

    •  Enhanced EA+ editor • J"thon Scripting Editor and &e!ugger 

    • &oes not include 0e!Sphere Application

  • 8/17/2019 IBM Certification 3 Application Management

    18/18

    /sing &ebSpere De!eloper #ools

    for Eclipse

    •  An Eclipsed !ased Light'eight develop#entenviron#ent for !uilding JEE applications

    •Can pu!lish code locall" and to re#ote

    servers

    • Can !e installed using I% installation#anager or using Eclipse %ar7etplace

    • &oes not include 0e!Sphere ApplicationServer Soft'are

    • Can !e considered as a #ini-+A& (+ationalApplication &eveloper)