Thursday Mar 20, 2014

Part I – WebLogic Suite: Foundation Infrastructure for Oracle iAS (Internet App Server) Customers

WebLogic has become the strategic application server infrastructure for Oracle Fusion Middleware and Applications. It is designed to provide a standards-based, mission critical and secure platform for organizations developing and deploying large-scale, cloud environments. Oracle iAS capabilities like Oracle TopLink and Oracle Coherence along with layered products such as Oracle Forms, Oracle Reports, Oracle Discoverer and Oracle Portal and others have been certified with the WebLogic Server infrastructure. The J2EE runtime underlying Oracle Internet Application Server, Oracle Containers for J2EE (OC4J) has had key capabilities converged and certified with WebLogic Server. The goal has been to enable Oracle customer investments in Oracle Internet Application Server to move forward seamlessly.

Watch the video 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 Mix Forum Wiki

Wednesday Mar 19, 2014

REST, SSE or WebSockets on WebLogic 10.3.6 by Edwin Biemond

WebLogic 10.3.6 comes with Jersey1.9 and has no support for Server Side Events or WebSockets. But for one of our projects we are making a HTML5 / AngularJS application, which need to invoke some RESTful services and we also want to use of SSE or WebSockets.

Off course we can use WebLogic 12.1.2 but we already have an OSB / SOA Suite WebLogic 10.3.6 environment.
So when you want to pimp your WebLogic 11g server you can make a new shared library which has the latest version of Jersey (1.18),  Jackson, Linking and the  Atmosphere Jersey module ( for  SSE & Websockets).  Atmosphere also comes with a WebLogic addon ( cause Servlet 3.0 is not supported on WebLogic 10.3.6 ).
The Atmosphere framework also supports IE 6 or higher and when SSE or WebSockets is not supported by your browser,  it automatically falls back to Long Polling.
Here you can download the shared library and it comes with a working demo Rest Service and SSE chat application.

Just deploy this war as a Library and target this to a managed server.
In a Web Application add the weblogic.xml deployment descriptor to the web-inf folder and add a reference to this shared library. 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 Mix Forum Wiki

Tuesday Mar 18, 2014

WebLogic & JRockit FlightRecording scheduling by Qualogy

As part of an analysis during a longer period of time, I wanted to investigate on a deeper level and for a longer period, JRockit JVM level.

Besides using WLDF embedded FlightRecording, it is also possible to separately record using jrcmd commandline. Within JRockit JDK you have this recording option you can use to take recordings for a certain period or a certain amount of time. These options are available in JRockit Command line (jrcmd.sh - a shell script shipped within your JDK installation directory).

  • The script collects a recording for an hour but you can set your time as you wish. Now, let’s see how the script is built up.
  • First, some parameters are set to identify which JVM you’d like to collect from.
  • Next, we define a period of time of how long recording should run, the actual jrcmd command and name of the compressed file.
  • We set some limits such as maxsize and compress to relieve your filesystem.
  • Last part of the script will take care of some cleaning up. All recorded files older than N days are removed, as well as the tmp folders on your managed server volumes!

I used a remote JRockit MC Console, in which I can see the recordings. Usually you can download them if they have a green light, but because I cleaned the tmp dir of the managed server, I needed to copy the JFR’s manually and load them into my console. 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 Mix Forum Wiki

Monday Mar 17, 2014

Common WebLogic Problems by Steve Millidge

Oracle WebLogic was originally developed by BEA Systems, a company which was acquired by Oracle in 2008.

Since WebLogic had a much larger user base, Oracle quickly made their intentions to deprecate their own Oracle Application Server (OAS, sometimes referred to as OC4J, the J2EE container component) in favour of WebLogic as their primary offering.

C2B2 have worked with WebLogic since it was owned by BEA and have partnered with both BEA and Oracle. As partners, C2B2 have worked on a wide variety of customer engagements across Oracle’s full middleware portfolio.

Migration from OAS to WebLogic

Oracle Application Server has been deprecated for a number of years now, since Oracle have pushed forward with their plans to offer only WebLogic as their application server of choice. Even so, many businesses are still using OAS or OC4J to run their Java EE applications and are increasingly finding that they need to migrate to WebLogic to avoid being left with legacy infrastructure that they can no longer support effectively.

