Today there was a little downtime on apex.oracle.com because it got upgraded to a pre-production release of Oracle Application Express 3.1.
Carl Backstrom already announced a code freeze, so the upgrade is the next step before it will be give to us all. The public 3.1 release is going to be very soon now ;-)
If you didn't subscribe to the evaluation version or read anything about it, here's a list of the new features in APEX 3.1 The list is rough, there're some more changes and undocumented ones.
If you want to see some new features in action, there's a nice showcase application.
The well known Sample Application got also an update and uses some of the new features. For ex. the Interactive reports and the Blob support on page 3 and 6 I find really nice.
I tried my AE Survey application also in APEX 3.1 and it seems to work now too.
Thanks APEX-team, great job!
Wednesday, February 27, 2008
APEX 3.1 online
Posted by
Dimitri Gielis
at
23:31
3
comments
Labels: apex 3.1
Monday, February 25, 2008
Oracle Fusion or Adobe Flex or ... ?
I wanted to blog about this already a long time. Especially when I was at Oracle Open World last year where they showed the new Oracle Fusion Applications, more particular, the Sales Forecasting app (see my blog post here).
I'm confused, I've always believed the future will have four big development areas: .NET, Java, Flex and APEX (not ordered in a particular way).
Oracle can work with all four of them, some better than others. Oracle is writing their new Application Suites in "Oracle Fusion", I thought that was Java / ADF, but at OOW 2007 the front-end of the Sales Forecasting application looked like Adobe Flex.
As you all know, I'm in big favor for Oracle Application Express (APEX) and when I'm talking or giving presentation about it, I often mention Oracle Metalink. "The support system of Oracle is written entirely in APEX", I often say.
When I was in Metalink today I saw there's also a part that's not APEX! The Software Configuration Manager brings you to another url and application. Although the page is a jsp page, I believe the front-end is written in Flex.
In the beginning of 2007 I've been looking into Adobe Flex too. I got it working with Oracle (see blog post) and even tested how to integrate it with APEX a long time ago here.
I must admit the front-end of Adobe Flex looks very good and I had some discussions about it in the Apex Forum and with Carl Backstrom. He convinced me you can do the same with AJAX, css and javascript, which is true if you look at the Interactive Reports of APEX 3.1.
Nevertheless I'm confused about the strategy of Oracle, particular about their Fusion Applications. Will the front-end be completely Flex? Or will it be partially ADF JSF? Or will they do a part in APEX? ;-) And what will be the future way to go in development?
As I already said at "APEX vs. ADF" talk last year: the Java arena is changing so quickly, it looks like they never "finish" something and that there'll be always something new and more sexy...
I believe we'll have a mixture of all development environments. People use whatever they want, we just need to be sure it integrates nicely. I"ll keep focusing on APEX as I really believe in the product and I enjoy working with it.
But what do you think is the future? What direction is Oracle going to follow for their applications? Do you have some comments?
Posted by
Dimitri Gielis
at
20:24
4
comments
Friday, February 22, 2008
SQL Developer 1.5 on Mac
Some new features I think are very nice:- The Schema Diff and Copy Wizard. I did a diff from my tables and it worked very nicely. It showed me the create statements when the table didn't exist or the alter table statement when it did exist.
- There should be a Flashback tab for tables, but I didn't find that yet.
- The extended search functionality which should allow me to find things quicker
Posted by
Dimitri Gielis
at
00:08
1 comments
Labels: sql developer
Tuesday, February 19, 2008
ODTUG's first podcast
I got a mail of Mike Riley, Vice President of ODTUG, who mentioned their first podcast.
I listened with great amusement. It was a nice newsflash, which started with some sound I didn't expect, which came back between the talks. Nicely done Marc.
Kathleen was "the guide" and talked with an unbelievable enthusiasm. She talked about ODTUG and presented the other speakers. I think I heard John Jeunette, President of ODTUG, who presented the board. Then Dale Lowery talked about the coming Kaleidoscope 2008 Oracle conference. I couldn't believe my ears when I heard my name! I feel a bit embarrassed to be named next to people like Tom Kyte, Steven Feuerstein, Paul Dorsey and some other big names in Oracle space. For APEX they also mentioned Scott Spendoline, Patrick Wolf and John Scott.
APEX got a lot of attention during the podcast, which I think is great.
Mike Riley also talked about the SIGs (one of them is APEX). I believe it's a nice first podcost... looking forward to the next one.
Posted by
Dimitri Gielis
at
19:35
0
comments
Labels: odtug
The return...
The last weeks I didn't have that much time to blog.
My professional (and personal) life is changing so quickly! Amazing times, really! There're so many opportunities, so many choices...
This year I made the choice to start focusing on the Oracle database and more specific on Oracle Application Express alone. Of course I'll read other blogs and try to stay up-to-date with the rest of "Oracle world", but it wouldn't be in that dept anymore. It's all changing so quickly! And Oracle buying another company every month doesn't help to keep track of "all" Oracle technology ;-)
With this choice I follow my heart as most people reading this blog will know.
We (Apex Evangelists) are looking into some possibilities to promote APEX even more. The next weeks we'll decide which route we'll follow. Although Apex Evangelists is operating in the whole world and we've clients in almost every part of the world, we'll also try to focus on a specific area for a certain time. But more on that later...
At the moment I've over 20 drafts in my blog folder, so time to clean that up! Also the deadlines for the white papers are coming closer. I learned my lesson last year, but time is going at "warp-speed" these days ;-)
Posted by
Dimitri Gielis
at
16:43
0
comments
Tuesday, February 05, 2008
Where are all these APEX blogs?
I'm happy to announce my new project: www.apexblogs.info
The goal of the new site is to find all APEX related blog posts at one place. But that's not all, you can also rate the articles and if you don't have a blog yourself, but want to share your findings, idea's etc. the site will allow you to do that. You can write your own blog posts.
Next to releasing this site for the APEX community, I also wanted to show a more advanced site created in Oracle Application Express. It reads RSS-feeds and provide one, it uses jquery, javascript, css, materialized views and provides an easy to search functionality (based on interMedia).
You can also add your feedback or start discussions and view statistics of the APEX blogger community.
It's a first beta release, so I'm open to all your comments, feedback and ways to make it even better.
Hope you enjoy the site!
Posted by
Dimitri Gielis
at
12:27
2
comments
Mama! Help me! (dev)
What do you do when you're looking at one of your "bugs" (for ex. in your APEX application) and you just don't see it?
Some people do:
- look at it again, keep looking at it, still looking at it, ...
- get mad about their pc
- start crying in front of their pc
- kill themself without their pc
- go for a walk and come back with a "fresh" head and have another look
- use Firefox and Firebug to track things down
- write down what's happening and is going wrong, you would be surprised to see you didn't see the "obvious"
- start talking about it to yourself or to another
- ask somebody else to have a quick glance at your code
- post a thread in the forum
- debug, trace, ...
We don't have that much time, as we all have tight deadlines, but some of the above points will help you to find the solution faster. And learn from it, put it into best practices so you don't make that mistake again.
YOU CAN DO IT! IT'S JUST A MATTER OF TIME! AND IT'S FUN!
Posted by
Dimitri Gielis
at
07:45
5
comments
Labels: development
Sunday, February 03, 2008
Checkbox in APEX
You want to create a checkbox in Oracle Application Express and get it's value in javascript?
An example of a checkbox:
In my application I want to do an interactive search whenever the checkbox is checked.
So, how do you know if the checkbox is checked? Let's try with an example.
- Create a new "Check Box" item and give it a name, for ex. P26_CHECKBOX.
- In the List Of Values, put STATIC2: ;Y (this checkbox doesn't have a label, but will return the Y value whenever the checkbox is checked)
- If you look at the Session State (in the developer toolbar) of the item after a submit of the page, you see the checkbox item has a value of Y when it's checked...
- If you want to get the value of an item in javascript within APEX, you normally do $x('ITEM_NAME').value
- So let's try $x('P26_CHECKBOX').value -> it returns: undefined
- If you know a bit of javascript/html, you maybe think you need to use $x('P26_CHECKBOX').checked -> it returns: undefined
- The above doesn't work, because APEX is putting a number after the item. In my example: $x('P26_CHECKBOX_0')
- If you try with $x('P26_CHECKBOX_0').value, it return Y or with $x('P26_CHECKBOX_0').checked, it returns true... and that's what we'd like to have
- See it in action here
Posted by
Dimitri Gielis
at
19:09
2
comments
Labels: apex, checkbox, javascript, oracle
Tuesday, January 22, 2008
When not to use APEX?
When I did some talks last year, I got the question "When would you NOT use Oracle Application Express (APEX)?".
I created a draft message in my blog posts as I found it interesting getting this question. I never posted it, but now I decided to post something about it.
During the last days the question popped up again, more than once, so I decided to ask for new ideas ;-)
I find it a difficult question for a person who's passionate about a technology!
So what do I normally answer?
As some smart people often say, ask questions! Why would you like to do this? What's it what you would like to achieve? etc. So during the first minutes I ask questions ;-)
Most of the time they insist to give more answers. It can't be true that you can use APEX for everything! To be honest, I don't think APEX is a good fit in every situation, but to name these situations that's something else.
If I would say... I wouldn't use APEX:
- when your team exists out of JAVA and/or .NET developers
- when the requirements are a rich client application
- when you don't have a data centric approach
- when you need to program for a specific device (calculator, hospital equipment etc.)
- when you've high trough put of data (like the typical old Cobol programs)
- when you hate the Oracle database (because you want to restart another database every week and love the blue screens - job protection)
- when you don't know nothing about PL/SQL, html, css and javascript and don't want to learn it (learning .Net is so much easier)
- when you're a freelancer and want a long term project to finish a job (doing it in APEX you'll get only half the money as you would spent only half the time to have the same result)
- when you want different plugins to install just to get your application running (only a browser is too easy!)
- when you want to change technology very often (java, bc4j, swing, uix, jsf, adf, ...)
- when your company has too much money to spent on an application and the infrastructure (although Apex Evangelists can offer you a FREE service to help you spend the money)
(would the above ALWAYS be correct? Of course not...)
Posted by
Dimitri Gielis
at
23:50
15
comments
Labels: oracle apex
Monday, January 21, 2008
APEX by Example - Default value of Shuttle
I got some questions about setting the default value of a shuttle. The example can be seen here.
Basically a Shuttle are two lists: on the left you'll see all values, which you can select by moving it to the right. If you already want some values on the right when you open the page, how do you do that?
The APEX components in my example: a Region, a Shuttle item and a Computation.
Creating the region and the Shuttle isn't that hard. The query of the Shuttle is:
SELECT ename, empno FROM emp ORDER by 1The computation is of type "PL/SQL Function Body". The actual code looks like this:
What does it do?It fills an array "emp_list" with all the values you want to have already selected (on the left in the shuttle). In my case the first 3 records.
The most important part is the last line APEX_UTL.TABLE_TO_STRING. Which transforms the array in a way so the shuttle can understand it. A string, with in between the values a ':'.
That's just one way of doing it. In APEX you can follow different ways to accomplish the same result. Hope it helps some of you.
Posted by
Dimitri Gielis
at
22:36
15
comments
Labels: oracle apex by example, shuttle
Saturday, January 19, 2008
My 2008 Schedule
Just as last year I'll be speaking on some major Oracle events.
The biggest reason for me to go to these events is meeting others. I really like talking to and having drinks with other passionate users of Oracle technology. It's always interesting to hear about their experience, know the person behind the blog I'm reading or just to come into contact with that one person reading this blog ;-)
If you're at one of the following events and want to meet, drop me a mail or feel free to put a comment on this post:
- March 18-20: European Apex Training Days - London (UK)
- April 13-17: IOUG Collaborate 2008 - Denver, Colorado (US)
- June 15-19: ODTUG Kaleidoscope 2008 - New Orleans (US)
- September 21-25: Oracle OpenWorld 2008 - San Francisco (US)
Hope to see you at one of the events,
PS: I always like to put a picture in my blog post, but I didn't want to add an obvious one this time. Finally I decided to go for Smeagal (Lord of the Rings), somebody an idea why?
Posted by
Dimitri Gielis
at
18:31
3
comments
Labels: schedule 2008
Thursday, January 17, 2008
APEX vs ADF (BEA?): Round 2
After the first round in Europe, there will be a second round in the States!
On the last day of ODTUG Kaleidoscope 2008 we'll have a new "fight"... This time my opponent is not Lucas Jellema, but Peter Ebell. Peter is also a big name in the Java world. He was one of the key persons in the JHeadstart team and he has a broad knowledge about Java, BPEL and SOA.
All details still need to be defined, but the approach will be not that different than what we did in Nieuwegein. Although I heard with Peter it can become bloody! ;-)
As a side note, did you see Oracle acquired BEA?
I'm happy I'm concentrating on the Oracle database and APEX is living in that. It doesn't change that much. The (Oracle) Java world is moving so quickly! I wonder if Peter will talk about deploying ADF to BEA Weblogic. But I suppose these days are exciting moments for the Oracle Java people.
Posted by
Dimitri Gielis
at
15:25
1 comments
Wednesday, January 16, 2008
My Top 15 Oracle DB 11g NF for APEX Developers: 14
This post is part of the series of blog posts about "My Top 15 Oracle Database 11g New Features for APEX Developers". Already published articles: 15-Virtual Columns.
Example
BEGIN
DBMS_ADVISOR.quick_tune(
advisor_name => DBMS_ADVISOR.SQLACCESS_ADVISOR,
task_name => 'emp_dept_quick_tune',
attr1 => 'SELECT e.ename, d.dname, e.sal FROM emp e, dept d WHERE e.deptno = d.deptno AND e.sal >= 2300 ORDER BY e.sal DESC');
END;
/
As I already configured a Quick Tune for my SELECT statement through dbms_advisor, it's listed in the screen of Enterprise Manager.
Especially the above screen makes it worth to use Enterprise Manager to tune your schema. In my example I only used the SQL Access Advisor to tune one statement (I could also have done it with the SQL Tuning Advisor), but tuning your entire schema isn't that different. You would specify the workload (even an hypothetical workload), the advisor would look at all that information and would give you of course more information as I had with one statement, but the principle is the same.
Posted by
Dimitri Gielis
at
23:59
3
comments
Labels: developer, oracle 11g
Monday, January 14, 2008
My Top 15 Oracle DB 11g NF for APEX Developers: 15
I thought it a good idea to write a series of blog posts about some new features of the Oracle 11g database I find useful in an APEX project.
I decided to do a "Top 15". It's very difficult to order them, as for one person or project a feature would be number 1, but for another, it would only be found on place 10. So don't see it as I like the feature I put on place 15 less than the one on place 10. I like all new features ;-)
My research... this top 15 came together after reading:
- The Oracle 11g Database New Features Guide
- Oracle Database 11g: The Top New Features for DBAs and Developers by Arup Nanda
- Tim Hall's articles on Oracle Database 11g
- and Tom Kyte's Top 11 things about 11g.
column [datatype] [GENERATED ALWAYS] AS (column_expression) [VIRTUAL] [ inline_constraint [inline_constraint]... ]SQL> CREATE TABLE EMP_WITH_VC (
EMPNO NUMBER(4,0) NOT NULL ENABLE,
ENAME VARCHAR2(10 BYTE),JOB VARCHAR2(9 BYTE),
MGR NUMBER(4,0),
HIREDATE DATE,
SAL NUMBER(7,2),
COMM NUMBER(7,2),
DEPTNO NUMBER(2,0),
NEW_SAL AS (ROUND(sal*1.10,2)),
TOTAL_SAL_COMM NUMBER GENERATED ALWAYS AS (ROUND(sal*1.10+NVL(comm,0),2)) VIRTUAL,
HIRE_YEAR AS (TO_CHAR(hiredate, 'YYYY')),
PRIMARY KEY (EMPNO)
);
SQL> INSERT INTO EMP_WITH_VC (empno, ename, job, mgr, hiredate, sal, comm, deptno)
SELECT empno, ename, job, mgr, hiredate, sal, comm, deptno FROM EMP; SQL> SELECT * FROM EMP_WITH_VC


