Posts Tagged ‘Jürgen Kress’

image

Is not that obvious from Oracle ADF BC REST developer guide how to provide value for bind variable defined directly in the View Object SQL statement. I did research around this and would like to post few hints to make your life easier, if you have same requirement – pass values from REST request to View Object required bind variables. This topic is especially useful, when you want to reuse existing ADF BC implementation for ADF BC REST access.
We are going to use View Object Row Finder. Oracle ADF BC REST developer guide explains how to use Row Finder with View Criteria. In our case we have different situation -  we would like to use Row Finder for required bind variables, referenced directly in SQL statement.
You can’t define Row Finder without View Criteria. First trick is to define empty View Criteria, just to be able to define Row Finder – we are not going to use View Criteria functionality, our bind variables are referenced directly in SQL WHERE clause: 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: PaaS,Cloud,Middleware Update,WebLogic,WebLogic Community,Oracle,OPN,Jürgen Kress

image

 

Facebook is most popular social networking sites now a days and influencing our life in all aspect. Facebook gives us option to use it’s Graph API to access it’s features programmatically, The Graph API is primary way to read and write to facebook social graph using Access Tokens
In this post I am talking about how to access Facebook profile detail using restfb graph API . So First we need to know about Acsess Tokens

What docs says-

When someone connects with an app using Facebook Login, the app will be able to obtain an access token which provides temporary, secure access to Facebook APIs.
An access token is an opaque string that identifies a user, app, or Page and can be used by the app to make graph API calls
The token includes information about when the token will expire and which app generated the token. Because of privacy checks, the majority of API calls on Facebook need to include an access token.

restfb Graph API-

RestFB is a simple and flexible Facebook Graph API client written in Java.It is open source software and simplifies code for you , It provides default implementation for all components . We need to access it’s methods and customized it
Let’s start with getting access token for our application
Open Graph API Explorer , You’ll see a input text there to enter token
As we don’t have any token so we need to generate one , click on Get token – Get User Access Token, It’ll open a dialog asking permissions. 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: PaaS,Cloud,Middleware Update,WebLogic,WebLogic Community,Oracle,OPN,Jürgen Kress

image

I have interesting topic to share – new Groovy API in ADF to work with View Object, apply View Criteria, execute it. I have discovered it while experimenting with new features and functionality in ADF 12c. Starting from ADF 12.2.1, we have an option to code Groovy in separate file with extension .bcs – ADF BC Groovy Improvements in ADF 12.2.1. This makes sense especially with this new Groovy API – it is more convenient to code/maintain more complex Groovy logic in separate file. As Oracle docs say – Groovy runs faster when it is coded in separate .bcs file, probably there is no need to parse XML to extract and execute expression.
Sample application – GroovyADFApp.zip, contains Groovy implementation for Employees EO:

There is validation rule for Salary attribute coded in Groovy: 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: PaaS,Cloud,Middleware Update,WebLogic,WebLogic Community,Oracle,OPN,Jürgen Kress

image

This post is about exporting view object data in a pdf file directly from af:table , export to excel is built in feature of ADF but exporting data in PDF requires little bit of extra effort
So here for this requirement I am using Apache PDFBox library , previously I have posted about using this API to create PDF file from text data
I know many of you will not visit that link So a quick overview
What is Apache PDFBox

The Apache PDFBox library is an open source Java tool for working with PDF documents. This project allows creation of new PDF documents, manipulation of existing documents and the ability to extract content from documents. Apache PDFBox also includes several command line utilities.
Let’s implement this 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: PaaS,Cloud,Middleware Update,WebLogic,WebLogic Community,Oracle,OPN,Jürgen Kress

image

ADF Essentials is powerful framework to develop web applications and is free to use. FlexDeploy is built using ADF Essentials 12.1.3 and is now available to run on Tomcat 8 and Java 1.8. See FlexDeploy Installation for Tomcat for more details.

Here are some high level steps to run your ADF Essentials applications on Tomcat 8. Deploying ADF Essentials application to Tomcat can be tricky at first, these steps are for ADF Essentials 12.1.3 and Tomcat 8, so if you are running different version, you may have some challenges. Once your Tomcat environment is configured, you can use FlexDeploy JDeveloper and Tomcat plugin to automate Build/Deploy process.

Prepare Tomcat Environment

First step is to prepare Tomcat 8 environment with ADF Essentials library files. Download 12.1.3 Oracle ADF Essentials and Oracle ADF Essentials Client Files from http://www.oracle.com/technetwork/developer-tools/adf/downloads/adf-download-1649592.html. Save download files in temporary folder. 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: PaaS,Cloud,Middleware Update,WebLogic,WebLogic Community,Oracle,OPN,Jürgen Kress