Fortunately, Oracle has anticipated the need for the process of migration to be as seamless as possible so, for their part, they have put a lot of effort into helping customers migrate their infrastructure. Unfortunately, however much work Oracle might do to help with this migration, there will always be problems or unforeseen circumstances due to the dependencies that applications might have on OC4J which change when moving to WebLogic.

Non-standard technology

A great advantage of buying from a company like Oracle is the ecosystem that you get along with the product. WebLogic, for example, has many other components built by Oracle to improve on the standard Java EE way of doing things. Problems can occur purely down to the vast amount of products and services that Oracle offer. Should you use WebLogic’s JMS implementation, Oracle’s Advanced Queuing (AQ) or Oracle Store-And-Forward for your messaging scenario? How do they differ? Is one better than another, or just better suited to certain applications? It’s clear to see that, although you can be sure that Oracle has a product or component to suit your scenario, it’s a significant task to review even the portfolio of components that come with WebLogic, let alone WebLogic compatible software from Oracle.

Performance Tuning

With considerations like migration and such a range of technologies to use, how can you be sure you’re getting the best performance out of your infrastructure? Consider the scenario – you have a suite of applications, migrated from OC4J which used to use AQ for messaging but now bridge endpoints with Oracle SAF. Are the defaults for the connection pools associated with your data sources optimal for persistent messaging?

It’s very common for users who are not familiar with performance concepts to get completely lost when trying to tune every aspect of their application and server. Should you buy more hardware? Do you need to? Performance issues can get very expensive, whether in terms of buying additional hardware, man-hours to maintain responsiveness or just in terms of your reputation to customers so it should never be an afterthought. 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 Mix Forum Wiki

Saturday Mar 15, 2014

Deploying Jenkins to a WebLogic Server by Peter Lorenzen

I am working on a project that uses Jenkins. We had a couple of different options for deploying Jenkins. We use Red Hat Linux, so we could run Jenkins as a command line service in the background, or we could deploy it to a servlet container like Tomcat or Glassfish. But since we are already using the WebLogic Server it made most sense to deploy Jenkins there.

Using WebLogic for Jenkins does not work out of the box, so here is the steps I wend thorough to get it up and running on a WebLogic Server 10.3.6.

Overview

Prepare the OS
Jenkins stores it’s files under $JENKINS_HOME which defaults to ~/.jenkins.

You can change $JENKINS_HOME via .bash_profile. 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 Mix Forum Wiki

Friday Mar 14, 2014

WebLogic section: Configure Coherence HotCache by Edwin Biemond

Coherence can really accelerate and improve your application because it's fast, high available, easy to setup and it's scalable. But when you even use it together with the JCache framework of Java 8 or the new Coherence Adapter in Oracle SOA Suite and OSB 12c it will even be more easier to use Coherence as your main HA Cache.

Before Coherence 12.1.2 when you want to use Coherence together with JPA for the database connectivity, you must make sure that there is no batch job or application doing modifications directly in the database. This will lead to an out of sync Coherence Cache. But with Coherence 12.1.2 together with GoldenGate you can capture these database changes and send updates to the Coherence Cache. This is called Coherence HotCache. Here you can see how it basically works. 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 Mix Forum Wiki

Thursday Mar 13, 2014

Additional new material WebLogic Community

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 Mix Forum Wiki

Technorati Tags: WebLogic,WebLogic Community,Oracle,OPN,Jürgen Kress

Wednesday Mar 12, 2014

Back-end to the Future: Using your Existing Oracle ADF Applications as a Pillar of your Mobile Strategy

Mobility has been a significant trend in IT for several years now. Laptops have been outselling desktops since 20081, and it seems that tablet shipments will surpass desktops in 2013 and laptops in 20142. In that context, the real question for your organization is not if it will build mobile applications, but when. To negotiate this transition successfully, one cannot ignore other technology trends. The most influential one is probably the commoditization of personal computers and smartphones; traditional differentiators have become meaningless and price itself has become the main purchase criterion. In that context, advanced capabilities that were the hallmark of high-priced workstations and servers ten or fifteen years ago, such as multi-core processors, have become widespread. Application developers quickly took advantage of the situation. This, in turn, greatly influenced expectations towards technology in the workplace. Every day, business users access web sites with rich AJAX interfaces; every day, they download and install mobile applications that exhibit superior production values.

