Hello All,
The screen shots below will help you to develop a page and bind data from a jpa data control.
Steps to build this very simple app.
1.Create database connection in your connection Navigator.
2.Import the tables as entities.
3.right click the imported entity and create a service Facade.
one the facade is created write few lines of code to view your data(it returns in a list ,you can use an iterator..) from the table.
4.Right click the Javaservice facade to create data control.
5.Create a jsf jsp page(this includes adf faces,adf core taga while creating).
6.Drop a panel page from adf tags.
7.select your desired method ,from the data control palette and drop it on the Panel page ,whick will ask you to select the table type(you can choose any type )
8.Rebuild your project.set the default target and the new jsp page you created in step 5 and run the project.
9.You should see the data.
Please let me know if you have issues.
Thanks
Prem
No comments:
Post a Comment