Archive for the ‘Uncategorized’ Category

image

Microservices as an architectural style as well as scalable and manageable cloud infrastructure are the foundation for modern and flexible business applications. Therefore, Oracle invested heavily in maturing its Cloud portfolio and providing services to support development and operations of such applications. One Oracle cloud service aimed at these kind of applications is “Oracle Application Container Cloud Service” (ACC). It provides a simple Docker based environment in which your Microservices can be deployed. In order to reduce the operations overhead, developers only have to provide their applications (NodeJS, Java SE or PHP) in a certain format and Oracle’s cloud infrastructure takes over.

Within this blog article required design considerations for developing and running a Spring-Boot application on Oracle’s ACC Service are described.

ACC Design Considerations and Spring-Boot

Oracle prescribes three basic design considerations when planning to run applications within Oracle ACC Service. First of all, ACC is dynamically creating Docker containers. As result hostname and port can only be determined during runtime. Therefore, applications deployed within ACC containers must be able to listen on specific ports. Secondly, in order to use the dynamically created container port and hostname an application has to be configurable during runtime. The ACC infrastructure provides its hostname and port within two environment variables, HOSTNAME and PORT. An application running in ACC must be able to access these variables and use them for application configuration. Finally, an application should include all of its dependencies.

When looking at these design principles Spring-Boot is a perfect choice in order to develop a Microservice and run it on Oracle ACC. Although Spring-Boot applications follow the principle convention over configuration and need just a minimum of configuration to run, they are indeed highly configurable at runtime. In order to run in ACC only two properties need to be configured within a Spring-Boot application: Furthermore, Spring-Boot applications can be packages as single executable JAR file containing all dependencies. Therefore, it should be possible to run Spring-Boot Microservices on Oracle ACC. But which steps are required in order to get it up into the cloud and running?

Preparing the Spring-Boot Application

In order to prepare a Spring-Boot application to run on Oracle ACC, application metadata and a deployment ready archive have to be prepared. When using Oracle ACC the application’s metadata is described within a manifest.json file. Within this file information such as runtime versions, launch commands, startup time and shutdown time thresholds are defined. For a full definition see Oracle’s documentation (links below). For this example the manifest.json file looks as follows:

Microservices as an architectural style as well as scalable and manageable cloud infrastructure are the foundation for modern and flexible business applications. Therefore, Oracle invested heavily in maturing its Cloud portfolio and providing services to support development and operations of such applications. One Oracle cloud service aimed at these kind of applications is “Oracle Application Container Cloud Service” (ACC). It provides a simple Docker based environment in which your Microservices can be deployed. In order to reduce the operations overhead, developers only have to provide their applications (NodeJS, Java SE or PHP) in a certain format and Oracle’s cloud infrastructure takes over.

Within this blog article required design considerations for developing and running a Spring-Boot application on Oracle’s ACC Service are described. : 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

Advertisements

image

Introduction

To build functional and performant mobile apps, the back-end data services need to be optimized for mobile consumption. RESTful web services using JSON as payload format are widely considered as the best architectural choice for integration between mobile apps and back-end systems. At the same time, many existing enterprise back-end systems provide a SOAP-based web service application programming interface (API). In this article series we will discuss how Oracle Mobile Cloud Service (MCS) can be used to transform these enterprise system interfaces into a mobile-optimized REST-JSON API. This architecture layer is sometimes referred to as Mobile Backend as a Service (MBaaS). A-Team has been working on a number of projects using MCS to build this architecture layer. We will explain step-by-step how to build an MBaaS, and we will  share tips, lessons learned and best practices we discovered along the way. No prior knowledge of MCS is assumed. In part 1 we discussed the design of the REST API, in part 2 we covered the implementation of the “read” (GET) resources, in part 3 we discussed implementation of the “write” resources (POST,PUT and DELETE). In this fourth part, we will look at how we can use MCS Storage collections to cache payloads, and while doing so, we will use some more advanced concepts like chaining promises to execute multiple REST calls in sequence.

Main Article

In this article we will implement the GET /jobs endpoint which returns a list of jobs. This list is static, and as such can be cached within MCS to reduce the number of backend calls and speed up overall performance. Obviously, app developers can also choose to cache this list on the mobile device to further enhance performance, but that is beyond the scope of this article. We will use the MCS Storage API to store and retrieve the cached list of jobs. We will use a boolean query parameter refreshCache to force an update of the jobs list in storage.

Setting up the Storage Collection

To store files in MCS, a so-called storage collection must be created. Access to a storage collection is handled through roles. When creating a new storage collection, you assign roles that have read and/or write privileges. Users with the appropriate role(s) can then store files in the collection and/or retrieve them. So, we first create a role named HRManager, by clicking on the Mobile User Management menu option, select the Roles tab, and then click on New Role.

After creating the role, we select the Storage menu option and click on New Collection to create the collection. 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

The June edition of the PaaS & Middleware Partner Update contains three key topics:

  • Fusion Middleware & PaaS Summer Camps
  • Oracle Innovation Awards
  • SOA & BPM Partner Community Webcasts June 9th and June 28th 2016

For regular updates please subscribe to our YouTube channel here. For the latest WebLogic & Developer Partner Community information please visit our Community update wiki here (Community membership required)

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

 