Content of the whitepaper:

  • SOA design principles
  • Considerations for mobile applications
  • Service styles: SOAP, REST or both?
  • Exposing services on Summit ADF: a case study.

Get the whitepaper 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 Mix Forum Wiki

Tuesday Mar 11, 2014

Jdev Extensions & Custom Audit Rules by Rohan Walia

Introduction to Oracle Jdeveloper Extensions SDK. Setting up project and developing Custom Rules using Jdev Extensions.


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 Mix Forum Wiki

Monday Mar 10, 2014

ADF Classic mistakes and Worst practices (abstract from UKOUG 2013) by Amis

The UKOUG Technology conference in Manchester hosted several very interesting sessions regarding ADF best and worst practices. Some slides are publicly available (see links at the bottom of this blog) but since there where multiple session and speakers I decided to write this blog post and share with you the most prominent do’s and don’t that might even surprise a skillful ADF developer. The topics covered below are certainly not all-encompassing, because one could write a whole book about it, but it does show some topics that may make your say “I wish I had known this a year ago”.

1. Do not prefix all managed bean EL expression with a specific scope.

In some cases, being over explicit is a bad thing when referencing managed beans in EL, for example #{requestScope.beanName.propertyName}.

Never prefix in case of default Servlet scope, meaning requestScope, sessionScope and applicationScope. By prefixing the scope you bypass the JavaServer Faces managed bean facility. This means it will only look for in-memory objects and does not instantiate managed beans (causing an NPE).

Do prefix in case of ADF specific scope e.g. backingBeanScope, viewScope and pageFlowScope. These are handled by the ADF controller (instead of the standard servlet mechanism) and it takes care of managed bean instantiation (if configuration is available).

In general, you should try to avoid using the default servlet scopes all together and always use the smallest scope possible (this minimizes memory usage). In regards to requestScope and backingBeanScope, note that the backingBeanScope is basically the same as requestScope but when you add the same taskflow twice on one page, they will each have their own backingBeanScope. This is not the case when using request scope!

SessionScope is most suited for storing user context information (e.g. name etc.), do not use sessionScope to pass/reuse values between taskflows, but use TF parameters instead. Also keep in mind that all sessionScope data is shared across browser tabs.

2. Never set immediate=true on an editable components

The most common use case for the immediate property is implementing Cancel/Reset functionality on input forms. In this situation you want to ‘skip’ validation and this is simply achieved by setting the immediate=true property on the commandbutton component, which is fine.

The immediate=true property can also be set on input components such as af:inputText, but this should be avoided whenever possible. You will most likely end up with a page that can never be navigated away from. To fully understand the rationality behind this you must know your ADF lifecycle and ADF optimized lifecycle. I can highly recommend reading this post of Steven Davelaar and his demo-app explaining the JSF/ADF life-cycle. 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 Mix Forum Wiki

Sunday Mar 09, 2014

ADF Mastery newsletter by Sten Vesterli

In the first issue of the new monthly ADF Mastery newsletter by Sten Vesterli, he describes five ADF skill levels: Novice, Apprentice, Journeyman, Master and Artisan. Below you can see the descriptions and which ADF features you should know at each level.

You can indicate how you rate yourself and see how others have rated their skills in the poll at www.adfmastery.com  Currently, the distribution looks like this:

Sign up for the newsletter at http://eepurl.com/LSGq1.

Novice

A novice knows the basics of a technology or skill, but has no project experience with it. This is normally the highest level that can be achieved through self-study and “playing” with a technology

•       Build default Entity Objects and Application Modules

•       Build View Objects on one Entity Object

•       Create LOVs

•       Build pages with drag-and-drop and simple components


Apprentice

An apprentice knows the most commonly used parts of a technology or skill and has worked with it on projects with an external “customer”. The apprentice normally works under guidance of a master.

