Thursday 31 July 2014

Create Dynamic Reigon In ADF

Hello Fellas, today i'm sharing my learning about how to create a Dynamic Reigon in adf,


you can download the sample app from here
First create a least Bounded task flow and drop one Page Fragments Respectively,
I'll show you how, I've created one for you and the second you have to create by yourself,

task flows should be WEB-INF folder, pages in web content similarly the task flows too in the web content


put some content in the JSFF so that we can differentiate between them and drag them to the task flows created,



you do the second by yourself,



now create a page for your self containing at least two facets, make it two coloums page.



  




now drop the task-flow in on page as dynamic region



it will ask to create a managed bean just create it.




now create a link on the second facet



similarly for the second task flow,



 now run it.


results





thank you :)

Tuesday 29 July 2014

Create a Managed Bean in ADF

Hello Fellas,
Today I'm sharing my learning to how to create a managed bean without using any component, it's very simple and easy.

Just Create a Java Class.

Make getter(accessor) and setter(mutator) as required.




Open adfc-config.xml with managed bean  tab under overview section.
Give the bean any name and select the Class which we just created right now.
by editing the class text-field. and see the hierarchy, find your package, and you class.
always keep the scope to the lowest. most of the times "request"





now we can simply use it as required.





Thank you :)

Tuesday 8 July 2014

sql file in sqlplus

hello fellas, today i'm sharing my learning how to run sql file from sqlplus,
create a sql file lets suppose test.sql
and put some code like select query from a pre-defined or custom table from hr schema,


select * from country;

save and close it.
 save it anywhere on hard-drive like i've saved it directly on c drive;

open cmd connect it and enter the cmd like


@/test.sql

 simply put this @/ before the path of the sql file.
and cmd will execute





thank you :)

Wednesday 2 July 2014

WLS Domain not created sucessfully.

Hello Fellas today i'm sharing my learning, recreating the WLS Domain,
just go to the specified folder

for linux
/home/pratik/.jdeveloper/

for windows
C:\Users\sandeep\AppData\Roaming\JDeveloper

as you find these are the hidden folder so first enable it,

delete the folders there and restart the jdev.


thank you :)

WLS not Working jrockit error in Jdeveloper

Hello Fellas, today i'm sharing my learning of how to remove the Jrockit error while deploying the Application in the inbuilt WLS from Jdeveloper.


for linux
/home/pratik/.jdeveloper/system11.1.1.7.40.64.93/DefaultDomain/bin

for windows.
C:\Users\sandeep\AppData\Roaming\JDeveloper\system11.1.1.7.40.64.93\DefaultDomain\bin

as you find these are the hidden folder so first enable it,

select the   setDomainEnv  file


make these changes in the the file

JAVA_HOME="/home/pratik/myApps/jdk1.6.0_24"

BEA_JAVA_HOME="" 

JAVA_VENDOR="Sun"

First Install the jdk 1.6.24




Installing Generic Jdeveloper.

Hello ADF Fellas, today I'm Sharing my Learning of how to Install generic Jdeveloper,
Pre-Requisites
first download the JDK 1.6.24 and install it on your system.
installation process is given in my JDK installation link though it demostration is of JDK 8 but we have install JDF 6 here.

Then goto the terminal or command prompt,
java -jar jdevstudio11117install.jar



here we to select the Sun JDK which is not bunduled, i.e. which we have installed in the per-requisites section.
 the same process is for windows too.


thank you :)

A Guide to Installing Oracle HR Schema on an Existing Docker Container

  Hi Reader, Today I want to share my learning on how to install Oracle HR schema on a existing docker container. Step 1: Download the verif...