Posts

Showing posts with the label Migration

WCP/ADF to OJET: ADF Model to OJET Common Model

Image
This is a post of the series Oracle WebCenter Portal to Oracle JET . In this case I will make another comparison between Oracle ADF Model and Oracle JET Common Model API . WCP to OJET How is the Oracle ADF Model It is not bad to remember that Oracle ADF is based on Java Server Faces 2.2 (Jakarta EE / Java EE). Oracle ADF adds to plain Java Server Faces the following features A Rich set of UI components -> ADF Faces A Model layer to abstract the interaction bewteen the Pages (UI) and the Model. -> ADF Model An implementation of JPA known as Business Components for consuming data from a Database -> ADF Business Components In Java Server Faces , the Model is implemented by Managed Beans as shown in the following Figure. JSF Model - Managed Beans In Oracle ADF , also can be used the ADF Model layer based on the withdrawn JSR-227. This layer is also known as the Binding Layer . The ADF Controller links a Page ( ADF Faces ) to a PageDefinition ( ADF Mo...

WCP/ADF to OJET: ADF MVC vs OJET MVVM

Image
This is a post of the series Oracle WebCenter Portal to Oracle JET . In this case I will make another comparison between Oracle ADF and Oracle JET Architectures . Maybe this should be the second and not the third post, anyway here it is. WCP to OJET Oracle ADF is based on MVC (Model-View-Controller) Oracle ADF is a Java EE framework based on JSF 2.2 (Java Server Faces) which implements the pattern Model-View-Controller , but extending the classic Model of plain Java Server Faces based on Managed Beans. Oracle ADF introduces the ADF Model layer ( also known as the Binding Layer ), which was intended to be standarized (JSR-227) to be the way for data binding and access from the view to the sources of data, however it never was approved. The ADF Model abstracts the access to the business services independently of the data source (SOAP, REST, JPA) Knockout (library used by Oracle JET) is based on (Model-View-ViewModel) Oracle JET is a Toolkit which uses Knockout JS...

WCP/ADF to OJET: WCP to OJET cheat sheet

Image
This is a cheat sheet of how to migrate Oracle WebCenter Portal artifacts to Oracle JET. WCP to OJET WCP -> OJET Cheat sheet  WCP + ADF Oracle JET Oracle WebCenter Portal OJET Application Oracle WebCenter Portal Navigation OJET Router / Routing ADF Skin OJET Theme ADF Declarative Component / Taglib OJET Web Component ADF Faces Rich UI Component OJET UI Component ADF Bounded Task Flow (Region) / Portlet OJET Module ADF Model OJET Common Model ADF Logger JS “Third Party Library” NPM Module for Logging ADF Security Custom Security Java Resource Bundle (ojL10n) JS Resource Bundle Java Proxy Client + POJO JS Factory / JS Class OJDeploy Grunt (or Webpack) Maven Npm (Node JS Package Manager)  

WCP/ADF to OJET: ADF Controller Task Flows / Portlets to Oracle JET Modules

Image
This is the second post of the series Oracle WebCenter Portal to Oracle JET. In this case I will talk about how to move ADF Task Flows or Portlets in Oracle WebCenter Portal to Oracle JET. WCP to JET ADF Bounded Task Flows and Portlets in Oracle WebCenter Portal The most common way of promoting re-usability in WebCenter Portal Pages is by embedding "widgets" built by using: Oracle ADF Bounded Task Flows based in Page Fragments which can be embedded in a Portal Page as an ADF Region ( <af:region> ) Portlets 2.0 (based on JSR 286) which are consumed remotely by using WSRP 2.0 (Web Service Remote Portlet) specification. Portlets can be based on ADF by using the ADF Portlet Bridge or based on any other Portlet technology. In the above image, you can see there is: A Portal Called Test. Currently in the Page called Home of the Portal Test . The Page has been configured with two components: The Activity Stream Task Flow The Page Traffic Analytics P...

WCP/ADF to OJET: WCP Navigation Model to OJET Router

Image
In this post I will bring a brief solution on how to move Oracle WebCenter Portal Navigation to Oracle JET oj.Router From WCP to OJET In Oracle WebCenter Portal the navigation consists in two main types: Standard WCP Navigation Portal Navigation : Which is the navigation between Portals created within Oracle WebCenter Portal. Current Portal Navigation : Which is the navigation between the Pages of the Current Portal.  In both of the above cases, WebCenter Portal Security (ADF Security) is applied to display / hide the links and also protects the access to those Pages. How to move from WebCenter Portal Navigation Model to Oracle JET Routing? Remember that Oracle JET is a SPA (Single Page Application) which loads dynamically Modules depending on the actions of the user. The code of the example can be found in my GitHub ( ojet-wcp-router ): https://github.com/DanielMerchan/ojet-examples/ Oracle JET uses a class oj.Router for Routing the user to the ...