Monday Jun 29, 2015

WebLogic Partner Community Newsletter June 2015

New Oracle PaaS offerings become available, including Integration Cloud Service (ICS) and Process Cloud Service (PCS). In the latest edition of the SOA Magazine V you get an overview of them including Java Cloud Service (JCS). JCS is the most important PaaS offering. Based on WebLogic it is the underlying infrastructure for all PaaS Services. Leverage your WebLogic knowledge in the Java Cloud - try it today! Best you attend the Java Cloud Service Workshop at our Fusion Middleware Summer Camps V. You can also try JCS online and read the articles JCS Platform for Innovation, Creating an Java Cloud Service Instance and Java Cloud Service: Elevate Your Apps. In case you are working with Oracle SaaS applications like Taleo make sure you attend one of our 5 upcoming PaaS to Extend SaaS Workshops.

Thanks to the community for all the excellent WebLogic articles: FlexDeploy Community Edition FREE! & Exporting the stuck thread count from WebLogic & Encrypt & decrypt your way into WebLogic SSL & OTD active/standby failover & Weblogic Console Customizations & Pitfalls when using libraries & O-box at SYSCO Energy Days & Java Web Application sending JSON messages through WebSocket & GlassFish Images on Docker Hub & Zeef.com and NetBeans IDE & JVM Language Summit August 2015 & Java 8 ME Embedded + Raspberry Pi + Sensors = IoT World.

As part of the OFM Summer Camps we will host the first mobile cloud service training for partners. Our product management team Grant Ronald and Frank Nimphius will deliver the hands-on class by themselves. Make sure you register here before the workshop is booked out!

Thanks to the community for all the excellent development tool articles:

ADF 11.1.1.9 Goodies - Conveyor Belt Component and Alta UI & Create and set clientAttribute to ADF Faces & How to Apply New Label Text in MDS & How to easily create an asynchronous web service & Load More Scroll Policy for ADF 12c& Programmatically Select all values in ADF BC & Responsive UI Support in ADF 12.1.3.

Special thanks to Andrejus and Ashish for all their ADF articles this month.

See you in Lisbon Jürgen Kress

Jürgen Kress

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

Sunday Jun 28, 2015

Better UI -Show jQuery notification message (for error, warning, info) in Oracle ADF by Ashish Awasthi

Another post about using jQuery with ADF Faces , this post is about showing a notification message using jQuery in your ADF Application
Normally we use default FacesMesage to show error, warning and info messages in ADF
clip_image001here i am using jQuery growl library , you can download files from Growl : jQuery Informative Messages Plugin
Let's see how to integrate this library with ADF Faces, you will get two files from above link
one is JavaScript file (jQuery script) and other one is CSS file (style-sheet for notification UI)
Add both files to viewController project under Web Content now add reference of both files (JS and CSS) in page and also jQuery library to execute growl script. 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 Jun 27, 2015

ADF Logging in Different Applications Deployed on Managed Server by Rohan Walia

clip_image002There are many detailed useful blogs on ADF Logging which provide full details on understanding the details and how to implement and configure it.
This post is for my future reference as how to enable/configure ADF Logging for multiple applications deployed on Weblogic Managed Server.
Use Case : Enable ADF Logging for multiple applications deployed on Weblogic Managed Server.
Lets Get Started.
Important thing to understand here is that for ADF Logging to be implemented correctly Package Structure for the application plays a very important role. So as a common/best practice , package structures should be defined correctly for all the Managed Beans/Java Classes in the application. Also packages structures should be able to differentiate the ManagedBeans/Java Classes in different applications.
Ideally a unique root package name for the application should be given at project creation time in Jdeveloper.

Ok lets start implementing.
Created two ADF Applications. PayRollApp and PartnerApp. Both applications have below mentioned root packages.
PayRollApp : com.company.payroll
PartnerApp : com.comapny.partner
Created a PartnerTest.jspx in PartnerApp having a button which has an actionListener method which logs the log messages.
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 Jun 26, 2015

Remove Unused Namespaces in JDeveloper by Reinhold Becker

clip_image002This function is deeply missed in JDeveloper by many developers that code with Oracle products. There are many reasons for the usage of removing unused namespaces. Sometimes there are generated into the XML – in other cases we remove an import and forget to delete the namespace. For that reason I created a workaround with no extension coding at all.

