Login
Register

Home

Trainings

Fusion Blog

EBS Blog

Authors

CONTACT US

Authors
  • Register

Oracle Gold Partners, our very popular training packages, training schedule is listed here
Designed by Five Star Rated Oracle Press Authors & Oracle ACE's.

webinar new

Search Courses

Now that you have basic ADFbc ready for your service layer, it is very important to be able to test them. JDeveloper provides a very easy way to test your business layer.

There is AM Tester that you can invoke by just right click on the AM and that will let you browse, cretae, update and delete data for all VOs included in the AM.

Follow these steps to test the HumanResourceAM cretaed earlier.

  1. Right click on HumanResourceAM in JDeveloper and select Run.
  2. Click on Connect. It will use the DB connection that you used when generate ADFbc.
  3. This will show Business Components browser for the AM.
  4. Double click on Locations1 and it will show data from Locations table in a form.
  5. Now click on Department2. This will show you all Departments with LOC = NEW YORK because that is your current location row. Go to Location tab and use Blue ">" icon to move to next row. Now come back to Department2 tab and see that rows shown for Dept table are changed to show Departments with LOC = DALLAS. This shows you how automatic master-child works.
  6. Similarly you can browse Deparment to Employee master child and other VOs.
  7. Now click green "+" icon in Locatin tab. This allows you to create a new row for Location table. Enter values for LOC = SFO and LName = San Francisco attributes.
  8. Now go to Department2 tab. Notice there are no rows show as this is new location. 
  9. Click "+" green icon to create new department. Notice that LOC attribute is automatically populated with SFO because this deparment is created via view link.
  10. Populate other fields and click on Green Arrow icon. This will commit all the changes to the DB.
  11. Query Employee1 and enter comm = 100 and tab. Click on Green Arrow icon. This will commit all the changes to the DB.
  12. Use Blue ">" icon to go to some other row. Click on Red "x" icon to delete current row. Click on Green Arrow icon. This will commit all the changes to the DB.
  13. Close the AM tester and Re-run and verify all the changes you have made.
 
 

OracleTech

Comments   

0 #1 venkatarao P 2008-12-23 04:30
Hi ,