- An index can be created on a Virtual Column (this would be a function based index)
- You can not do DML (insert, update, delete) on a Virtual Column, but you can use it in a WHERE clause
- Virtual Columns are only available on relational heap tables
- Virtual Column expression work only on the same table, so not cross table and they can't contain other Virtual Columns
- You can use Vitual Columns in Constraints (PK, FK, Check)
- You can partition on Virtual Columns !
Posted by
Dimitri Gielis
at
23:59
12
comments
Labels: developer, oracle 11g
Thursday, January 10, 2008
Scary contacts...
The last couple of hours I got some mails, asking for help. But when I replied I got an "Undelivered Mail Returned to Sender". I'm not sure if they made a mistake or did it deliberate, that's why I blog about it as I can't reach "you".
The strange thing, it was even not from one person and even more bizar they even didn't ask for free help but wanted to pay, which I find great, of course ;-)
But without wanting to offend anybody, I guess it was an early first April joke?
Nevertheless these are some of the messages:
I wish project work for you, urgent dimitri needs fast will pay on project. call now.Or a message like this:
I have a 1,000,000 Euro project and would be interested in talking to you about it.So if you're serious please provide the right email address so I can contact you properly.
If it was a joke, thanks, nice for one time ;-)
Posted by
Dimitri Gielis
at
18:04
2
comments
Here we go again...
I remember the early days where we got some chain letters. You got luck when you would sent that letter to 10 others. I guess the guys started this, did a lot of these things before?
- When I was younger I had a crush on Pamela Anderson. In 1997 I even had a site dedicated to the blonde model! Although the early days of internet, I got more visits on that site than on any other site I'm hosting now ;-)
- I was a fan of Manchester United, especially when Eric Cantona and David Beckham were still there. I even went to the stadium and walked on the field and saw the dressing rooms.
As a little kid (around 1983) I played Super Bunny on my fathers Apple II. At that time you had only floppies, but we had already a paddle (sort of joystick)!- When I was 10 years old, I bought my first PC (an IBM XT), from that moment all my money went into buying pc stuff.
- I had only one "real" girl friend and she became my wife.
- Till 21 I never touched alcohol (beer). I didn't like beer, I was more into fristi! Things change...
- As a little kid I wanted to become a "Bank Director".
- When I had to fill in the "poezie album" of somebody, most of them filled in with "Favorite food"; French fries, but I was the only one who filled in; "Chicory with ham and cheese covered with breadcrumbs".
Posted by
Dimitri Gielis
at
08:10
3
comments
Labels: tag
Tuesday, January 08, 2008
APEX 3.1 hosted environment updated
I just logged in into the online Oracle Application Express 3.1 hosted evaluation version.
I was surprised it got upgraded. The message says it got updated on January 7th 2008, so only a couple of minutes ago (as in Belgium we're a bit ahead of time).
The icons look more slick I think. The current version is 3.1.0.00.19.
I'm still figuring out what has changed. I guess the APEX-team will tell us in a moment.
What I think changed, when I go to printing I see some more options:
It's always nice to see updates coming out. Thanks APEX Development Team and keep up the good work.
Update - Just got this mail:
First, thank you for all your comments about our public evaluation instance of Application Express 3.1. We wanted to let you know that we just completed an upgrade of the instance to bring it up to date with our development. Many of the issues with Interactive Reports should be fixed now and you will also be able to see and use other new features such as the new Workspace Themes. If you find any new issues, please report them using the feedback application. The link is also available from within the hosted Application Express 3.1 evaluation instance Home page.
Thank You!
The Application Express Team
Posted by
Dimitri Gielis
at
02:12
0
comments
Labels: apex 3.1
and the best speaker of the UKOUG 2007 is...
Some people published the feedback they received from their presentation at the UKOUG.
I read first Marco Gralike's post how he felt with his scores. It's always interesting to see how the audience react to your presentation. You learn a lot from the evaluations afterwards. Worst would be you thought you did a great job and afterwards you find out people didn't like it. You can always learn something to make the presentation better!
But when I read John Scott's post about his evaluation I was really impressed with his scores! Unbelievable high scores! I wonder what scores Tom Kyte and Jonathan Lewis get? They must be used to these scores I guess... although I think people start expecting more and more from you when you're at that level. For ex. I saw some presentations of Rich Niemec and I believe he's a confident speaker. But at Collaborate last year he got some though questions from the audience and people expected he would know all that (it was a presentation about the new features of the 11g database). He didn't know some of the questions and some of the public started to become "angry". I don't know anybody who knows everything, but I know a lot of people knowing a lot ;-)
To come back to John's presentation, that was indeed a really good one. Especially the debugging of APEX applications through SQL Developer I found impressive. Immediately after the session a lot of people congratulated him, then you know you did a great job. Congratulations John! I guess you must be close to the "best speaker" award!
If you want to see him presenting soon... London, March, at the European APEX Training Days.
I also did a presentation at UKOUG about the integration of BI Publisher with Oracle Application Express and getting some advanced reports out of it. You find my scores below... Not as high as John, but I'm happy with them ;-)
Posted by
Dimitri Gielis
at
01:22
0
comments
Labels: ukoug
Thursday, January 03, 2008
Start of 2008 and Wii
I hope you all had a nice Old on New.
This year I held it quite quiet. I played some (board-)games with family and had some nice food. I like playing games like Pentagon, The Settlers of Catan, Highscore, Ave Caesar, Poker etc.
Santa Claus also dropped a Wii under our Christmas tree. So games like Wii Sports, Mario Galaxy, Resident Evil, Table Tennis, Mario Kart, Mortal Kombat etc. have no secrets for me anymore ;-)
I especially like the Wii when you can play against others. Do some boxing or playing a game of baseball against your family is so much fun!
If you made a resolution like doing more exercises or a bit more sports, the Wii can be very helpful! You really sweat while playing these Wii games ;-)
As you read this blog, there's a great chance that you're behind your pc for more than 10 hours a day... maybe the above can help you? It did help me to "relax" during my holidays.
Happy New Year!
Posted by
Dimitri Gielis
at
15:11
4
comments
Thursday, December 27, 2007
Flashback 2007... Flashforward 2008...
The last year went unbelievable fast. I've the impression, the older I get, the faster the world goes! Just as last year I took a moment to look back at some of my highlights.
- January: I started helping Ordina to build up an Oracle team. I'm pleased with the result; 15 new people came on board, we worked for some new customers and did some nice projects.
- February: Oracle Application Express 3.0 was released. I believe this was a big step in the current success of APEX.
- March 14: the Apex Evangelists website went live. The idea started in October 2006 and after a couple of months of brainstorming and sorting things out, John Scott and I announced a company focusing only on Oracle Application Express.
- April 2: I had a first discussion about APEX "against/next to" JDeveloper/ADF.
- April 19: I gave my first APEX presentation in the States during Collaborate '07 in Las Vegas. A few days before I also sat in the APEX panel and organized the APEX Meet-Up.
- May 17: Announcement of the first European APEX Training Days
- June: my second ODTUG, in Daytona Beach. During that event I did an APEX presentation, the APEX Meetup and a Podcast with Lewis Cunningham. I also met the Oracle APEX Development team again and I met Patrick Wolf for the first time in real-life.
- July 11: Launch of Oracle Database 11g
- August 7: first Apex Evangelists onsite Oracle Application Express Training together with John Scott.
- September was the month of the most exciting highlights of this year
- September 4th-6th: First European Apex Training Days
- September 19th morning: Announcement of the second European Apex Training Days
- September 19th evening: my first baby... a son, Matthias, got born
- September 30th: first time "away" with Matthias for a dinner with Steven Feuerstein.
- October: prepare for November and enjoy Matthias
- November: my second Oracle Open World. I also did an APEX presentation at OOW and organized the Apex Meetup and Apex Roundtable.
- December 5: my first UKOUG where I flew in, did an APEX presentation and Roundtable on the same day and had some great food with some nice friends.
- December 8: my first Mac, a MacBook Pro
- December 17: presenting together with Lucas Jellema in the Netherlands: "APEX vs ADF"
- December 27: this post, as I find it unbelievable what I did last year
In my private life, I got a nice little baby, which is an awesome experience. I didn't find an house, but we bought some land to build one.
Finally to end 2007, I did around 135 blog posts... The stats of this blog:

Posted by
Dimitri Gielis
at
23:36
0
comments
Labels: flashback

