LEARNINGS - Google Drive
LEARNINGS - Google Drive
In any of virtual environments, like as Virtual Box or VMWare, we need to install certain Tools.
VMWare Tools. - It Enhances the performance of VMWare as its a virtual tool, so screen
maximization, mouse integration, etc. will work perfectly.
1. We pasted the VM_server file, in a location with more than 100 GB.
2. We unzipped, or u can say “Extract Here” option.
3. We Installed VMWare 16.
Network Setup
● IP
● Hostname
● We have to map IP with HOSTNAME
● /etc/hosts - It contains the information about Hosts,
i.e., MAP IP = HOSTNAME ( Only Root User have Privilege to do it ).
To bridge the gap between End-Users and Technical Tools, there comes the Role
of MiddleTier ( Middleware).
UserName - oracle
Password - oracle123
Root Password - root123
—---------------------------------------------------------------------------------------------------------
Directory Structure:
su
netca
cd /u01/app/oracle/database/product/11.2.0/dbhome_1/
[oracle@demo dbhome_1]$ ls
cd bin
ls
cd ..
pwd
cd
[oracle@demo dbhome_1]$ cd
[oracle@demo ~]$ vi .bash_profile
[oracle@demo ~]$ gedit .bash_profile
To check ip : /sbin/ifconfig
To create the setup for VMServers or any kind of Servers, to put associated data in the
db Side.
[oracle@demo softwares]$ ll
total 28
drwxrwxrwx 2 oracle dba 4096 Sep 11 2022 Jdev_11117_linux
drwxrwxrwx 3 oracle dba 4096 May 17 17:31 Oracle_Database_11gR2_64
drwxrwxrwx 2 oracle dba 4096 Nov 16 2022 OSB_11.1.1.7_generic
drwxrwxrwx 2 oracle dba 4096 Aug 6 2022 RCU_11.1.1.7_linux_x64
drwxrwxrwx 2 oracle dba 4096 Nov 16 2022 SOA_11.1.1.7_generic
drwxrwxrwx 2 oracle dba 4096 Nov 16 2022
SOA_JDEV_EXTENSIONS_11.1.1.7.8.02.22_GENERIC
drwxrwxrwx 2 oracle dba 4096 Nov 20 18:42 Weblogic
[oracle@demo RCU_11.1.1.7_linux_x64]$ ll
total 508856
-rwxrwxrwx 1 oracle dba 520548890 Nov 28 2015
ofm_rcu_linux_11.1.1.7.0_64_disk1_1of1.zip
[oracle@demo RCU_11.1.1.7_linux_x64]$
unzip ofm_rcu_linux_11.1.1.7.0_64_disk1_1of1.zip
[oracle@demo RCU_11.1.1.7_linux_x64]$ ll
total 508884
-rwxrwxrwx 1 oracle dba 520548890 Nov 28 2015
ofm_rcu_linux_11.1.1.7.0_64_disk1_1of1.zip
drwxr-xr-x 38 oracle dba 4096 Mar 13 2013 rcuHome
-rw-r--r-- 1 oracle dba 22806 Mar 12 2013 readme.html
[oracle@demo softwares]$ ll
total 28
drwxrwxrwx 2 oracle dba 4096 Sep 11 2022 Jdev_11117_linux
drwxrwxrwx 3 oracle dba 4096 May 20 21:55 Oracle_Database_11gR2_64
drwxrwxrwx 2 oracle dba 4096 Nov 16 2022 OSB_11.1.1.7_generic
drwxrwxrwx 3 oracle dba 4096 May 21 12:18 RCU_11.1.1.7_linux_x64
drwxrwxrwx 2 oracle dba 4096 Nov 16 2022 SOA_11.1.1.7_generic
drwxrwxrwx 2 oracle dba 4096 Nov 16 2022
SOA_JDEV_EXTENSIONS_11.1.1.7.8.02.22_GENERIC
drwxrwxrwx 2 oracle dba 4096 Nov 20 18:42 Weblogic
[oracle@demo Weblogic]$ ls
Wls1036_generic.jar
[oracle@demo Weblogic]$ ll
total 1044488
-rwxrwxrwx 1 oracle dba 1068506707 Dec 26 2015 wls1036_generic.jar
Hit Enter
The java file will start extracting.
Unzip 2 files
Then
/u01/app/softwares/SOA_11.1.1.7_generic/Disk1
./runInstaller
If u have interact with any Application throughout the world, so does it need the
DB or Not ??
To Summarize :
1. listener must be UP
2. DB to be started by sqlplus “/as sysdba”
3. At SQL Prompt we have to give startup command
PASSWORD : Dba#1011
PASSWORD : Dba#1011
Deployment is done from deployment Server….
Sqldeveloper
Visual Studio
Eclipse
Jdeveloper
Netbeans
Cd /u01/app/oracle/jdev_middleware/jdeveloper/jdev/bin
ls
./jdev
Click yes
STARTUP SEQUENCE :
1. Listener
2. DB
3. Deployment Server (VM_Server)
4. Jdev
HelloWorld
How to start and Stop Entire Setup:
Activity 2 :
Input : Surabhi
Output : Hi welcome to dxc
Activity 3 :
Input = lohith
Activity 4 :
Input = vani
Activity 5 :
Activity 6:
Addition Activity
Two Inputs, both are Integers
One Output, that is also integer (Its sum of both Inputs).
Activity 7 :
BODMAS 8+(6*2)
Input 1
Input 2
Input 3
Output = (Input1*Input3)+Input2
Activity 8 :
Business Case is :
I anyhow need a activity that helps me in doing the if else functionality ???
Activity 10 :
Counter Variable
Condition ( Deciding factor)
Body of the loop
Updating the counter
Int count = 1, fact = 1;
While (count < = n)
{ fact = fact*count;
count++;
}
Activity 12 :
Addition
&
Subtraction
Activity 14 :
You have to add one more Process, i.e., add Concatenation Feature, into it, by
adding Hello before the Input.
Processes :
Addition
Subtraction
Concat
Activity 15 :
Activity 16 :
Wrapper
Whenever u scan a QR Code at any outlet or any Merchant Shop, what will
happen ?????
So, how they call the Bank’s Services ?????
Similarly, banks also expose there, URL or URI, to these Payment gateways..
These payment Vendors, pass exactly the same output to you, or they modify it,
as they feel, like as adding hi etc.
You have to do the addition, without writing the logic, u have to use the already
created addition service.
Inputs Needed :
==================================================================
Sreeja
Aman
Dileep
Arfaan
==================================================================
Activity 18 :
3 Steps to Perform
Most Important thing is : We will have 1 Project whose name will parent_pick
This parent_pick, will do nothing on logic Part, it will internally supposed to call 2
services, addition_pick another is subtraction_pick
==================================================================
ASYNCHRONOUS Process :
A Courier boy drops a courier in the letter-box, which is at your home entry gate.
Then after coming back to home, your opened the letter box, and got the letter.
Means, its a Asynchronous Process.
Ex 2 : If I call LOHITH, and he is busy in some other activity, he did not picked my
call, and getting free, he called Me back, Its also Asynchronous Process.
In the Async Wrapper, use the Pick Activity, instead of Receive Activity.
Then deploy it and test it.
612 cd /u01/app/softwares
613 ll
614 cd Oracle_Database_11gR2_64/
615 ll
616 rm -rf database
617 ll
618 cd ..
619 ll
620 cp -pr Oracle_Database_11gR2_64 /mnt/hgfs/C/Softwares/
621 cd RCU_11.1.1.7_linux_x64/
622*
623 rm -rf rcuHome readme.html
624 ll
625 cp -pr ofm_rcu_linux_11.1.1.7.0_64_disk1_1of1.zip /mnt/hgfs/C/Softwares/
626 ll
627 cd ..
628 ll
629 cp -pr Weblogic /mnt/hgfs/C/Softwares/
630 cd SOA_11.1.1.7_generic/
631 ll
632 rm -rf Disk1 Disk2 Disk3 Disk4 Disk5 Disk6 readme.html
633 ll
634 cd ..
635 cp -pr SOA_11.1.1.7_generic /mnt/hgfs/C/Softwares/
636 cp -pr SOA_JDEV_EXTENSIONS_11.1.1.7.8.02.22_GENERIC
/mnt/hgfs/C/Softwares/
637 cp -pr Jdev_11117_linux /mnt/hgfs/C/Softwares/
638 cd ..
639 cd oracle
640 ll
641 cd middleware/
642 ll
643 cd ..
644 ll
645 cd jdk
646 ll
647 cp -pr jdk-6u45-linux-x64.bin /mnt/hgfs/C/Softwares/
648 history
[oracle@demo jdk]$
==================================================================
Activity 20 :
In any of the bank, to perform any fund transfer, u have to submit an OTP ??
And the OTP is having some validity time, after that it will expire and will not
work.
We will introduce a Timer in our App, so that after wait time, it would not wait for
response, and close the thread.
—--------------------------------
Case is,
In the application that we created yesterday, we introduced a PICK activity instead
of RECEIVE.
Fault Handler: To resolve any kind of errors we use “catch all block”
==================================================================
So, whenever a request is pending to someone, for approval, then that is know as
Human Task…..
==================================================================
Few resources that we need at the server level to make the DB Adapter work
properly are as below :
1. Datasource
2. ConnectionFactory
3. ConnectionPool
We can manage all the resources from Admin console or Application Server
Console.
Accept default
Next
Click Test configuration
Check the admin server
Now create ConnectionFactory & ConnectionPool as below
Click on New
Click next and
Click finish
Then click OK
We can only pass that jdbc name that we had configured earlier
In our case it is
jdbc/DXCBatch
==================================================================
Click on test connection
Assign 1
Assign 2
=============================================================
Assignment No. 1
Step 1:
To install oel6.9 ,
Here we have to choose all the packages. Except language package and
Databases package.
Step 2:
Step 3:
Step 4 :
==================================================================
Assignment No 2
Step 1:
Step 2:
Install Windows DB .
Step 3
C:\app\oracle\product\12.1.0\dbhome_1\sqldeveloper
==================================================================
For 2019 : Windows VM….
Step 1:
Windows server 2019 mark at the bottom right of the desktop.
Step 2:
Select instance_name, status from v$instance;
Step 3:
The sqldeveloper shortcut key on the desktop.
Hr connection in sqldeveloper.
Everyone has to show atleast entries of one table of hr user.
Step 4:
You have to prepare a presentation for 2019 which describes each and everything
in details along with screenshot and you have to present it in the meeting.