Dear WebLogic and Developer Partner Community,

Thanks for your excellent contribution to make the Oracle PaaS business a huge success. Oracle just announced the fiscal year results with a 60% growth at total of 4.6 billion cloud revenue in FY17. Your partner contribution is key to growth and cloud utilization. So let’s get started in the new fiscal year and continue this cloud success. Want to increase the PaaS & Middleware Oracle business? Create new service offerings and solutions for the Cloud? Watch the Oracle Partner Overview Cloud Platform on-demand Webcast to bring new opportunities to you as a partner. As part of the on-demand presentation you get also an update on the Oracle cloud momentum highlight analyst reports and customer success, new and upcoming PaaS services and describe the sales plays – your opportunity to become a cloud champion!

We also updated the PaaS Sales kits including cheat sheets, demos and customer presentations (in ppt format). The Application Development and Mobile sales kits are available at via the community workspace (membership required).

This is your last opportunity to register for the upcoming PaaS Summer Camps VII, as the training is almost booked out! For SaaS partner we do offer hands-on trainings to integrate and extend SaaS in Paris, London and Lisbon.

In Application Development three new open source tools smith, crashcart, and railcar become available for Oracle Container Cloud Service. Thanks to the community for all the excellent WebLogic and ACC articles Red Samurai Boosts Applications Development 100% with Oracle PaaS & Three New Open Source Container Utilities & Test drive Java EE 8 using Glassfish 5 on Oracle Container Cloud & Weather Microservice Development using NodeJS and Oracle Application Container Cloud Service (ACCS) & Running Spring-Boot Microservices on Oracle Container Cloud & Pushing Java EE 7/8 To Oracle Container Cloud Service & Deploy to Oracle Application Container Cloud using Maven & Two New Articles on API Management and Microservices & Find all configured SystemComponents in Oracle Fusion Middleware – The RESTFul way & Monitor WebService Response Times with curl (-alldetails) on WebLogic & Automate Creation of ADF 12c WebLogic Domain

Oracle’s PaaS platform has a lot of traction with the Analyst community, the latest Gartner report Oracle is named a leader for Mobile App Development Platforms. Thanks to the community for all the excellent mobile & development tool articles: Oracle Named a Leader in the 2017 Gartner Magic Quadrant for Mobile App Development Platforms & Oracle MCS: Storing values in Application Policies & Oracle Applications Mobile User Experience – Sample Code & Fixes for ADF Cloud User Experience Rapid Development Kit (RDK) UI Layout Issues & Cameras and Chatbots: Built-in Contextual User Experience & Integrating the Chatbot & Build your application with ABCS & Mocha.js for Test Automation of Node.js REST API on Oracle Developer Cloud Service & Oracle JET Modular Architecture Example & Migrating to Oracle JET in 10 Minutes & Oracle MAF 2.4.1 released & Nice Trick to Get ADF LOV Description Text & Oracle.jbo.domain.DataCreationException: JBO-25009 while using multiple selection component in ADF Faces & ADF BC Attribute – Collection Storage Mode Property & Hide values from ADF SelectOneChoice using EL expression on UI & Eclipsecon Europe 2017

For a short summery of our key monthly information watch the Fusion Middleware & PaaS Partner Updates on YouTube. The July edition of the PaaS Partner Update highlights the PaaS Partner Overview Webcast and sales kits, PaaS hands-on training and the Wercker Community Webcast. To learn more about Application Development and Wercker please join our monthly SOA & BPM Partner Community Webcast – July 21st 2017.

Want to publish your best practice article & news in the next community newsletter? Please feel free to send it via Twitter @wlsCommunity #WebLogicCommununity!

See you in Lisbon.

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

Please like and share the newsletter at LinkedIn and Twitter

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

image

What if you have entity level validation rule and want to attach validation error message to specific field. By default this is not possible – all entity level validation error messages are displayed in the popup and are not attached to the fields (differently than attribute level validation rule messages).
Apparently there is a way to achieve such requirement with Groovy expression, this can be executed from entity level validation – adf.error.addAttribute(‘Salary’). In addAttribute you need to provide attribute name which will be assigned with the error. Complete expression for entity validator:

Result displayed on UI – validation error message is assigned to the field, which was changed: 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: PaaS,Cloud,Middleware Update,WebLogic,WebLogic Community,Oracle,OPN,Jürgen Kress