•       Declarative validation rules

•       Building bounded task flows

•       Use task flow parameters

•       Use common components


Journeyman

A journeyman is familiar with all normal aspects of a technology or skill and has worked with it on several projects. The journeyman can work unsupervised, but will normally not supervise apprentices.

•       Understand data bindings

•       Create and use ADF Libraries

•       Use resource bundles

•       Programmatic validation rules

•       Build page templates

•       Build task flow templates

•       Use Partial Page Rendering

•       Simple backing beans

•       Use all Rich Client components

•       Use common Data Visualization components

•       Implement ADF Security


Master

A master is familiar with every aspect of a technology or skill and has used it for a long time or on many projects. The master can serve as technical lead and supervises apprentices.

•       Understand ADF BC tuning

•       Understand ADF lifecycle

•       Build programmatic business components

•       Build declarative components

•       Implement client-side events

•       Complex backing beans

•       Use contextual events

•       Use all Data Visualization components

•       Use MDS Customization

•       Skinning


Artisan

An artisan has a very deep knowledge of a technology or skill as well as an understanding of its relation to other technologies or skills. The artisan has used it for a long time or on many projects and can give good conference presentations on the topic.

•       Understand all public BC APIs

•       Understand how to modify the ADF lifecycle


For more information and adf trainings visit adfmastery.com

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 Mix Forum Wiki

Saturday Mar 08, 2014

ADF Architecture TV

Do you want to learn the "big picture" of ADF development? Interested in design, architecture, development & deployment best practices and more? Then subscribe to the ADF Architecture TV channel http://bit.ly/adftvsub, where over 100 episodes delivered weekly by key Oracle ADF staff will discuss what you need to know to build a successful ADF application.

  • Video: ADF Mobile - URL Schemes - YouTube
  • Video: Oracle Diagnostic Log Analyzer - ADF Requests and the JSF Lifecycle - YouTube
  • Video: Creating RESTFul web services with ADF BC - YouTube
  • Video: Building WS from an existing ADF application - ADF Insider - YouTube

Like to know more? Check out: ADF Architecture TV Introduction

24. Design - Prematurely Terminated Task Flows


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 Mix Forum Wiki

Friday Mar 07, 2014

Update for ADF Performance tool by Andrejus Baranovskis

This weekend we have finalized latest update for our ADF runtime performance audit tool - Red Samurai Performance Audit Tool v 2.4. You can read about features included into previous update v 2.3 in this post - Update for Red Samurai Performance Audit Tool - v 2.3. Current update v 2.4 is focused on Slow Query and Large Fetch drill down screens usability. We provide more detailed information to understand how your ADF application performs recently and how applied tuning improves performance.

List of improvements in v 2.4:

  • Improved nested Application Modules activation auditing
  • Improved first screen of the performance dashboard application. Types of Issues graph displays calculated total number of issues. There is option to filter issues by type
    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 Mix Forum Wiki

Thursday Mar 06, 2014

Mobile Design Patterns with Oracle ADF Mobile

Access a set of common patterns and components that will help you design native phone and tablet apps for iOS and Android platforms. Each pattern provides a summary of design solutions. Read the article.


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 Mix Forum Wiki

Wednesday Mar 05, 2014

ADF User Experience Workshop in Dubai March 9th – 10th 2014

On March 9-10, Oracle's User Experience (UX) team will present a 2-day workshop to experienced ADF users from Oracle partner organizations.

Attendees will learn to leverage the Oracle Applications UX design patterns as building blocks for applications development and to apply the best practices learned from building Oracle Fusion Applications with these patterns. This workshop will enable attendees to build modern and visually compelling applications that look and behave like Oracle Fusion Applications and that can co-exist with partner integrations and other new or existing applications.
Date: March 9-10, 2014
Time: 9:00 AM to 5:00 PM
Location: Oracle Office Dubai
                Internet City Building #6, Shaikh Zayed Road
                Dubai, United Arab Emirates
Register 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 Mix Forum Wiki

Search

Archives
« April 2014
SunMonTueWedThuFriSat
  
5
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today