clip_image002

 

To execute Groovy expression in ADF 12c (to call Java method from Groovy), you must specify trusted mode. Read more about it in my previous post – ADF BC 12c New Feature – Entity-Level Triggers. Setting mode to trusted, works in most of the cases. It doesn’t work if we want to execute Groovy expression (calling Java method in ViewRow or Entity class) for custom property. In a case of custom property and Groovy calling custom method, we need to annotate Java class with AllowUntrustedScriptAccess. This makes a trick and Groovy expression can call custom method.
To demonstrate the use case, I was using mandatory property. This is standard property to control if attribute is required or no. By default, mandatory property is static, but we can make it dynamic with Groovy expression. I have implemented a rule, where Salary attribute is required, if value is more than 5000:

Salary is not required, if value is less than 5000. This is just example, you can implement more complex logic: 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

 

clip_image002Previously I have posted about populating selectOneChoice programmatically using POJO

Programmatically populate values in a af:selectOneChoice component in ADF

and this post is about getting selected value of POJO base selectOneChoice (both display value and base value)

We can get base value of selectOneChoice simply using value property but to get display value we have to iterate over list of items and find display value on basis of Base value

So here I have created a POJO based selectOneChoice , for that declared a List in managed bean to populate list items and a String variable to hold selected value of choice list. 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

clip_image002

You should read this post, if you are looking how to reduce ADF HTTP response size. This can be important for ADF application performance tuning, to improve PPR request response time. By default in ADF 12.2.1, iterator is assigned with ChangeEventPolicy = ppr. This works great for UI component bindings refresh, no need to set individual partial triggers. On other side, this generates extra content in ADF HTTP response and eventually increases response size. I would recommend to use ChangeEventPolicy = ppr, only when its really needed – dynamic forms, with unknown refresh dependencies. Otherwise set ChangeEventPolicy = none, to generate smaller response.
I will demonstrate below the difference for ADF HTTP response with ChangeEventPolicy=ppr/none. First let’s take a look into page load response size:

Page contains list component and form. Both are based on two different iterators, set with ChangeEventPolicy = ppr. This generates AdfPage.PAGE.updateAutoPPRComponents calls for each UI item, referencing attributes from the iterator. In complex screens, this adds significant amount of extra text to the response, could increase size even by half: 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

clip_image002

Almost one month ago, Oracle released Oracle Mobile Application Framework 2.3 that allow us to build Windows 10 applications. After building or migrating our application it is time to distribute it.
Fist you have to prepare you development environment. You can check how to do it here:  Oracle MAF: configuring Windows 10 development environment
In this post I will show how to deploy and install an UWP executable
We are going to use Workbetter application that can be found in the next path (change ‘C:\Oracle\Middleware1221’ with your JDeveloper installation path):
‘C:\Oracle\Middleware1221\Oracle_Home\jdeveloper\jdev\extensions\oracle.maf\Samples’
One we have opened the application we have to deploy it as we usually do todeploy it to iOS or Android, but selecting Windows profile. 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

Get trained on the latest PaaS and Middleware sales plays to increase your service and reselling business. For an overview watch the PaaS & Middleware Sales Kits for Oracle Partners – grow our joint business! on-demand webcast. Sales plays for three categories: WebLogic and Mobile ADF are available at the WebLogic Community Workspace (membership required): App Development and Deployment in the Cloud: Lightweight Web Applications and App Development and Deployment in the Cloud: Java EE Development & Testing and Reduce TCO through Consolidation and DevOps: Agility for Dev / Test / Deploy and Digital Engagement and New Apps: Cloud Native & Mobile All sales kits contain material to prepare, attract, engage, present and demo PaaS and Middleware solutions. Especially I would like to highlight the cheat sheets. This one page overview contains key information to position the cloud services at our joint customers. Get this sales kits, adopt them with your service offerings and references, and forward them to your sales and marketing teams.

A great example of a PaaS showcase is the integrated cloud demo for air pollution control from S&P. Make sure that you promote your services and application in the Solutions Catalog and Cloud Marketplace. Let us know in case you have similar plans! Another highlight is the Red Summer School by Link Consulting. Four student teams got hands-on trained on the PaaS solutions.

The Java Cloud Success Stories proof the cloud adaption thanks to you as a partner. JCS and Coherence now support clustered WebLogic server domains and custom JVM arguments.

Thanks to the community for all the excellent WebLogic and ACC articles: WebLogic Suite Review & WebLogic Server 12.2.1.1.0: Create, configure and tune a Domain & Zero Downtime, REST, Domain Partitions / Multi Tenancy, Elasticity and WLDF & WLS Cluster debugging – some tips & Using Configuration Manager & WebLogic CHEF cookbooks & JAX-RS URISyntaxException after upgrade to WebLogic 12.1.3+ & Bedrock Java framework for the development, orchestration and testing & Analysing deadlocks with Java Virtual Machine Diagnostics & Deploying from Developer Cloud Service & Kurian Outlines Java EE Next Steps

