Friday Feb 21, 2014

SOA Community Event

Im at the Fusion Middleware Community Event today in Malta, about 3pm I'll be presenting "Mobile Design Patterns for Apps Integration". 

I'll be posting the powerpoint here later, but if your around, say hello, if your not around Id be curious to hear your own design patterns. 


Thursday Jun 06, 2013

ADF Mobile Local Database and Offline support

Hey all,

Frederic from our product mgmt team has produced a nice short (32min) webcast on the Local database (SQLite) in ADF Mobile and  specifically he discusses how to use it to implement offline support in your ADF Mobile applications.

 Nice webinar...

Check it out here http://www.youtube.com/watch?v=-XzE1n_j5Nc

Friday Apr 05, 2013

Debugging ADF Mobile apps, quick tip

Don't you miss the Weblogic console when developing Oracle ADF Mobile applications?? I do..  Well there is a neat workaround for Android.

Oracle ADF Mobile outputs quite a bit of debug information onto the Android logcat, which is quite useful.

To see the Android logcat, you can execute the following command (Windows or Linux)

adb logcat

and logcat will continue logging everthing which happens on your android phone to your operating systems command line..

However a better approach is to use Eclipse logcat.

 If you install eclipse and install the Android Development Toolkit  (link) you get the same functionality as the command line logcat, but with the additional features

I've since discovered that the Android SDK actually has a program called "Monitor" which appears to be an Eclipse based UI dedicated for debugging your device.. It has information on the heap, threads,network statistics and lots more! but importantly for us the logcat functionality is identical to whats available in eclipse (same plugin I guess)

  • Pretty colours, makes it easier to see Information vs Debug messages
  • A quick & easy UI for setting up filters , so you can configure it to filter only for messages from your application  

Useful..

Wednesday Aug 22, 2012

Beautiful websites with Oracle ADF/Webcenter

I've been following a thread on the ADF Enterprise Methodology group on google with some interest recently, which has prompted this blog posting..

Its all about "Can Oracle ADF-Faces be used to create a truly uber-sexy website", complete with sizzle ??

The answer is yes of course! Oracle ADF-Faces can produce a sexy website.

It's true that Oracle ADF-Faces was originally designed to be quick RAD framework for building Oracle Fusion Applications and it succeeds there, and over time its rapidly being used for building UIs for all of Oracle's products, from internal applications, task screens for Oracle BPM worklists, Enterprise Manager screens and is the main framework you would use with Oracle Webcenter Portal (& Spaces). The latter particularly leans towards a user audience which craves ubersexyness and sizzle vs an expenses clerk who is only really interested in getting the job done efficiently, although nice looking would be nice...

So your building an Oracle ADF website and you want it to look good where should you start?? Well Oracle ADF Skinning is the first port of call. Even with simple skinning you can create some really nice looking interfaces, just look at http://www.medibankhealthbook.com.au, an Australian Health Website and http://My.Symantic.com, specifically MySymantic.com uses pure ADF, for both of these sites checkout the look and feel of the registration page to get an idea of what can be done..

my.symantec.com www.medibankhealthbook.com.au

Want some sizzle? 

So far although the websites could look good, they're clean, efficient and nice looking and depending on your view they might lack uber-sexyness let alone sizzle.. For that you'll probably need some custom javascript and CSS3.  Oracle ADF supports a client side javascript API which allows you to add  your own javascript and thus you can create and invoke client side javascript to hide and show canvases etc.. A good example of this being used on the web, although not built with Oracle ADF, is the O2 website, when you move your mouse over the lower panels (Phones & Tariffs,Priority Moments etc) it hide/shows a panel below. This can easily be done in Oracle ADF with some simple client side javascript which hide/shows Oracle ADF Panels, I'll create an example in a later post showing how to do this.

So far so good, but what about uber-sizzle?

Well anythings possible with a good dose of javascript, CSS and a good graphics designer, however for the most of us doing this javascript uber-sizzle is a little beyond us (well it is me! :-), this is where 3rd party libraries come to the rescue.  According to theregister , the "current" defacto standard javascript library is the JQuery library, it provides a number of components (some of which compete with ADF components),makes javascript easier to use,  but more importantly it includes a number of "animations" which can be added to a website, these animations by themselves can make a website look ooooerrrr... and thats precisely what a number of web designers do..

A number of my ADF clients have used JQuery in their websites and one of the most common usage of the animate method is to have images slide across or panels slide in-out of view. Examples of this components include this blog and Nivo.

Oracle ADF websites which use JQuery/JavaScript

http://www.ferrovial.es http://www.baesystems.com
BAE
http://www.ladwp.com

All of these use JQuery in someway, most of them for animations, such as a ticker at the top in Ferrovial, Image slider in BAESystems.com and LADWP. 

Also checkout a blog entry by a friend of mine, Duncan Mills, here, he shows whats possible with CSS3 Animations and ADF. I particularly like the ability to have the Next/Previous button hidden in a panel on the left hand side, something which is very popular in the Mac/Ubuntu Desktops at the moment...


So there you have it, you can use a Rapid Development Framework like Oracle ADF-Faces, use the native components and then add libraries like JQuery and give it some sizzle.

In a later blog posting I'll explain how one integrates JQuery with ADF to add some sizzle. 

However, before I leave you here are some important notes :

  • I/Oracle does not endorse the usage of 3rd Party libaries like JQuery, they should work but some might not play nice
  • If possible always try to use the native components in Oracle ADF first, then apply skinning/CSS and finally use a framework like JQuery if needed.
  • Remember beauty is in the eye of the beholder, get people to review the work :-)
  • Read the thread on the ADF Enterprise Development group it has some really good comments
Enjoy

Wednesday Aug 08, 2012

Getting rid of the JSESSIONID from the URL for ADF/Webcenter

Today's short snippet 

Yesterday I had a call from a partner of mine who is implementing a system and they asked the curious question.. 

"Can we get rid of the JSESSIONID parameter from the URL line of a Webcenter application"..

My first thoughts were why?, its part of the session management of any J2EE application but it turns out that the security conscious client wants to make session high-jacking of a Webcenter application much harder and doesnt like the jsessionid on the url line..

Make sense,

Thankfully this is quite easy, Weblogic server has a parameter in the weblogic.xml file  which allows you the ability to control how sessions are managed and one of these is to force that the JSESSIONID token is force-ably implemented via cookies and not URL parameters. This obviously has the disadvantage that if the browser doesnt have cookies enabled then your application wont work...

Cookies however can also be intercepted/viewed too, so I also recommended that they rename the session cookie so that automated tools looking for JSESSIONID wont find it..

The weblogic.xml now looks like

  <session-descriptor>
    <cookie-name>MYAPPSESSID</cookie-name>
    <url-rewriting-enabled>false</url-rewriting-enabled>
  </session-descriptor> 

You can also set this from JDeveloper by editing your projects weblogic.xml file and using the "overview" mode of the wizard.

 

Obviously the best next thing is to ensure all communication is also SSL encrypted.

Tuesday Nov 29, 2011

ADF and JSF2.0

Recently been hunting down some information for an italian partner on ADF & JSF2.0, well whadayaknow..

My good buddies Frank Nimphus and Duncan Mills have written such a document, check it out here

About

Architect & Technology Evangelist - If its middleware,PaaS/SaaS integration then I'm interested

The views expressed on this blog are my own and do not necessarily reflect the views of Oracle.

Search

Archives
« February 2015
SunMonTueWedThuFriSat
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
20
21
22
23
24
25
26
27
28
       
       
Today