Sunday Aug 02, 2015

Programmatically Select all values in ADF BC based selectMany (af:selectManyCheckbox, af:selectManyChoice, af:selectManyListbox, af:selectManyShuttle) component by Ashish Awasthi

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

Saturday Aug 01, 2015

Load More Scroll Policy for ADF 12c Table and Range Paging by Andrejus Baranovskis

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

Friday Jul 31, 2015

https://soacommunity.wordpress.com/2015/07/31/bpm-12c-advanced-error-handling-and-recovery-part-1-by-antonis-antoniou/

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

Thursday Jul 30, 2015

Partner Webcast: Mobile Cloud Service August 12th 2015

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

How to Apply New Label Text in MDS Customisation by Andrejus Baranovskis

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

Wednesday Jul 29, 2015

Create and set clientAttribute to ADF Faces component programmatically to pass value on client side JavaScript by Ashish Awasthi

clip_image002This post is next in series of "Working with ADF Faces Components programmatically"
So this post is about creating client Attribute, applying it to component and setting it's value programmatically
this requirement comes in picture when user is dealing with dynamic layout means components are created programmatically at run time and it is not possible to apply clientAttribute and other properties declarative
In this i am extending my previous post -
Apply Client/Server listener to programmatically created components, apply JavaScript to ADF Faces components at run time
In previous post i have described about applying client listener and server listener programmatically
here we will see how to pass a variable value to java script function using client attribute
You can read more about af:clientAttribute here
From oracle docs-
The clientAttribute tag specifies the name/value for an attribute which will both be made available both on the server-side (Faces) component as well on on the client-side equivalent. This tag will be ignored for any server-rendered components, as it is only supported for the rich client. ClientAttributes are not synchronized to the server since unknown attributes from the client are not synchronized to the server.
Lets' see how we can do this ,It's simple just check this code 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

Tuesday Jul 28, 2015

ADF 11.1.1.9 Goodies – Conveyor Belt Component and Alta UI by Andrejus Baranovskis

clip_image002It doesn't seem to be announced, but newly released ADF 11.1.1.9 is shipped with Alta UI support. All you need to do, is to set alta skin name in trinidad config file. This enables applications running on ADF 11g platform to leverage new Oracle UI layout and to be prepared for ADF 12c upgrade. Besides Alta UI, there are several new UI components, one of them is Scrollable Bar (ConveyorBelt) - Displaying Components in a Scrollable Bar. This is simple, but quite useful component - I'm going to demonstrate how it works. Conveyor Belt is able to render elements horizontally or vertically. This is perfect component to render key information, user could select one of the items available on the belt and get more info fetched. This is how it looks like - conveyor of employee pictures with first/last names, rendered in the vertical belt on the left:

If there are more items in the conveyor belt, than could fit into visible UI part - user could scroll (right/left and down/up). Here I scroll down and select another employee, his detail data is displayed in the main section: 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

Sunday Jul 26, 2015

Java 8 ME Embedded + Raspberry Pi + Sensors = IoT World By Yolande Poirier

clip_image002In Part 1 of his series on using Java ME 8 to control Internet of Things (IOT) devices--such as LEDs, relays, LCDs, sensors, motors, and switches--connected to a Raspberry Pi, Jose Cruz explained how to work with devices that use a simple general-purpose input/output (GPIO) interface. GPIO devices can be used as either a digital input or digital output, can be disabled or enabled, and can be used to drive interrupt lines. Part 1 explored how to connect and control a flame sensor, a movement sensor, and a motion sensor.

In Part 2 of his series, Jose describes how to connect and control devices that use an inter-integrated circuit bus (I2C) interface, which is a multimaster, multislave, single-ended serial computer bus that  enables you to read or write data beyond just changes in logic states. 

Following Jose's instructions, you'll learn how connect a servo driver; a temperature and humidity sensor; a light and object proximity sensor; and a digital compass to the Raspberry Pi. Then, you'll see how to develop Java ME 8 classes that allow you to gather data from, write data to, and control these devices. The code for the classes is very similar, so once you understand it, you'll be able to create new classes that control additional I2C devices to create your very own IoT world.  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