The trick is to embed an xslt function into JDeveloper within a Maven script. First you have to create the pom.xml and the transform.xsl into your environment project. If you don’t have an environment project, any other directory will do it. The pom.xml has only one plugin that uses the MOJO project „xml-maven-plugin“. This plugin is used to execute xslt transformations with maven and it only requires the directory and the xsl file. 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 Jun 25, 2015

ADF 12c – Allow user to personalize the form items at run time using MDS based Change Persistence By Lucas Jellema

clip_image002The requirement is easily written down: the web page contains a form with multiple form items. Each user should be allowed to personalize the form at run time. This personalization entails the ability to hide and show form items. When user has decided to hide and show specific items – this decision should be persisted across sessions so that when the user logins at a later date, the form items she has hidden are still invisible and the displayed ones displayed.

This article describes how to implement this particular requirement in an ADF 12c Fusion Web Application. Note: the same steps and code will do the job for ADF 11g.

ADF has built in support for customization – both at design time and run time. Customization can be defined at various levels (or layers as the terminology is). One of these layers – typically the most fine grained – is the user level. Customizations at user level are frequently called personalizations.

In order for an ADF web application to support customization and personalization, we have to configure a number of things:

· a user-level customization class has to be configured in the adf-config.xml

· ADF Security has to be configured – so users can be identified (so their personalizations can be stored and retrieved)

· customizations has to be enabled in the properties of the View project

· the specific customization we are interested in (personalizing the visible or rendered attribute on inputText components) has to be enabled in the adf-config.xml file

· a managed bean is configured that receives the updated form item definitions and sends them to the ADF Change Manager that writes them to MDS

· a simple JSF page is developed with a form and a shuttle component to indicate which form items are to be hidden or displayed

The page looks as follows in this example: 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 Jun 24, 2015

Change Default JSESSION ID Name for ADF Application by Rohan Walia


By Default, every ADF Application writes a JSESSIONID Cookie which maintains the session across the ADF application.
clip_image001
The name JSESSIONID is default and can be seen in browser cookies.
Use Case : There might be scenario where this default name required to be changed. One example can be that there is a requirement for running two applications , one ADF Application and other might be existing application. The existing application already use JSESSIONID as cookie name for session management. In that case there will be a conflict between the two applications. In order to solve this we need to give different name of SessionId for ADF Application.
Created a simple ADF application
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 Jun 23, 2015

MAF and WebSockets Integration – Live Twitter Stream by Andrejus Baranovskis

clip_image002MAF and WebSockets - I will describe how it works together. WebSockets is a protocol providing full-duplex communication channel over a TCP connection. This channel is interactive (communication is both ways) and we can send messages from the server to the client (MAF application running on the device). There is no need to use push notifications, WebSockets provide JSON support and allow to send complex payload data. In a way it competes with REST, however REST is different with request is being initiated by the client. WebSockets data is received automatically - there is no need to trigger any event by the client.
I have implemented sample MAF application with WebSockets integration, you can download it here - AltaMobileApp_v1.zip. Finance screen in the application contains MAF output text component. This component displays latest data received through WebSockets channel. Server side is listening for live Twitter Stream updates and sends each tweet location over WebSockets to the MAF application. See how it works in this screen recording: 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

Monday Jun 22, 2015

ADF Application Event listeners – Part I by Red Maveriks

clip_image001Hi all and welcome to a new series on Red Mavericks!

This one is technical, focused on Oracle Application Development Framework, or ADF, so… sorry to our Business Analyst readers. There’s a new article coming out to new next week about Advanced Web Form creation… stay tuned.

Anyway, today’s article is written by a new Maverick: Pedro Gabriel. Welcome Pedro!

Pedro is a senior ADF developer at Link Consulting, and he’ll be sharing some of his experience with our fellow techie readers. He would be very interested in hearing back from you through twitter @PedrohnGabriel. Be sure to follow him  and check his Bio, right hereclip_image003

So, without further ado, here is Pedro’s article.

ADF applications provide a wide range of Event Listeners triggered whenever a change in state occurs. With these event listeners you are able to interact with:

