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

Sunday Jul 19, 2015

O-box at SYSCO Energy Days by Simon Haslam

Last week I spent a few days in Oslo with SYSCO, O-box’s partner in Norway, as they had kindly invited me to speak in the middleware track of their SYSCO Energy Days event.

clip_image001Between SYSCO and I we covered topics on automated provisioning, why O-box chose Chef, enterprise deployment, O-box & ODA (me, of course), and SYSCO’s SOA 12c upgrade experiences. There were plenty of discussions too with other companies sharing their Fusion Middleware experiences. All told it was a very interesting and constructive day.

We also had a very nice dinner, including performances by a Norwegian musical/comedy double-act. Whilst the jokes (in Norwegian) went over my head, the musical numbers from “Bohemian Rhapsody” to “He Ain’t heavy” were very entertaining, not least the audience participation! 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 18, 2015

Pitfalls when using libraries of newer version than shipped with JDeveloper or WebLogic Server by Timo Hahn

clip_image001

A question on JDeveloper & ADF OTN forum cought my attention. A user wanted to use a method of the Apache Commons-IO library named FileUtils.getTempDiretory() but got an error when he tried to use code completion or when he tried to compile the code. The problem was that the compiler (or code completion) did not pick up the right java class from the library even as it was installed in the project a library.
As the original code used belongs to one of my samples I was interested in finding a reason for this behavior as I could see no obvious reason for this behavior.

An inspection of a provided test case quickly revealed the problem and a solution was found too. This blog is about the problem and the solution to it. Lets start with building a test case: 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 16, 2015

OTD active/standby failover by Paal Holmen

clip_image002You have installed OTD (Oracle Traffic Director), configured nodes and created an instance. Now you want to set up an OTD active standby failover. First you will need a virtual IP address. Log in to EMOC (Enterprise Manager OPS Center) and allocate a virtual IP for use in the OTD failovergroup.

Go to the accounts Networks setting and press the icon Allocate vIP from vNet in the section Public Networks.

Choose your number of vIPs you want. 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 15, 2015

Encrypt & decrypt your way into WebLogic SSL by Michel Schildmeijer

clip_image002The title of this blog may seem a bit cryptic…. In this article I’d like explain some basics of the the SSL implementation in WebLogic. This blog is meant for people who are not familiar with SSL, especially in combination with WebLogic.

In my experience, SSL is usually a bit of a black box for many junior and medior administrators who work with middleware, so I will try to clarify some of it in special relation to WebLogic. To understand this, there are also some generic parts to discuss. SSL is a technique to secure a point-to-point socket connection, in  the so-called transport layer which will be secured.  It provides secure connections for interfaces or (web) applications to connect and authenticate each other’s identity, and  by encrypting the data traffic between those interfaces or application back ends.

Authentication allows a server, and sometimes optionally, a client to verify the identity of the application on the other end of a network connection. SSL uses the public key encryption technology for this. With public key encryption, a public key and a private key can be generated for a back-end server. This key is used to encrypt data before sending. After the client has recieved the key, it can decrypt it using that same key. So data encrypted with the public key can only be decrypted using the corresponding private key and vice versa.

It’s is like sending a locked safe with some transportcompany along with a note which contains the unlock combination. The public key is embedded in a digital certificate with additional information about the initiator of the key. This information may consist of name, street address, email address, company information and some geographic information. A private key and a digital certificate provide an identity for the server. The data embedded in a digital certificate is verified by a certificate authority and digitally signed with the certificate authority’s digital certificate.

Well-known certificate authorities include Verisign and Entrust.net. The trusted certificate authority (CA) certificate establishes trust for a certificate. Below is an overview of a “happy SSL flow”: 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
« July 2015
SunMonTueWedThuFriSat
   
11
30
31
 
       
Today