1. Oracle JET and WebSocket
Andrejus Baranovskis
Technical Expert
2. ADF, MAF, JET, BPM, ACM, SOA, WebCenter, Cloud
Small Team of Experts, Focused on Technical Quality
Customers โ Global Corporations, Medium and Small Business
Oracle Technical Blog โ 10 Years (~800 posts)
Oracle Fusion Middleware Partner Community Award for Outstanding
ACM/BPM Contribution 2015, Oracle Fusion Middleware Innovation
Award 2010, SOA Partner Community Award for Outstanding
Contribution Across the Globe 2010
Company Profile
3. Agenda
Oracle JET and WebSocket Overview
WebSocket Implementation
Oracle JET Implementation
Oracle JET and WebSocket Integration
Live Data Demo
Oracle JET Rendering in ADF
5. Oracle JET Overview
Oracle JET (JavaScript Extension Toolkit) โ a modular toolkit based on modern JavaScript, CSS3, and
HTML5 design and development principles. Leverages popular Open-Source frameworks and adds
advanced functionality:
๏ผ Rich set of UI components
๏ผ Advanced two-way binding
๏ผ Advanced Routing System
๏ผ Smart Resource Management
๏ผ Validation framework
๏ผ Open Source
6. WebSocket Overview
๏ผ WebSocket is a protocol providing full-duplex communication over a single TCP connection
๏ผ Allows to open an interactive communication session between the browser and the server
๏ผ Sends messages to the server and receives responses without having to poll the server for a reply
๏ผ Low latency, near real time connection between the client and the server
๏ผ Designed to work well with existing Web infrastructure
๏ผ Standardized by the IETF as RFC 6455 in 2011
๏ผ Supports secure connections and allows bi-directional client/server communication
๏ผ Supported by WebLogic 12c
๏ผ Supported by Firefox, Google Chrome, Safari, Internet Explorer and Opera
7. WebSocket Overview
๏ผ Direct communication
๏ผ Scalable and fast
๏ผ Notifications from back-end
๏ผ Notifications from client
๏ผ HTTP traffic reduction
๏ผ No Pooling
http://www.websocket.org
15. Oracle JET Implementation
๏ผ Top level require call executed by application in main.js
๏ผ Bindings are initialized on page load in ViewModel JS function
16. Oracle JET Implementation
๏ผ Pie Chart collection and observable array
๏ผ Automatic UI data re-load through observable
17. Oracle JET Implementation
๏ผ List observable array and table data source
๏ผ Automatic UI data re-load through observable
๏ผ Rate limit configuration
28. Oracle JET Rendering in ADF
๏ผ Use cases:
Render live data in ADF through JET island
Build public facing scalable sites with JET and back-office systems with ADF
๏ผ Possible to use JET island in ADF
๏ผ ADF timeout does not count activity in JET island
๏ผ Oracle statement: Should not mix ADF and JET, only in special use cases
๏ผ No official Oracle support