· The state of the servlet context

· The state of the servlet request

· The HTTP session object

· Servlet Filters

· Phase Listeners

Servlet Context Events / Servlet Request Events

This type of events involves resources or state held at the level of the application servlet context/request object. You have four types of servlet context events: 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 Jun 21, 2015

WebSocket Accelerated Live Data Synchronization for MAF by Andrejus Baranovskis

clip_image002New generation Mobile and Web applications are going to use WebSockets. This is one of the fastest and convenient ways to transfer JSON formatted data from the server to the client and back. Huge advantage - server could initiate data synchronisation request and deliver JSON messages directly to the client. You should read my previous post about detail information how to configure MAF with WebSocket - Oracle MAF and WebSockets Integration - Live Twitter Stream.
In this post I would like to describe, how to integrate further information received through WebSocket with MAF components. I will use MAF Tree Map UI component to display live data for Tweets locations.
Below you could see screen recording - MAF Tree Map is getting refreshed automatically, each time when update through WebSocket channel is being received. This is amazing, how fast data through WebSocket channel is coming. In this test, MAF is handling around 1 update per second, received from WebSocket: 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 Jun 20, 2015

My tips for 1Z0-133 – Oracle WebLogic Server 12c: Administration I Certification by Shantanu Swaroop Srivastava

Last week I cleared my "1Z0-133 - Oracle WebLogic Server 12c: Administration I" certification. just like other Oracle certification exam, this exam was also tricky. The easier the question the harder to answer..phew. So I am sharing my tips that will help you in getting a better idea of this certification and may contribute in your success.
How was the certification exam?
     The certification exam was a mix of questions based on theoretical concepts, case study, keen observation of weblogic etc. There was a good percentage of easy questions but to pass the exam you need to make sure you answer difficult questions are correctly. There were 77 questions and passing mark was 64%.
What were the important topics covered?
     A good number of questions were on new features of Weblogic 12c so I would suggest to have a good understanding of them. There were questions based on basic concept of weblogic which we tend to skip very often ;-) Install weblogic environment and do some hand on before attempting the exam. It is must because there were questions based on case studies which cannot be answered merely by going through theoretical concepts. 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 Jun 19, 2015

Siebel CRM and Oracle Alta UI in the Mobile Age by Alexander Hansal


clip_image002

Since a few years, Mobile is an up-and-coming trend in digital evolution and a key factor for digital transformation. Together with Social, Cloud and Information, Gartner named Mobile as one of the 4 driving forces for new business scenarios and even goes as far as to call this “nexus of forces” out as the new basis of the technology platform of the future.[1]