The avanttic customer success story is an outstanding MCS customer example. For additional customer examples please read Grant’s blog post. With cloud computing the Oracle Specialization program becomes even more important! For the Mobile Cloud Service Specialization we offer free online training & certification vouchers get them now!

Thanks to the community for all the excellent development tool articles: Shaping API’S for MAX & Enterprise Mobility for Dummies – New Second Edition! & MCS with ADF BC REST Connector & Embedding Oracle Application Builder Cloud Service Apps in Sales Cloud & New Features in Developer Cloud & CI, DevOps and ALM for Oracle SOA Suite with Developer Cloud Service &Building Oracle ADF Applications with Maven Using Oracle Developer Cloud Service free tutorial &JET free online training August 22nd – September 12th 2016 & Serving JET Application from WebLogic & Jet with ES6 syntax &JET and RequireJS & Tag Cloud in JET & ADF BC REST 12.2.1.0 Running Live in Java Cloud & ADF: Responsive UIs using af:matchMediaBehavior & ADF UI- Show DVT Chart inside af:table and other collection components &ADF: using popupFetchListener to execute a method before the popup opens & ADF Applications – Migration from 12.1.3 to 12.2.1 & ADF: tagCloud component overview &Workaround for ADF BC REST Custom Method Configuration & Podcast Show Notes: The Future of Forms

For a short summery of our key monthly information watch the Fusion Middleware & PaaS Partner Updates on YouTube. The August edition of the Middleware Partner Update contains the PaaS Sales Kits, Internet of Things Cloud Service free trial and the upcoming community webcast about API Cloud Platform Services takes place on August 30th 2016.

See you in Lisbon!

To read the complete newsletter please visit http://tinyurl.com/weblogicNewsAugust2016 (OPN Account required)

Jürgen Kress
Fusion Middleware Partner Adoption
Oracle EMEA
Tel. +49 89 1430 1479
E-Mail: juergen.kress@oracle.com
clip_image003Blog clip_image004LinkedIn clip_image005 Twitter

To become a member of the WebLogic Partner Community please register at 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.

image

Blog Twitter LinkedIn Mix Forum Wiki

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

clip_image001

 

So let’s say we’re cool with the whole Grunt-for-a-JET-project thing and now want to extend the scripts by adding a new plugin.

We’ll add something simple first. I like time-grunt because I’m always curious about the metrics. Adding it to our project will display the elapsed execution time of all of the tasks whenever we run Grunt.

First we need to download and install the plugin. Then we need to configure our Grunt scripts to fire it up.

Grunt plugins are installed via npm and registered in the package.json file in the root of your JET project. Execute this command to download and install time-grunt:

npm install time-grunt --save-dev

The npm install part pulls down the code needed for time-grunt and puts it in your node_modules folder. The --save-dev part adds an entry to your package.json file.

Now we need to add it to the Gruntfile so that it will run on every invocation of grunt. Because it’s watching over everything Grunt does and measuring the time it takes, time-grunt loads differently than normal task modules and we don’t use the load-grunt-config pattern of adding a scripts/grunt/config file like a task. Instead, we put it directly in the Gruntfile, despite the fact that the generated JET code leans on the load-grunt-config approach for all of its other plugins. 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: JET,WebLogic Community,Oracle,OPN,Jürgen Kress

 

clip_image002

 

These past days we had the oppportunity to give Oracle Jet a try. Coming from the javascript world, I was really happy to discover that Oracle had started using Javascript for their own products and even released Jet as an open-source library.

The challenge

As our Middleware team is running performance tests for SOA/BPM nowadays, one of the areas of focus is the use of Weblogic Data Sources. So a colleague asked me if we could perhaps use Oracle Jet to plot data obtained from MBeans, thus allowing us to monitor these in real-time. We developed a quick API for exposing MBeans as REST services using Jersey (we are using 11g for this) and deployed it to all targets, including the Admin server.

The JMX API

The REST API has 3 methods:

· [GET] /get/{mbean}: returns all attributes from the mbean attribute

· [GET] /find/{filter}: lists all object names found using the filter

· [POST] /query/{filter}?key=Name: returns specific stats from target object names and attributes, grouped by the Name attribute

Getting started

Following the getting started guide, it was really easy to create a project to test. At first, we used the Netbeans approach to quickly start up, but then we moved on to the second approach (the one listed in the quickstart guide) and used yeoman, grunt and bower instead.

The Frontend API client

After yeoman created our project, we developed our client module with all the functions needed to access our backend service: 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