Saturday, January 26, 2008

R12 Java Servlet Access using HTML Applications

In this post I am going discuss access path use by HTML interface module when using a JSP.


a)User access a function on a browser (HTML hyperlink access)
b)then the browser generate a URL request to the web server.
c)Web listener talk to servlet engine (Jserv)then runs a JSP.
d)JSP then contact Application tables to obtain contents and use metadata dictionary information to build a HTML page.
e)The HTMP page which is build in previous step sent back to the browser with the help of web server.

R12 Oracle Application Framework

In this post I am going to discuss about R12 Oracle Applicaiton Framework Components and it processing.

Oracle Application Framework is the development platform for HTML-based applications. It consist of a java-based application tier framework and associated services. It designed to facilitate the rapid deployment of HTML-based applications.

Oracle Application Framework uses below components:

  • AOL JAVA or AOL/J


  • It provides the OAF with underlying security and applicaiton Java Services.Also OAF with its connection to the DB and with application-specific functionality for e.g attachments and flexfields.

  • BC4J


  • JDeveloper incluedes BC4J. Java Business components are created by BC4J for representing business logic. It seperates the business logic from UI by mapping the relational tables to java objects.

  • Java Controller


  • It processes the programmatic UI definition.

  • Metadata UI Definition


  • Apache Jserv module provides the Java servlet engine uses metadata dictionary to to construct the Framework UI.

  • HTML Generator UIX


  • UIX , the HTML Generator

    HTML-based applicaiton uses the following path with OAF on application Tiers. The steps are discussed below.

    a)User click a function on browser (HTML hyperlink access).
    b)URL request to the web listener sent by browser.
    c)User access validated by AOL/J.
    d)Page definition is loaded from the metadata dicitionary on the DB tier into the application Tier (i,e. Metadata UI definition)
    e)BC4J objects that contain the application logic and access the database are instantiated.
    f)Java controller programatically manipulates the page definition as necessary, based on dynamic UI rules.
    g)HTML UI Generatior (UIX)interprets the page definition. It creates the related HTML based on UI standards, and send the page to the browser.

    Sunday, January 13, 2008

    Step By Step Installation of VMWARE on WinXP Professional - Part I

    In this post I am going to discuss about Step by Step Installation of DB11gR1 Clusterware on OL4 Update 5 using VMWare (Virtual Servers) on WinXP. I tested this configuration on my laptop.

    Objective: This installation procedure for learning and testing purpose. This kind of configuration is not suitable for any Production and Test Environment.

    Hardware Requirements

    Lenovo Thinkpad Laptop
    Windows XP Professional 5.1.2600,Service Pack 2 (Host O/S)
    Intel(R) Core(TM)2 Duo CPU
    T7300 @2.00 GHZ
    200 GB HDD (Actual Installation required by one node is 35 GB + 10 GB to Stage Software required by you and for future use)
    2 GB RAM
    Note: As far as my experience with this installation you should have minimum 3GB RAM. I faced few issues like one node goes down and if you are running any memory intensive program. Better to have minimum 3 GB RAM. I used 800 MB for each node and rest for host operating system.
    Oracle Enterprise Linux 4 (Update 5) (Guest O/S)
    VMWare Server 1.0.4


    Software Requirements

    General




    Follow the sequence to Install RAC11g+ASM on clusterware using OL4 update 5(On VMWare).

    • Step By Step Installation of VMWARE on WinXP Professional - Part I

    • Step by Step Installation of Oracle Enterprise 4 Update 5 using VMWare on WinXP Professional - Part 2

    • Step by Step Installation of Oracle Enterprise 4 Update 5 using VMWare on WinXP Professional - Part 3

    • Step by Step Installation of Clusterware11gR1 on Oracle Linux 4 Update 5 using VMWare on WinXP - Part 4

    • Step By Step Installation of ASM and Oracle DB11gR1 on Oracle Enterprise Linux 4 Update 5 using VMWare on WinXP - Part5



    Step By Step Installation of VMWARE on WinXP Professional - Part I - Start Here

    Start the installation by double clicking the VWWare software you downloaded from VMWare Site. There is free Trial product key is allocated for you to use this product. Screen Shots are Self Explantory to Install VMWare. Please Follow the snapshots. If you are not able to read the text inside the snapshot please click on snapshot and it will take you to picasa web album and you can see slide show to view more clearly.



















    Step By Step Installation of VMWARE on WinXP Professional - Part I - End Here

    VMWare Virtual Machine Configuration- Start Here
    Configure the First Virtual Host - rglinux1
    Follow the self explantory snapshots to install your first Virtual host "rglinux1". You can give any name to your vitual machine

    To Start "VMWare Server Console" click on your VMWare shortcut on your desktop - Select the default option "Local Host"


    To Configure Virtual Machine Select "New Virtual Machine" under Virtual Machine Options



    The "New Virtual Machine Wizard" will start, Click Next


    Select "Custom" under Virtual Machine Configuration



    Select "Linux" under Guest Operating System and change the version to "RedHat Enterprise Linux 4"


    Name the Virtual Machine "rglinux1" under Virtual Machine Name. Enter the Location "C:\vms\rglinux1" (Single Node Configuration). To Configure Linux Cluster (Multi-Node Configuration) for RAC configuration. You can change the path as "C:\vms\RAC\ASM11g\rac1" and Machine Name for RAC Setup is ASM_11gRAC1


    Set Access Rights - Uncheck this option. The default is shown in snapshot



    startup/Shutdown Options - Select Default "User that powers on the virtual machine"



    Select "Number of Processor" depending on your machine - Default is one - I select as Two as per my machine configuration


    Memory for Virtual Machine - I configured initially with 824 MB. The best for RAC11g configuration is 3GB and you can allocate 1024 Machine for each Virtual Machine and rest for Host Operating system (WinXP



    Select Network Type as "Use Bridged Networking"



    Select I/O Adapter Types as "LSI Logic"



    Select a Disk as "Create a new Virtual Disk"



    Select a Disk Type as "SCSI"



    Specify Disk Capacity - Select the second option as split disk into 2GB disks. Uncheck the first option shown in snapshot - I just Enter 35GB to configure other products of oracle on same box. Ref 11g RAC docs for Disk Space Requirement



    Enter virtual disk filename (rglinux1.vmdk in snapshot). I changed for my RAC configuration to localdisk.vmdk.


    Creating a Disk - This is for Single Node Installation not for RAC Configuration on Linux Clusters. This step can be skipped if you are configuring Linux Cluster for RAC11g.



    View of First Virtual Machine name "rglinux1" or You can give name as ASM_11gRAC1 for linux cluster for RAC11g Configuration.



    VMWare Virtual Machine Configuration- End Here

    To Install Linux on Your First Virtual Machine. Please follow the post "Step by Step Installation of Oracle Enterprise 4 Update 5 using VMWare on WinXP Professional - Part 2"