Yet, not many businesses seem to deal with these technology trends properly and it is hard to blame them, considering the lack of proven concepts especially for internal applications such as Siebel CRM. However, this does not mean, that there is no way for you to use these trends and take an early step into the future. And this future is built on a better mobile user experience not only for your customers but for some of your employees as well. Read the complete article here. For more information on Alta UI please visit our Community Alta tag here. (WebLogic 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

Thursday Jun 18, 2015

Cloud Platform PaaS Launch Event on Monday June 22nd 2015

Launch Webcast: Integrate, Accelerate and Lead with the Oracle Cloud PlatformWatch live as Larry Ellison, Executive Chairman of the Board and Chief Technology Officer, Oracle, unveils new Oracle Cloud Platform services.
Discover how you can drive innovation with the leading enterprise Cloud platform:

  • Integrate with next-generation Cloud services.
  • Accelerate application development and deployment.
  • Lead the transformation of your business.

Tune-in early -- live interviews start at 10:00 a.m. Register today.
Join the conversation: #OraclePaaS #soaCommunity

Agenda

10:00 a.m. Live coverage and interviews with SiliconANGLE’s theCube hosts John Furrier (@furrier) and Dave Vellante (@dvellante)

1:00 p.m.
Larry Ellison, Executive Chairman of the Board and Chief Technology Officer, Oracle
Thomas Kurian, President, Product Development, Oracle
Expert Panel moderated by Steve Daheb, Senior Vice President, Paas, BI, EPM Business Groups, Oracle

For details please visit the registration page here.

For details about Java Cloud Service please visit our blog here

For details about Integration Cloud Service please visit our blog here

For details about Process Cloud Service please visit our blog 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

Creating graphs from DMS Metrics Peter van Nes

clip_image002When analyzing a (performance) issue in Fusion Middleware components, Dynamic Monitoring Service (DMS) Metrics can support you with the necessary information to support resolving the issue. DMS Metrics can be accessed using a variety of tools like JConsole, Oracle EM, WLDF, WLST and the DMS Spy servlet. The DMS Spy servlet is a perfect tool to get insight in the actual metrics but does not provide a way to store or graph these metrics over time. In Oracle EM Fusion Middleware Control you can view graphs of some metrics over time, but it is not possible to store these for review. To quickly get the needed graphs i wrote a WLST script that recorded the selected metrics to a csv which i could upload to plot.ly to generate graphs in minutes.

To record the DMS metrics to a csv file execute the script with the required arguments as shown in the example below. For more information on the argument metrictables follow this link; metrictables. Make sure to enclose the metrictables argument in single quotes, even if you only need one metric table. e.g. ‘”OIM_*”‘. 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 Jun 17, 2015

Mobile & Mobile Cloud Service hands-on training at Fusion Middleware Summer Camps V – August 17-21 2015 Lisbon

Mobile & Mobile Cloud Service hands-on training by product management - August 17-21 2015 Lisbon

clip_image002Trainers: Grant Ronald & Frank Nimphius



For details and agenda please visit our registration page www.tinyurl.com/ofmSummerCamps2015


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: ,,,,,,,,,,,,,,

Diagnosing performance issues front to back-end in WebLogic Server applications with Java Flight Recorder by Julio Mendez


clip_image002Introduction

The Java Mission Control and Java Flight Recorder are relatively new tools that have extended greatly the diagnostics capabilities of the Java platform. They allow collecting an impressive amount of detailed runtime information about the JVM, with minimum performance impact, in a way that would have been hard to imagine a few years ago.

Java Mission Control is basically a set of tools that enables efficient and detailed analysis of the extensive data provided by Java Flight Recorder, which is the entity that lives in the JVM collecting a wide variety of runtime information. Java Flight Recorder used to be tightly integrated with the JRockit JVM, although it’s been bundled with the HotSpot JVM since Java 7 Update 40 release.

There is plenty of information out there about how to use both JMC and JFR in the form of blogs, videos and technical documentation, so I won’t cover that in much detail. The purpose of this article is to give a hint to developers unfamiliar with JFR on how to diagnose performance issues associated to an application flow triggered from the front-end.

Main Article

One of the most common scenarios that engineers working on applications deployed in WebLogic servers need to deal with is to diagnose a web application with poor performance.

Often, users complain about sluggishness after they click on a specific link of the application or as part of a specific operation. Also, it is common that these performance issues are not constant and happen rather randomly or intermittently.

Normally, getting a full picture of what could have gone wrong, from the front-end to the middle or back-end layers, requires a thorough analysis of all involved components. Depending on the logging capabilities or integrated diagnostic frameworks used by the application, the difficulty of debugging this way may vary, but in general, it becomes time consuming at the least.

If regular logging is only used, the debugger needs to correlate evidences of events and their timestamps in the log files from different components in order to get an idea of any potential bottlenecks.

Also, capturing fairly detailed performance information about an application is usually expensive, and typically requires enabling logging capabilities or using profiling tools based on the JVMPI/JVMTI interfaces, that may have a negative impact in performance as well.

Fortunately, Java Mission Control and Java Flight Recorder have made things much easier for everybody and have become the Holy Grail of Java application profiling, making it feasible to profile applications with virtually no performance degradation, which wasn’t possible a few years ago.

Capturing WebLogic event data with Java Flight Recorder

It is possible to integrate WebLogic and the Java Flight Recorder to collect event data from WebLogic containers, through the WebLogic Diagnostic Framework (WLDF). The overhead of enabling JFR and configure WLDF to generate WebLogic Server Diagnostics to be captured by JFR is minimal, and makes it ideal to be used in full-time basis, especially with production environments where it adds the greatest value.

Java Flight Recorder works with the concepts of events, which is the representation of a piece of data related to something that happened at a specific point in time. 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