Saturday Jul 25, 2015

JVM Language Summit — August 10th – 12th 2015

The Summit will take place from August 10 through August 12, 2015. The agenda will be similar to the 2014 program. Details will be posted here when available.

Notes on the Agenda

  • Talks will run in a single track, 45 minutes each (including questions).
  • Workshop sessions will run for 60 minutes, with two or more sessions in parallel. Workshops are scheduled so that informal discussions can carry on into the subsequent time slot.
  • Light breakfast and lunch are served on site.
  • Two or three breakout rooms are available for workshops, quiet conversation, and ad hoc consultations.

clip_image002

For details please visit the 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

Friday Jul 24, 2015

Zeef.com and NetBeans IDE by Lamouchi Nebrass

clip_image002In the previous conversation with Nebrass Lamouchi, we learned about his favorite NetBeans IDE features. In the interview below, Nebrass talks about Zeef.com and its connection with NetBeans IDE.

Hi again Nebrass, what is Zeef.com?

Zeef.com is a place where you find and create lists of links about your favorite topics.

I got started with Zeef in December 2013. The first section I created on Zeef was the
GlassFish Page, which was published on December 27th, 2013.

After that, I created the NetBeans page on January 20th, 2014:

https://netbeans.zeef.com

The page contains a lot of useful NetBeans news, articles, and tutorials. There are also great links to blogs and to useful NetBeans books.

NetBeans's features and performance have always been productivity boosters. I have always enjoyed coding with NetBeans. So, promoting NetBeans is a regular activity of mine in activities such as craftsmanship meetings and workshops.

Then I thought that the idea of creating a NetBeans section on Zeef might be a great next step. Sharing my coding experience with NetBeans users through an innovative platform as Zeef was a successful step in spreading the great NetBeans experience.

The NetBeans page is a very useful holder of links, books, articles & tutorials that every NetBeans user needs to improve the NetBeans's coding experience. 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

Thursday Jul 23, 2015

WebLogic Partner Community Newsletter July 2015

With Platform as a Service (PaaS) partners become even more important to Oracle. Discover new consulting service business opportunities in the Cloud by utilizing PaaS. Therefore the Oracle Fusion Middleware sales kits are available at our Community Workspace (WebLogic Community membership required). Please make sure that you send the cheat sheets to your sales team and develop cloud consulting service offerings for Hybrid Application Servers and Mobile Applications. Part of sales kits are also free PaaS demo accounts here. We highly encourage you to get a free GSE demo systems account NOW. When developing your cloud service offerings take financing and alternative cloud models into consideration.

In case you missed the Oracle PaaS launch with Larry Ellison and Thomas Kurian the on-demand video is available here. Thanks for the nice launch summaries from Lucas and Leon. Thanks to all the excellent cloud articles from the community Java Cloud Service: Scheduling - Cron4j, FlexDeploy 2.1 Released – Oracle Cloud, Sneak Peek at What's Next for Oracle Exalogic Elastic Cloud and the Java Cloud free online training & tutorials.

The Virtual Technology Summit July 14th 2015 will be all about WebLogic. For all middleware experts this is a must attend free online training!. Also not to miss out is the Nordic Tour and our OOW Community reception in October..

Thanks to the community for all the excellent WebLogic articles: WebLogic: Past, Present and Future &

Native WebLogic Monitoring WLSDM & Accessing DMS Metrics via MBeans & WebLogic 12c on Oracle Database Appliance X5 & Administering Managed Server With Node & Podcast Show Notes: Docker and Virtualization & Managing Logs in WebLogic & Enterprise Manager (EM), WebLogic 12c Demo & Extending the Weblogic Console by adding Books, Pages and Portlets & IoT Hackathon & 9 tools to help you with Java Performance Tuning

