forms, adf and jet a non-aggression pact
TRANSCRIPT
![Page 1: Forms, ADF and JET a Non-Aggression Pact](https://reader031.vdocument.in/reader031/viewer/2022022202/58794c401a28abb1418b5005/html5/thumbnails/1.jpg)
Forms, ADF and JETa Non- Aggression Pact
Florin Marcus
![Page 2: Forms, ADF and JET a Non-Aggression Pact](https://reader031.vdocument.in/reader031/viewer/2022022202/58794c401a28abb1418b5005/html5/thumbnails/2.jpg)
Company Profile
![Page 3: Forms, ADF and JET a Non-Aggression Pact](https://reader031.vdocument.in/reader031/viewer/2022022202/58794c401a28abb1418b5005/html5/thumbnails/3.jpg)
Agenda
![Page 4: Forms, ADF and JET a Non-Aggression Pact](https://reader031.vdocument.in/reader031/viewer/2022022202/58794c401a28abb1418b5005/html5/thumbnails/4.jpg)
What customers dislike about ADF?
![Page 5: Forms, ADF and JET a Non-Aggression Pact](https://reader031.vdocument.in/reader031/viewer/2022022202/58794c401a28abb1418b5005/html5/thumbnails/5.jpg)
What customers like about ADF?
![Page 6: Forms, ADF and JET a Non-Aggression Pact](https://reader031.vdocument.in/reader031/viewer/2022022202/58794c401a28abb1418b5005/html5/thumbnails/6.jpg)
What customers like about ADF?
![Page 7: Forms, ADF and JET a Non-Aggression Pact](https://reader031.vdocument.in/reader031/viewer/2022022202/58794c401a28abb1418b5005/html5/thumbnails/7.jpg)
What customers like about ADF?
![Page 8: Forms, ADF and JET a Non-Aggression Pact](https://reader031.vdocument.in/reader031/viewer/2022022202/58794c401a28abb1418b5005/html5/thumbnails/8.jpg)
Monitoring Performance
![Page 9: Forms, ADF and JET a Non-Aggression Pact](https://reader031.vdocument.in/reader031/viewer/2022022202/58794c401a28abb1418b5005/html5/thumbnails/9.jpg)
Forms and ADF
Who integrates Forms and ADF?
![Page 10: Forms, ADF and JET a Non-Aggression Pact](https://reader031.vdocument.in/reader031/viewer/2022022202/58794c401a28abb1418b5005/html5/thumbnails/10.jpg)
Who integrates Forms and ADF?
![Page 11: Forms, ADF and JET a Non-Aggression Pact](https://reader031.vdocument.in/reader031/viewer/2022022202/58794c401a28abb1418b5005/html5/thumbnails/11.jpg)
ADF - Oracle Metadata Services
![Page 12: Forms, ADF and JET a Non-Aggression Pact](https://reader031.vdocument.in/reader031/viewer/2022022202/58794c401a28abb1418b5005/html5/thumbnails/12.jpg)
Java Plugin disconntinued Consequences for Forms-ADF integration
![Page 13: Forms, ADF and JET a Non-Aggression Pact](https://reader031.vdocument.in/reader031/viewer/2022022202/58794c401a28abb1418b5005/html5/thumbnails/13.jpg)
ADF- Forms UI integration
![Page 14: Forms, ADF and JET a Non-Aggression Pact](https://reader031.vdocument.in/reader031/viewer/2022022202/58794c401a28abb1418b5005/html5/thumbnails/14.jpg)
ADF- Forms UI integration
![Page 15: Forms, ADF and JET a Non-Aggression Pact](https://reader031.vdocument.in/reader031/viewer/2022022202/58794c401a28abb1418b5005/html5/thumbnails/15.jpg)
ADF- Forms UI integration
![Page 16: Forms, ADF and JET a Non-Aggression Pact](https://reader031.vdocument.in/reader031/viewer/2022022202/58794c401a28abb1418b5005/html5/thumbnails/16.jpg)
ADF- Forms UI integration
![Page 17: Forms, ADF and JET a Non-Aggression Pact](https://reader031.vdocument.in/reader031/viewer/2022022202/58794c401a28abb1418b5005/html5/thumbnails/17.jpg)
Oracle JET
Why Another Web Framework?
![Page 18: Forms, ADF and JET a Non-Aggression Pact](https://reader031.vdocument.in/reader031/viewer/2022022202/58794c401a28abb1418b5005/html5/thumbnails/18.jpg)
Oracle JET
Javascript Framework
Consumes REST/JSON
Open Source
No tooling support
![Page 19: Forms, ADF and JET a Non-Aggression Pact](https://reader031.vdocument.in/reader031/viewer/2022022202/58794c401a28abb1418b5005/html5/thumbnails/19.jpg)
Traditional System Architecture on Web
User Cache
1. Minimises database round-trips
2. Holds not committed information
![Page 20: Forms, ADF and JET a Non-Aggression Pact](https://reader031.vdocument.in/reader031/viewer/2022022202/58794c401a28abb1418b5005/html5/thumbnails/20.jpg)
Javascript Framework System Architecture
User Cache in browser solutions:
1. HTML5 LocalStorage
2. IndexedDB
![Page 21: Forms, ADF and JET a Non-Aggression Pact](https://reader031.vdocument.in/reader031/viewer/2022022202/58794c401a28abb1418b5005/html5/thumbnails/21.jpg)
JET vs ADFAdvantages of Oracle JET
Public facing websites
Live data (ref#2)
High Availability support (out of the box)
Advantages of Oracle ADF
Full development stack
Versatile
Superior at PL SQL integration
Great for code generation
Tooling support (building your own wizards) - todo DB Validator wizard
![Page 22: Forms, ADF and JET a Non-Aggression Pact](https://reader031.vdocument.in/reader031/viewer/2022022202/58794c401a28abb1418b5005/html5/thumbnails/22.jpg)
Building Your Own JDev wizards
Declarative PL SQL calls ROWTYPE support
![Page 23: Forms, ADF and JET a Non-Aggression Pact](https://reader031.vdocument.in/reader031/viewer/2022022202/58794c401a28abb1418b5005/html5/thumbnails/23.jpg)
Forms, ADF and JET
Business Integration patterns
![Page 24: Forms, ADF and JET a Non-Aggression Pact](https://reader031.vdocument.in/reader031/viewer/2022022202/58794c401a28abb1418b5005/html5/thumbnails/24.jpg)
Business Integration patterns
Database remains the Best Place for business rules
![Page 25: Forms, ADF and JET a Non-Aggression Pact](https://reader031.vdocument.in/reader031/viewer/2022022202/58794c401a28abb1418b5005/html5/thumbnails/25.jpg)
Business Integration patterns
Advantages
● ‘The Standard’ for Webapps● Scales very well● Both JET and ADF supports it.
Disadvantages
● Limitations on reusing Form’s PL SQL code (no ‘post changes’)
Both ADF and JET supports it
Stateless Connections
![Page 26: Forms, ADF and JET a Non-Aggression Pact](https://reader031.vdocument.in/reader031/viewer/2022022202/58794c401a28abb1418b5005/html5/thumbnails/26.jpg)
Business Integration patterns
Same connection is Guaranteed for the duration of user session.
Widely regarded as ‘Unacceptable’ - up until Websockets.
Fits the same transaction lifecycle as Oracle Forms, allows for conversational state with PL SQL.
Supported by ADF only
Stateful Connections
![Page 27: Forms, ADF and JET a Non-Aggression Pact](https://reader031.vdocument.in/reader031/viewer/2022022202/58794c401a28abb1418b5005/html5/thumbnails/27.jpg)
Websockets and database connectionsPessimistic Locking using Websockets
#REF1
![Page 28: Forms, ADF and JET a Non-Aggression Pact](https://reader031.vdocument.in/reader031/viewer/2022022202/58794c401a28abb1418b5005/html5/thumbnails/28.jpg)
Business Integration patterns
Best approach for PL SQL logic reuse in ADF:
Use Stateless Connection on landing pages, menus, dashboards, search screens.
Switch to Stateful Connection when editing data (data input screens) .
![Page 29: Forms, ADF and JET a Non-Aggression Pact](https://reader031.vdocument.in/reader031/viewer/2022022202/58794c401a28abb1418b5005/html5/thumbnails/29.jpg)
Learning ADF
Journey from Forms to ADF
![Page 30: Forms, ADF and JET a Non-Aggression Pact](https://reader031.vdocument.in/reader031/viewer/2022022202/58794c401a28abb1418b5005/html5/thumbnails/30.jpg)
Learning ADF
3 Programming Languages: Java, Javascript, Groovy
4 Major Java EE technologies: Servlets, Java Server Faces, JDBC
ADF is build on top of:
![Page 31: Forms, ADF and JET a Non-Aggression Pact](https://reader031.vdocument.in/reader031/viewer/2022022202/58794c401a28abb1418b5005/html5/thumbnails/31.jpg)
Learning ADF
![Page 32: Forms, ADF and JET a Non-Aggression Pact](https://reader031.vdocument.in/reader031/viewer/2022022202/58794c401a28abb1418b5005/html5/thumbnails/32.jpg)
Learning ADF
Learning the whole ADF Stack may prove a challenge for the most talented Forms Developer.
Initially, separate the team into roles:
A. Business Developers (PL SQL, ADF Business Components)
B. Web Developers (UI)
Conclusions
![Page 33: Forms, ADF and JET a Non-Aggression Pact](https://reader031.vdocument.in/reader031/viewer/2022022202/58794c401a28abb1418b5005/html5/thumbnails/33.jpg)
References
Oracle ADFwww.oracle.com/technetwork/developer-tools/adf/overview/index.html;jsessionid=6R39V8WhqTQ7HMb2vTQTkzbP5XRFgs4RQzyxQ7fqxH9y6p6vKXk4!-460884186
Oracle JETwww.oracle.com/webfolder/technetwork/jet/index.html
ADF Insider Essentialswww.youtube.com/channel/UClAYKxUUFbBb6QAWH_CXY6g
ADF Architecture TVwww.youtube.com/channel/UCRvu_p8-tRgNi_Cd45Ll-fw
![Page 34: Forms, ADF and JET a Non-Aggression Pact](https://reader031.vdocument.in/reader031/viewer/2022022202/58794c401a28abb1418b5005/html5/thumbnails/34.jpg)
References
#ref1 Saving ADF Queriesandrejusb.blogspot.co.uk/2014/05/personalising-adf-query-with-mds-user.html
#ref2: Websocket Notification on Browser Disconnects andrejusb.blogspot.co.uk/2016/01/automatic-adf-logout-on-browser-close.html
#ref3: Stateful/Stateless Connection Switchandrejusb.blogspot.co.uk/2014/06/adf-bc-reserved-mode-for-db-connection.html
#ref4: Oracle JET Live data andrejusb.blogspot.co.uk/2016/02/oracle-jet-and-websocket-integration.html
Oracle ADF Live data andrejusb.blogspot.co.uk/2015/05/adf-and-two-way-websocket-communication.html