You are working on large Fusion Middleware & PaaS opportunities & projects? Oracle is pleased to invite you to the PaaS & Fusion Middleware Summer Camps VI by the SOA & BPM and the WebLogic & Developer Partner Communities. Goal of the trainings is to support you to deliver a successful project. Most of the trainers are a member of the Oracle product management team.

Come to Lisbon to get a 5 days hands-on training in one of the following topics:

  • PaaS & IaaS
  • Enterprise Connectivity (SOA)
  • Mobile and Mobile Cloud Service
  • Java Cloud Services & WebLogic 12.2.1
  • Internet of Things (IoT)

For details please visit our registration page 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: Mobile,mobile,Summer Camps,training,Forms,MCS,Cloud,PaaS,WebLogic Community,Oracle,OPN,Jürgen Kress

 

clip_image001I’m going to share few more tips, how to implement CRUD in JET and call ADF BC 12.2.1 REST service. You are going to learn how to implement table row selection and how to call REST PATCH method to update data through ADF BC REST service. Why very practical? You can take sample application code and use it in your project. Less theory and more practical hints – this is my approach.
This is how it looks JET table (with pagination control – Oracle JET Collection Paging Control and ADF BC REST Pagination Perfect Combination) and form. Download sample application – JETCRUDApp_v2.zip. User can select row and edit data in the form:

I’m going to change salary value for Alexander Hunold and invoke PATCH method with Update button click:

Through network monitor in NetBeans we can check REST method execution. PATCH method is executed for employee ID 103 with Content-Type set to Oracle ADF resource item: 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,WebLogic Community,Oracle,OPN,Jürgen Kress

Middleware Update February 2016

Posted: February 15, 2016 in Uncategorized

The February edition of the Middleware Partner Update contains three key topics:

  • Fusion Middleware Partner Community Forum – live streaming
  • Integration & Process Cloud Service Bootcamps
  • SOA & BPM Partner Community Webcast on-demand

 

For regular updates please subscribe to our YouTube channel here. For the latest WebLogic & Developer Partner Community information please visit our Community update wiki here (Community membership required)

 

SOA & BPM Partner Community

For regular information on Oracle SOA Suite become a member in the SOA & BPM Partner Community for registration please visit www.oracle.com/goto/emea/soa (OPN account required) If you need support with your account please contact the Oracle Partner Business Center.

Blog Twitter LinkedIn image[7][2][2][2] Facebook clip_image002[8][4][2][2][2] Wiki

Technorati Tags: YouTube,Middleware Update,Cloud Updates,PaaS,Cloud,SOA Community,Oracle SOA,Oracle BPM,OPN,Jürgen Kress

Dear WebLogic & Developer Partner Community

Thanks for the huge interest in the Fusion Middleware & PaaS Partner Community Forum 2016! With more than 225 registrations and 180 confirmed attendees the conference is booked out! We are in process to try to get additional budget to host more attendees. In case you want to attend please register online here. We will add all new registration to the waiting list and decide after my holiday beginning of March 2016. For the lucky ones who got a seat feel free to join our Facebook event page here.

The conference always have been booked out. This time it sold out in record time, we opened the registration 100 days in advance and in less than 50 days before the conference there is no seat available. This proofs the interest in Oracle Middleware & PaaS is huge and our community is stronger & more active than ever before! Thanks to all speakers and attendees who will make also the 22nd conference in Valencia a super success!

For all the attendees who will not make it to Valencia we consider to live stream the conference. We consider either to use YouTube streaming or twitter Periscope. We would like to get your feedback please send us a tweet @wlsCommunity and #ofmForum.

WebLogic 12.2.1 continues to gain momentum read the latest post from Java Rock Star Adam Bien. Key feature of the new release is the Multi-Tenant functionality. Make sure you read the WebLogic 12.2.1 Multi-Tenant and Resource Consumption Management with WebLogic Multitenant articles. One of the easiest ways to try WebLogic 12.2.1 is on Docker. The other option is to try Java Cloud Service. Thanks to Lucas Jellema for the great articles part I and part II. We continue to offer free JCS trial accounts for Community members. Thanks to the community for all the excellent WebLogic 12.2.1 articles: UKOUG Application Server & Middleware SIG & FlexDeploy 3.1 & IoT Available

Across EMEA we run PaaS partner workshops for partners, make sure you attend them to get ready for the cloud. A great example it the Mobile Cloud Service 3 Days Workshop which took place in Madrid. Thanks to the community for all the excellent development tool articles: Handling ADF BC 12.2.1 REST Validation in Oracle JET & Push Notification to delete local data & ADF: Filtering parent and child nodes & Automatic ADF Logout on Browser Close with WebSocket & Close the containing parent popup component & Add and delete values in POJO & Edit Use Case for ADF 12.2.1 Dashboard & Consuming a SOAP Web Service & Database Change Notification Listener & DOAG DevCamp

Yes this newsletter is again long – make sure you read it! For a short summery of our key monthly information watch the Fusion Middleware Partner Updates on YouTube. The February edition of the Middleware Partner Update includes tips for PaaS trial accounts, PaaS training and reminds you to register for our Partner Community Forum 2016. See you in Valencia!

clip_image002

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 read the complete newsletter please visit http://tinyurl.com/weblogicNewsFebruary2016 (OPN Account required)

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