The highlight of our developer section is the Mobile Cloud Service. Learn more about it by watching the short video tutorials in the new YouTube Channel and read the articles Create Mobile Apps - Fast!, Take a Tour of the API Designer, Developer Cloud Service - Automating Builds for ADF and Leveraging the Oracle Developer Cloud . Brand new is also the mobile certification and the free hands-on training material.

Thanks to the community for all the excellent development tool articles: ADF Application Event Listeners – Part II & ADF Basics: Using content Style & How To Record ADF Client Side Request Performance Time &

Insert and show whitespace in ADF Faces Components & Intercepting Table Filter Query & ODTUG KScope15: Sunday Symposium & C and C++ Development with Netbeans.

See you in Lisbon Jürgen Kress

To read the complete newsletter please visit http://tinyurl.com/weblogicNewsJuly2015 (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

Wednesday Jul 22, 2015

GlassFish Images on Docker Hub by Bruno Borges

clip_image002Great news to our fellows bleeding edge Java EE developers and GlassFish users. We are now pushing two images of the application server to Docker Hub to make it even easier to try new and upcoming releases. The GlassFish organization is under registry.hub.docker.com/u/glassfish/, and here are the two images we have:

GlassFish Nightly Builds

This image is based on the latest builds of GlassFish, and updated when a new build is produced. To try this one, run: 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

Tuesday Jul 21, 2015

Hybrid WebLogic and Mobile Apps Sales Kits – Discover new consulting service opportunities in the cloud

With cloud computing and PaaS in specific, partners become even more important. To discover new consulting opportunities we made our sales kits available for you as a partner!

clip_image002Sales kits include:

  • Sales play presentation
  • Ppt customer presentation
  • Cheat sheet
  • Solution video
  • Demo accounts
  • Marketing kits

To get the sales kits please WebLogic Sales Page and the Mobile ADF Sales page

Call to action

  • Get the sales kits and forward them to your sales team
  • Develop a consulting service offerings for Oracle PaaS
  • Print the 1 page sales cheat sheets (from the sales play presentation) and put them in the valet of your sales people (add your consulting service offering)
  • Get a free demo instance of our PaaS Demo Accounts

To access the above links WebLogic Community membership is 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

Monday Jul 20, 2015

Java Web Application sending JSON messages through WebSocket to HTML5 browser application for real time push by Lucas Jellema

clip_image001This article describes a Java EE 7 web application that exposes a REST service that handles HTTP POST requests with JSON payload. Any message received is sent through a Web Socket to the web socket (server) endpoint that is published by a Java Class deployed as part of the web application. A static HTML page with two associated JavaScript libraries is opened in a web browser and has opened a web socket connection to this same end point. The message sent from the REST service endpoint to the web socket endpoint is pushed through the web socket to the browser and used to instantly update the web page.

The specific use case that is implemented is a simple web dashboard to monitor a movie theater: the current number of people in each of the four rooms of this movie theater is observed. The REST service receives the actual spectator count and through the two web socket interactions, this count ends up in the browser and in the visual presentation.

Below you will find a step by step instruction for implementing this use case including all required source code. The implementation uses only standard technologies: Java EE 7 (including JAX-RS and Web Socket ) and plain HTML5 and JavaScript – no special libraries are involved. The code is developed in Oracle JDeveloper (12c) and deployed to Oracle WebLogic  (12c). However, given that only standard components are used, the same code should work equally well on other containers and from other IDEs.

Note: for the use case presented in this article, a somewhat simpler solution would be possible using Server Sent Events (SSE) – a simpler and lighter weight approach than the use of web sockets. SSE is uni-directional (server to client push only) and that of course is exactly what I am doing in this particular example.

The steps will be:

· Implement the REST service to handle json payloads in HTTP Post requests

· Implement the WebSocket endpoint

· Interact from REST service endpoint with WebSocket (endpoint)

· Implement the HTML and JavaScript web application to present the live status for the movie theater based on the web socket messages

The starting point is a basic Java EE web application – with no special setup in web.xml or other files.

The final application looks like this: For JDeveloper 12c users: 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

Search

Archives
« August 2015
SunMonTueWedThuFriSat
      
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
     
Today