Wednesday, 5 April 2017

Deployment of ADF application to Weblogic server - Step by step

Steps for Deploying ADF Application to WebLogic Server12c:

1) First of all generate EAR file for ADF application from Jdeveloper as following:
           Go to  Application tab on Jdeveloper and select Deploy option then new dialog box will open, there we need to select "Deploy to EAR " option then click on next and finish.



2) Once EAR file is ready, then login into WebLogic console and follow the steps as below to deploy application on server.

click on "Deployments"

Click on "install" (if Install button is not Enable then click on Lock and Edit button on Top-left side of  WebLogic UI) an then click on upload file link and select the EAR file and follow the navigation as it is.







If you want to specify your Application name you can do on this step.then click on Finish button.


Click on Activate changes button then select "Control" tab on UI and select your application and click on"servicing all requests".





Once Start is done, Status of deployment will change to 'Active'. That's All about dpeloyment of ADF application to WebLogic server12c...!!! 

Tuesday, 4 April 2017

Calling AmImpl Method from Managed Bean in ADF

To Call AmImpl Method from Managed bean use the following steps;

1) Create the Method in AmImpl class and Expose created method to Client interface by selecting Java tab from AppModule and click on client interface edit icon and move the method into client interface.








2) Write below code in your managed bean class to invoke method from AmImpl.

        OperationBinding ob = getBindings().getOperationBinding("submitEmp");
       ob.getParamsMap().put("<ParameterName>", <Value>); //set the input parameter if there is any else skip this step
        ob.execute();

Note: Make sure you have added same method in binding section of Jsf page (Page where you are referring above method to invoke)

Select Multiple values from LOV component (Choice List) on UI

There are scenarios where user wants to select multiple values from Input List of Values (LOV) component and store in DB column as comma se...