Archive for the ‘JDeveloper & ADF’ Category

image

Jdeveloper IDE comes with lots of features and one of them is Code Template, Code Template means some saved code that can be used using a shortcut key anywhere in editor.
There are many preconfigured templates for e.g.
Type sop in editor and press ctrl+enter and IDE will write

System.out.println();

Type main in editor and press ctrl+enter and IDE will write

    public static void main(String[] args) {

In same way we can create our own code templates (Reusable code) ,To define custom Code Templates in Jdeveloper follow these steps

Click on Tools menu on top toolbar in Jdeveloper IDE, Select Preferences from drop down menu

Navigate to Code Editor–Code Templates. Read the complete article here.

WebLogic Partner Community

For regular information become a member in the WebLogic Partner Community please visit: http://www.oracle.com/partners/goto/wls-emea ( OPN account required). If you need support with your account please contact the Oracle Partner Business Center.

Blog Twitter LinkedIn Forum Wiki

Technorati Tags: WebLogic Community,Oracle,OPN,Jürgen Kress

image

Today October, 19th 2016 JDeveloper 12.2.1.2 was released. From the first look at it it’s only a maintenance release.  There is currently no ‘What’s new’ document, only a release notes are available.

The release notes show only some bug fixes and some deprecation. Noteworthy are some changes in the REST runtime. One of them is that ADF REST HTTP PUT is deprecated functionality. From the doc

ADF REST HTTP PUT is deprecated functionality

Oracle has deprecated the functionality for executing HTTP PUT methods on ADF REST resource requests. In the current release, the describe for ADF REST resources continues to display PUT actions when the backing view object has the Update operation enabled (the operation enables both PUT and PATCH methods); however, ADF REST service clients should avoid making PUT requests (replace all items of the view row) as this functionality will be desupported in a future release

Another change in the REST department is that adf date and datetime attributes are no longer described as string but as date and datetime. Interesting if you work with ADFbc and Oracle JET.

There are some other small bug fixes and deprecation’s of oracle.domain data types and the dvt:stockGraph. You should use dvt:stockChart instead. Read the complete article here.

WebLogic Partner Community

For regular information become a member in the WebLogic Partner Community please visit: http://www.oracle.com/partners/goto/wls-emea ( OPN account required). If you need support with your account please contact the Oracle Partner Business Center.

Blog Twitter LinkedIn Forum Wiki

Technorati Tags: WebLogic Community,Oracle,OPN,Jürgen Kress

image

Oracle Application Builder Cloud Service (ABCS for short) enables you (and your business users) to create rich web and mobile apps in a quick visual way from a browser with no-coding required (but coding is possible).

The UI that ABCS creates is based on Oracle JET, which many of our customers love because its responsiveness and lightness.

Some Oracle ADF customers have been on the hunt for a new client-side UI solution for their apps, and Oracle JET is certainly a technology that will work for those use cases.

A nice feature for Oracle ADF customers is that their data-access and business-service layer is built in a reusable way that is decoupled from the UI. And now, with the ability to expose ADF Business Components as REST service, they can use any modern UI framework to develop the UI including Oracle JET. There are already many blog entries with code samples on how to write JET apps that connect to ADF Business Components

But what if we could give you the simplicity of ABCS for the UI creation, the power of JET for the UI experience, and the ability to leverage your existing investment in Oracle ADF all without writing a single line of code manually?

Well, in the demo below I’ll show you how you can reuse the logic you have in Oracle ADF Business Component and build a JET based UI on top of them in a declarative way with Oracle Application Builder Cloud Service.

Basically you get the best of each tool – and you don’t need to write a single line of code !

In the 9 minutes demo I’ll show you how to:

  • Create an ADF Business Components layer on top of Oracle Database in the Cloud – (0:00)
  • Expose the ADF Business Components as REST service – (1:45)
  • Deploy the REST service to Java Cloud Service (JCS) – (2:19)
  • Create an Oracle Application Builder Cloud Service application – (6:00)
  • Add an ADF BC REST Service as a data source to the app – (6:30)
  • Create the user interface to your application – (7:20)
  • Read the complete article here.

WebLogic Partner Community

For regular information become a member in the WebLogic Partner Community please visit: http://www.oracle.com/partners/goto/wls-emea ( OPN account required). If you need support with your account please contact the Oracle Partner Business Center.

Blog Twitter LinkedIn Forum Wiki

Technorati Tags: WebLogic Community,Oracle,OPN,Jürgen Kress

image

Some time ago, I wrote this blog post showing how to deploy an ADF application in Oracle Cloud, and a few days ago I read these posts about how to upload an ADF application to Developer Cloud Service and deploy to Java Cloud Service.

In this post I will upload my application to DevCS and then deploy it to JCS.

Download the sample application: ADFCloudApp.zip.

Following the tutorials, I changed build.xml and build.properties files.

And, because I’m using HR Schema, I changed the datasource name.

Now, let’s upload the apllication source code to DevCS.
In JDeveloper, go to main menu and choose Team > Team Server > Add Team Server. Read the complete article here.

WebLogic Partner Community

For regular information become a member in the WebLogic Partner Community please visit: http://www.oracle.com/partners/goto/wls-emea ( OPN account required). If you need support with your account please contact the Oracle Partner Business Center.

Blog Twitter LinkedIn Forum Wiki

Technorati Tags: WebLogic Community,Oracle,OPN,Jürgen Kress

image

At OpenWorld 2015, Oracle announced Application Builder Cloud Service (ABCS), and they announced it again at OpenWorld 2016. In accordance with the general rule that products are available after no more than two OpenWorld announcements, ABCS is now here for everyone to sign up for.

Where does ABCS Fit In?

With ABCS, Oracle now has seven different development tools (the others are Forms, APEX, ADF, MAF, JET, and MAX). So where does ABCS fit into this crowded landscape?

Oracle bills ABCS as a “no-code” tool intended for the mythical “citizen developers.” Completely browser-based, ABCS allows anyone to build simple applications. Unfortunately, while the UI looks modern and cool, the data you can use in your ABCS applications are severely limited as described later in this article.

Getting Started with ABCS

You sign up for an Application Builder Cloud Service trial at cloud.oracle.com like for every other cloud service. ABCS is found under Platform > Application Builder

As part of the signup process, you have to provide your mobile phone number so Oracle can send you an activation code. This is the step where you might get stuck – the text messages from Oracle have been known to disappear on the way. And unless you can get an activation code, you can’t sign up. Oracle also uses the mobile phone number as a unique identifier to ensure that you only sign up for one trial (at a time) for each product.

Once you have completed the signup process, you have to wait for Oracle to activate your trial. They say it takes a few hours – in my experience it has always been less than 24 hours, but others have waited several days. Obviously, Oracle’s idea of cloud is still different from everybody else’s; in the Oracle Cloud, some human has to do something before you can get started. Read the complete article here.

WebLogic Partner Community

For regular information become a member in the WebLogic Partner Community please visit: http://www.oracle.com/partners/goto/wls-emea ( OPN account required). If you need support with your account please contact the Oracle Partner Business Center.

Blog Twitter LinkedIn Forum Wiki

Technorati Tags: WebLogic Community,Oracle,OPN,Jürgen Kress

image

Application Builder Cloud Service makes it very easy to create a parent/child relationship between two objects – in fact it can create this relationship for you automatically when you drop a new table on the edit or details page of another object.

However, when such a relationship is created the child object "belongs" to the parent object – and is not accessible as a "stand-alone" object.

If you want to have the ability to create pages that directly access the child object on its own, then you should create the relationship between the two objects with a reference field.

The video below shows you how to do this and the difference between the solutions: Watch the video here.

WebLogic Partner Community

For regular information become a member in the WebLogic Partner Community please visit: http://www.oracle.com/partners/goto/wls-emea ( OPN account required). If you need support with your account please contact the Oracle Partner Business Center.

Blog Twitter LinkedIn Forum Wiki

Technorati Tags: WebLogic Community,Oracle,OPN,Jürgen Kress

image

I decided to implement sample app for JET composite component. This is powerful thing, it allows to build pretty much any UIs with HTML – package as components and reuse in the apps. Not only UI – JET composite component gets data as any other standard JET component. This allows to build your own components for forms, tables, various widgets. It allows to simplify code complexity, you could hide frequently used code into JET components and use component with parameters only on the page.
My sample is based on example from Geertjan Wielenga blog – Minimal Oracle JET Composite Component and I show how to supply data from ADF BC REST to be displayed in JET composite component. Read more about JET composite components in JET Cookbook – Composite Components. Sample is implemented with latest JET distribution 2.2.0 (it didn’t work for me with 2.1.0 – JET app was blocked, after composite component was displayed) – JETSimpleCompositeApp.zip.
Composite component from sample app renders a list of customers including last and first names:

To attach composite component to JET project, you need to copy (or just implement inside existing project) package into the project. Composite component resides in simple folder structure and is based on HTML implementation, metadata JSON file and JavaScript loader file:

HTML implementation for this sample is simple, renders two text entries (binded to properties, so we could provide dynamic values in the consumer later) with different heading. You can implement here pretty much anything supported by HTML:

Metadata JSON file contains description for properties referenced in HTML UI implementation: Read the complete article here.

WebLogic Partner Community

For regular information become a member in the WebLogic Partner Community please visit: http://www.oracle.com/partners/goto/wls-emea ( OPN account required). If you need support with your account please contact the Oracle Partner Business Center.

Blog Twitter LinkedIn Forum Wiki

Technorati Tags: WebLogic Community,Oracle,OPN,Jürgen Kress