Steps for Deployment the ADf Application(seperatly....Model & ViewController) on the server.
Create DataBase Connection(Optional for test):-
Put the CONNECTION_NAME
Put USER NAME & PASSWORD (Of that schema where DataBase exist)
Put Host Name(ex. neel.yahoo.com ), Port(1521), SID(webdb).
Test the Connection
OK
Create Application server:-
Update the Host_File(RUN- Drivers>etc>Hosts)
(Add the IP ADDRESS of the server and address of the server in the last of the file)
(ex. 67.170.188.135 neel.yahoo.com neel.eal neel)
Put the connection name(ex, VenusAppSvr)
Put USER NAME & PASSWORD(of the server)
Put Host Name(ex. neel.yahoo.com ), OPMN_Port(5003), oc4j_Instance_Name(ex, Home)
Test the connection
OK
ViewController:-
1. WAR file creation :-- Right click on ViewController.Select New from Context Menu.
in NEW GALARY select, General>Deployment Profile> WAR File. Give the Name...ex.webAPp1
Select Radio Button(Specify Project J2ee web context Root).put...web context root of app(ex, webroot1)
Select Prfile Dependencies, Check all the options of ViewController.jpr.
OK
2> EAR file creation :-- Right click on ViewController.Select New from Context Menu.
in NEW GALARY select, General>Deployment Profile> EAR File. Give the Name...ex.Application1
Go to Application asembly,check all the conents under ViewController.jpr
OK
3> Deploy:- Right Click on the EAR File and Deploy on the Application server.