JSON Parsing is Cake with WebLogic Server 12.1.3

Another feature of WebLogic Server 12.1.3 that I'm sure developers will find useful is the inclusion of an implementation of JSR-353 Java API for JSON Processing.

JSR 353: JavaTM API for JSON Processing
This new API, working from the foundations provided by earlier implementations such as Jackson, Jettison and Google JSon, now provides a standard API for working with JSON from Java. This goals and objectives of the API described in the initial (more...)

ADF Book Bundle – get one free!

Packt Publishing has a “buy one, get two” offer that runs until Wednesday. If you don’t have my ADF books, this would be a great opportunity to buy my new book Oracle ADF Enterprise Application Development – Made Simple: Second Edition and get a free copy of Developing Web Applications with Oracle ADF Essentials (or the other way around ;-)

Using the JAX-RS 2.0 Client API with WebLogic Server 12.1.3

As part of the JAX-RS 2.0 support we are providing with WebLogic Server 12.1.3, one really useful new feature is the new Client API it provides, enabling applications to easily interact with REST services to consume and publish information.

By way of a simple example, I'll build out an application that uses the freegeoip.net REST service to lookup the physical location of a specified IP address or domain name and deploy (more...)

Alert for ADF Security – JSF 2.0 Vulnerability in ADF 11g R2

You must be concerned about your system security, if you are running ADF runtime based on ADF 11.1.2.1.0 - 11.1.2.4.0 versions. These versions are using JSF 2.0 with known security vulnerability - Two Path Traversal Defects in Oracle's JSF2 Implementation. This vulnerability allows to download full content of WEB-INF through any browser URL. There is a fix, but this fix is not applied by JDeveloper IDE (more...)

What I learned from the UX Event

Last Tuesday, March 18, there was an UX Event organized by AMIS Services together with the Oracle Applications User Experience Team. Between noon and 8 p.m. I visited a total of 13 sessions, 3 demonstrations and had a lot of great discussions, overall a great day and amazing event.

I picked up various things, from small tips and tricks to big lessons. Instead of keeping my notes to myself, I will try to give (more...)

Using JAX-RS 2.0 in WebLogic Server 12.1.3

We've been working on adding some Java API updates to the coming WebLogic Server 12.1.3 release.

One that I think is going to be very popular is JAX-RS 2.0, which includes some useful new capabilities around filtering, interception and a really useful new client API.

 In the WebLogic Server 12.1.3 release we are providing this in the form of an optional shared-library that contains: the JAX-RS 2.0 API, (more...)

Shortcut to Call Custom View Row Method from JSF Expression

There is a custom method in Generic View Row Implementation class and you need to invoke it from UI. What would you do? Most likely you would generate Java View Row Implementation class for the specific VO, publish custom method through the interface and later consume it through ADF bindings. This works, but there is a shortcut - especially well working for generic solutions.

Sample application - RowIndexAppADF.zip, implements a table with row (more...)

AeroGear Push updates to OpenShift and standalone servers

Today we are releasing a few push related artifacts

  • SimplePush Server 0.10.0
  • UnifiedPush Server 0.10.1
  • AeroGear’s Push Cartridge for OpenShift 0.10.0

While the SimplePush Server mainly contains small fixes and improvements (see Dan Bevenius’ email), the UnifiedPush Server comes with great updates to the Admin UI:

  • composing and sending push messages is now possible from within the AdminUI
  • code snippets for device registrations are generated on the different (more...)

Happy 8th Birthday Java!

It's been another longer journey but yesterday, exactly two years, seven months, and eighteen days after the release of Java 7 we now have production-ready builds of Java 8 available for download! This new major release contains several new features and enhancements that increase the performance of existing applications, make it easier to develop applications for modern platforms, and increase maintainability of code. Here is a brief overview about my personal highlights.

What's new overall?
(more...)

The Future of User Experience

I’m off to the Netherlands for the first and finest Oracle User Experience Event in Europe, arranged by Oracle Platinum Partner AMIS Services BV at their offices in Nieuwegein.

AMIS and Oracle are pulling out all the stops – Oracle is flying in their top UX talent to speak, AMIS has lined up some of their experienced consultants, and they’ve even invited a few outside experts (like me).

