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

 

clip_image002Responsive UI is a big deal nowadays, when enterprise applications should run on different platforms and devices. Often customers prefer to render simpler functionality screens for mobile devices and give full data entry access only when accessing through regular Web browser on the computer. ADF provides support for this, you can implement responsive UI designs relatively easy, check informative blog post from Shay Shmeltzer – ADF Faces Responsive Design – 12.1.3 Update.
I would suggest to think about responsive UI design from the start, it very much depends on functionality your application offers. It is good idea to start from the template and define facets for various layouts. But this is not only about layouts, you may prefer to render editable forms on large screens and on mobile devices to show only charts for quick overview. I’m going to demonstrate, how you could switch between different regions in ADF UI, depending on current resolution. Download sample application here – ADFResponsiveUIApp.zip.
This is how it works, I’m using iPad simulator, but same would be true for the regular browser display on smaller screen resolutions. Web page displays region with editable columns in horizontal view and same page displays different region with read-only list in vertical view:

Similar to Shay’s sample, there is a template implemented with two facets (each for different layout): 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

Previously i have posted a lot about component that supports multiple selection in ADF Faces (af:selectManyCheckbox, af:selectManyChoice, af:selectManyListbox, af:selectManyShuttle)
– Multiple Selection in ADF Faces
This post is about selecting all values in a component programmatically on a event like button click, value change event etc.
Note that this post is designed for ADF BC (viewObject) based components , to set values in bean based component check this-
Programmatically populate values in ADF Faces multiSelect component (af:selectManyCheckbox, af:selectManyChoice, af:selectManyListbox, af:selectManyShuttle)
So for this i have just dropped Departments viewObject as multiSelect component on page
(af:selectManyCheckbox, af:selectManyChoice, af:selectManyListbox, af:selectManyShuttle)

Page bindings section looks like 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

clip_image002

There is a new scroll policy for the table component in ADF 12c. This new policy is called – load more. I think it gives good potential, it allows to reduce access load on heavy tables. In ADF 11g we are implementing similar approach with RowCountThreshold = -1 setting, this is preventing full scroll at once (How To Disable SELECT COUNT Execution for ADF Table Rendering). Load more is better, it integrates with VO Range Paging and allows to configure maximum number of rows present on the client.
New scroll policy is configurable directly on the ADF UI table component, as a property:

Load more works based on configured Range Size for the iterator in the bindings. In my example, I have set it to be 15, this means there will batches of new rows added in the groups of 15 elements: 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_image002In a SOA architecture there is often a need to create asynchronous services. As a simple example imagine a workflow approval process. In such a case the approval process can run from minutes to weeks, before the final approval returned back to the client. This is a typical example of an asynchronous service. So when a platform like Oracle SOA Suite is involved the implementation of an asynchronous service  is a quite easy task to do. However when developing such a service manually it is a challenging task. The primary challenge in this scenario is the correlation between the request from the client and the response from the service. In more detail the service have to notice at a minimum the

  • URL of the client
  • a unique identifier for the request (correlation id)

After the service successfully processed the request it has to use this information to build the response and send it back to the client. There exists a web service standard used for correlation: WS-Adressing.

When developing an asynchronous web service manually the developer has to deal with a lot of requirements and standards. Edwin Biemond wrote a nice blog about building a simple asynchronous web service with JAX-WS.

But there exists an alternative using Oracle Fusion Middleware. In the documentation there exists a book about creating Infrastructure web services. In detail this means buildung web services with Oracle ADF. When developing an asynchronous web service according to this guide, Oracle prepares the infrastructure for correlation of the request and response. The developer are able to concentrate on developing the business logic for the service. The correlation of request and response is automatically provided by the infrastructure. So afterwards the preconditions and the general steps are described in more detail.

Preconditions

The preparation of the infrastructure for asynchronous web services consist of creating a request and response JMS queue in WebLogic Server. The default queue names are as follows:

  • Request queue: oracle.j2ee.ws.server.async.DefaultRequestQueue
  • Response queue: oracle.j2ee.ws.server.async.DefaultResponseQueue

It is also possible to change the names of the queues. In addition this queues can be used in a cluster setup as well. Some best practices when using this queues also provided in the documentation. The installation is quite easy. It is only necessary to apply the template oracle.jrf.ws.async_template_12.1.3.jar ($ORACLE_HOME/oracle_common/common/templates/wls) when creating a new WebLogic domain. An existing WebLogic domain can also be extended by applying this template. 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

Partner Webcast: Mobile Cloud Service

Wednesday, August 12th @ 9:00AM – 10:00AM  (GMT-08:00) Pacific Time (US & Canada)

Reserve your spot

Overview: Oracle Mobile Cloud Service
Watch the Video (2:58)

Introducing Oracle Mobile Cloud Service
Watch the Video (1:10)

OPN Competency Center
Mobile Cloud Service Guided Learning Paths

Register for the Webcast 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_image001It may look simple, but really is not obvious how to apply new label text for the ADF BC attribute or UI component through MDS customisation. It is simple, if such label text already exists in the core bundle. If you need to create new label text in the customisation and use it – this becomes a bit tricky. Well, as usual – I’m going to explain how you could solve such task. You should read more about MDS customisation setup in ADF – MDS Seeded Customization Approach with Empty External Project.
Core application – mds_label_cust.zip, contains one label for First Name VO attribute. The requirement is to customise core application and add label for the Last Name VO attribute, without changing anything in the core. For this purpose, we need to create different JDEV application – extension, configured with shared library deployment profile. Here you could simply create new properties file. We are going to use this application to deliver additional components for the core. Keep in mind – core application must be configured to use this library. Add label for Last Name VO attribute, in the properties file located in the extension: 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