Method and information outlined below describes my personal research and doesn't define best practice. Such approach is not recommended/supported by Oracle and should be used at your own risk. Oracle is working on JET Composite components for ADF, to be available in the future. Limitations and caveats for this approach are described by Duncan Mills:
1. No session sharing between ADF and JET
2. ADF and JET can’t use the same cache
3. No shared transaction
4. Separate timeouts
5. Geometry management
6. Drag&drop not possible between ADF and JET
7. Different maintenance and different libraries
8. Different popup’s and glasspaneI
In my previous post I have shared basic example for Oracle JET integration into ADF - Oracle JET and ADF Faces Integration in ADF. Today I would like to share a bit more than that - integration pattern with ADF Regions. This approach would allow to use JET functionality within ADF environment and leverage ADF reusability.
Sample application - DashboardApp_v2.zip, implements ADF dashboard UI and includes one tile rendered by Oracle JET. You can watch video with running sample:
ADF tile renders a bar chart implemented by Oracle JET:
Integration pattern is straightforward, especially if you are familiar with ADF concepts. There must be separate ADF region defined to hold ADF fragment, where JET HTML code will be implemented:
JET HTML is included into ADF fragment, there are no additional ADF Faces components here, besides top grouping:
ADF region is reusable and we can reuse the same JET code in different ADF pages. Here is the example of ADF region (with JET HTML inside) usage in the page:
JET JavaScript function is the same as you would use for typical index.html page, nothing special here for ADF:
1. No session sharing between ADF and JET
2. ADF and JET can’t use the same cache
3. No shared transaction
4. Separate timeouts
5. Geometry management
6. Drag&drop not possible between ADF and JET
7. Different maintenance and different libraries
8. Different popup’s and glasspaneI
In my previous post I have shared basic example for Oracle JET integration into ADF - Oracle JET and ADF Faces Integration in ADF. Today I would like to share a bit more than that - integration pattern with ADF Regions. This approach would allow to use JET functionality within ADF environment and leverage ADF reusability.
Sample application - DashboardApp_v2.zip, implements ADF dashboard UI and includes one tile rendered by Oracle JET. You can watch video with running sample:
ADF tile renders a bar chart implemented by Oracle JET:
Integration pattern is straightforward, especially if you are familiar with ADF concepts. There must be separate ADF region defined to hold ADF fragment, where JET HTML code will be implemented:
JET HTML is included into ADF fragment, there are no additional ADF Faces components here, besides top grouping:
ADF region is reusable and we can reuse the same JET code in different ADF pages. Here is the example of ADF region (with JET HTML inside) usage in the page:
JET JavaScript function is the same as you would use for typical index.html page, nothing special here for ADF:
Read update for this post - Improved JET Rendering in ADF.