I have created new ADF page in Jdeveloper 11g. I have done the steps which are mentioned in the OTN ADF tutorial. when i am running the page, i am getting blank page, In jdeveloper console its throwing the below exception. can u pls help me.
Quote
0 #2 venkatarao P 2008-12-23 04:39
Dec 23, 2008 11:34:02 AM GMT+05:30>
Quote
0 #3 venkatarao P 2008-12-23 04:41
Error
HTTP
BEA- 101017
weblogic .servlet.intern al.WebAppServle tContext@beaed3 - appName: 'BrowseEditApp' , name: 'BrowseEditApp- ViewController- context-root', context-path: '/BrowseEditApp -ViewController -context-root', spec-version: '2.5', request: weblogic.servle t.internal.Serv letRequestImpl@ d5c42f[
GET /BrowseEditApp- ViewController- context-root/fa ces/adf.task-fl ow?adf.tfId=ord ers-flow&adf.tf Doc=/WEB-INF/or ders-flow.xml HTTP/1.1
Accept : */*
Accept-Lang uage: en-us
UA-CPU: x86
Accept-Enco ding: gzip, deflate
User-Ag ent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1)
Connection : Keep-Alive
Cook ie: JSESSIONID=S3gT JQ6T4dHG37fjc9Z 5bGClTmRjxGtpJr L7rWpQyh6qFmZJZ yld!1341130353

Root cause of ServletExceptio n.
java.lang.Nu llPointerExcept ion
at oracle.adfinter nal.view.faces. context.RichPha seListener.afte rPhase(RichPhas eListener.java: 336)
at oracle.adfinter nal.view.faces. lifecycle.Lifec ycleImpl._execu tePhase(Lifecyc leImpl.java:354 )
at oracle.adfinter nal.view.faces. lifecycle.Lifec ycleImpl.render (LifecycleImpl. java:203)
at javax.faces.web app.FacesServle t.service(Faces Servlet.java:26 6)
at weblogic.servle t.internal.Stub SecurityHelper$ ServletServiceA ction.run(StubS ecurityHelper.j ava:227)
Trunca ted. see log file for complete stacktrace
Quote
0 #4 venkatarao P 2008-12-23 07:34
Hi,

i am getting this error when i am running the AM in ADF.
(oracle.jb o.JboException) JBO-29000: Unexpected exception caught: java.sql.SQLExc eption, msg=ORA-01882: timezone region not found

Can u pls suggest.

Venka t
Quote
0 #5 Tapash 2008-12-29 01:35
Are you sure your database connection is active for the project ? 11G Jdev is a bit different from earlier releases in a way that in 11G you can have database connections defined per project and if you are running the project (or the AM in the project in this case) then the database connectivity should be defined for the project.
Quote
0 #6 OracleTech 2009-01-06 07:59
The connection is defined at Application Workspace level in 11g. The connection you got in zip file points to my local DB so you may not be able to run it as is.
You can change connection by Application Resources : Connections : Database : Right click on the DB Connection and select Properties.
Cli ck "Test Connection" once you make changes to make sure it works.
Quote
0 #7 kart 2009-02-04 08:06
Suppose we create "client intefaces" inside the app module then how do test these clinet interfaces ? Can you please provide an expample here ?
Quote
0 #8 OracleTech 2009-02-07 06:47
> Can you please provide an expample here ?
Sure, will post an article on that tomorrow.
Quote
0 #9 OracleTech 2009-02-07 11:31
> Sure, will post an article on that tomorrow.
Here you go - http://apps2fusion.com/at/68-fusion/374-how-to-test-client-method-in-adfbc-tester
Quote
+1 #10 Dakshesh Patel 2011-03-22 01:16
i Have Made a simple ADF Page . I want to know how to Register it in oracle apps.
Please Help Me.


Regards,
Dakshesh Patel
Quote
0 #11 JoeSax 2021-07-13 11:21
Строительная компания Апроект. Работаем в Одессе и Одесской области!

Все виды строительных услуг.

ПРОЕКТИРОВАНИЕ
СТРОИТЕЛЬСТВО ГАРАЖЕЙ
СТРОИТЕЛЬСТВО КРОВЕЛЬНЫЕ РАБОТЫ
ДИЗАЙН ВНУТРЕННИХ ПОМЕЩЕНИЙ
СТРОИТЕЛЬСТВО РЕМОНТ ОФИСОВ

web site

oline-project

ремонт квартир одесса цены
строительство каркасных домов одесса под ключ
кровельные работы в одессе цены
строительство домов одесса олх
Quote
0 #12 JoeSax 2021-07-13 16:28
СК "А-Проект"! Работаем в Одессе и Одесской области!

Выполняем все виды строительных работ.

ДИЗАЙН ВИЗУАЛИЗАЦИЯ
ПРОЕКТИРОВАНИЕ ДОМОВ И КОТТЕДЖЕЙ
СТРОИТЕЛЬСТВО ТЕРРАСЫ
ДИЗАЙН ВНУТРЕННИХ ПОМЕЩЕНИЙ
ПРОЕКТИРОВАНИЕ

web project

site

строительство дома одесса цена
строительство дома одесса форум
строительство домов в одессе
строительство дома одесса цена
Quote
0 #13 JoeSax 2021-07-22 14:24
Строительная компания А-Проект! Работаем в Одессе и Одесской области!

Выполняем все виды строительных работ.

ДИЗАЙН ВИЗУАЛИЗАЦИЯ
ФАСАДЫ ЗДАНИЙ
СТРОИТЕЛЬСТВО РЕМОНТ И ОТДЕЛКА
СТРОИТЕЛЬСТВО ГАРАЖЕЙ
СТРОИТЕЛЬСТВО ДОМОВ

project

web project

ремонт квартир в одессе недорого
ремонт квартиры в рассрочку одесса
ремонт квартир одесса украина
цены на кровельные работы одесса
Quote
0 #14 siamlotto casino 777 2022-06-21 16:10
Why viewers still use to read news papers when in this technological world all is available on web?
Quote

Add comment


Security code
Refresh

Search Trainings

Fully verifiable testimonials

Apps2Fusion - Event List

<<  Apr 2024  >>
 Mon  Tue  Wed  Thu  Fri  Sat  Sun 
  1  2  3  4  5  6  7
  8  91011121314
15161718192021
22232425262728
2930     

Enquire For Training

Related Items

Fusion Training Packages

Get Email Updates


Powered by Google FeedBurner