I’ll be co-presenting with Killian Evers (more...)

Web.xml parameter Default Dimensions

In a previous post, I explained how you can use the property 'autoHeightRows' to stretch a table. This is mainly useful in JDeveloper 11g, because in JDeveloper12c the stretching of tables is a lot better.

The main reason for this is that JDeveloper 12c sets the context-parameter Default Dimensions to 'auto' in the web.xml file:

oracle.adf.view.rich.geometry.DEFAULT_DIMENSIONS
auto

The default value of this property (if not set) is not (more...)

How To Setup MDS Repository for Embedded WLS Instance

Recently I was enabling external MDS repository for ADF MDS Seeded Customizations, I was facing issues while testing such MDS repository with my local embedded WLS instance - running it directly from JDeveloper. I managed to find a solution at the end, so I would like to share it with you.

I was doing same thing as to configure MDS support for ADF Query Saved Search - defining persistence config in add-config.xml file. This (more...)

JavaOne CfP 2014 – Open for Business

This time of the year. Finally. It was about time. The 2014 JavaOne Call-For-Papers opened a few days back. And it is going to be a great one. Plenty of changes upcoming and it will have a huge focus on community speakers.

The rolling acceptance process from last year is back, so submit early!

A quote of mine sneaked into the advertising emails ;)
There is a new dedicated track for Agile development this year, (more...)

Abandon Fish! Migrating from GlassFish to JBoss or TomEE

I'v been a bit busy lately writing and reviewing stuff and didn't really had the chance to wrap up content for my blog. But things will change again and I am truly looking forward to that. So this is just a small reminder about one of the latest things I've been working on. RebelLabs published their latest report yesterday and it was my pleasure to put some efforts into it.

Since a while the GlassFish (more...)

How many stars do you need?

The latest Michelin Guide is out, and Copenhagen added another two stars for a total of 15 of the coveted Michelin Stars across 13 restaurants.

In order to reach the exceptional level of a Michelin-starred restaurant, you need to have an absolute world-class chef. And he (almost invariably a “he”) needs a good team around him.

However, most development team does not need temperamental world-class artists. For independent software vendors, who can sell thousands of (more...)

Using Talend to read tweets

In many cases it’s interesting to look at what’s been said on social media. For example: in a certain period of time many of your employees are absent. Maybe you’ll find the reason to why they’re absent in whatever people have been tweeting (Flu season? Music festival?). Or maybe you just want to know what people have been saying about one of your products. Talend is a great way to get hold of these (more...)

Formspider Authentication and Authorization Repository for PL/SQL


We are very excited to announce the release of Formspider Desktop 1.7. FS Desktop 1.7 includes one of the most requested features by our customers.
Built-In Security Repository
FS Desktop 1.7 comes with an integrated authentication and authorization repository. Formspider developers are now able to secure both data and UI elements and grant access rights to users directly from the Formspider IDE.
Formspider Security Highlights:

Why You Don’t Want to Code Validation in Before Commit

You should know by now - there are many things possible in ADF, but it doesn't mean every solution is right, even if it works. One example of such case - coding validation rules in beforeCommit method. This method is invoked after all changes are posted and ADF BC assumes data is valid, if we throw later validation error from beforeCommit - ADF BC state remains unchanged and changed data is not submitted again. There (more...)

Defective Reasoning

Again and again, I’ve seen significant decisions made based on defective reasoning. One of the most common errors is the fallacy of the converse – the belief that if A leads to B, and B happened, then A must have happened.

Defective ReasoningThis fails to take account of all the other things that might have caused B. But many people don’t see this because these other explanations are beyond their cognitive horizon.

I’ll talk more about (more...)

Pivotal Cloud Foundry using App Direct "newrelic" Monitoring Service

PCF AWS marketplace provides app direct services and in this example I am going to use the "newrelic" monitoring service to monitor my spring based java application. It's really this simple.

1. Create a service as shown below.

[Tue Mar 04 17:19:34 papicella@:~/cfapps/spring-travel ] $ cf create-service newrelic standard dev-newrelic

2. Create a manifest.yml for my spring application which uses the new relic service above.

applications:
- name: pas-springtravel 
  memory: 1024M 
(more...)