Java EE 7 Is About To Coming?

Java EE 7 AKA The Cloud some feature: multi-tenancy, application versioning, support for NRDBMS stores but also about modularity, trying to leverage what will be done at the JavaSE level. Of all the APIs up for a new version, JAX-RS and JPA seem to be the closest to being filed as JSRs.

It's been one year since Java EE 6 was released (December 2009) and it's now time to start talking about Java EE 7. In fact at JavaOne San Francisco in September, at Devoxx in November and at JavaOne Sao Paulo and Beijing in December, the technical keynotes have gradually introduced what Oracle would like to see addressed in this release.

Credit: Oracle newsletter


Jokes :)

My Footnotes About Adobe Flex (Indonesian language)

*. Adobe Flex adalah RIA yang mirip dengan Ajax, JavaFX, Silverlight or XUL

*. Flex platform:

  • MXML utk design form
  • ActionScript 3.0 utk scripting
  • FlashPlayer 10.0 utk plugin webbrowser utk compile bytecode (.swf)
  • Server Side integration via Flex Data Services, GraniteDS or BlazeDS, giving the applications access to J2EE applications.
  • Also the flex application could be connected to other server technologies such as PHP, Coldfusion and ASP.NET.
  • Flex Builder, yaitu IDE berbasis Eclipse

*. Flex berintegrasi dengan server menggunakan salah satu dari:
  • Webservices
  • ColdFusion Flash Remoting Service.
  • Action Message Format (herein AMF) used in BlazeDS, GraniteDS and LiveCycle Data Services.
  • This is the way in which NCSIS applications will be developed.

*. Benefit Flex:
  • Rapid prototype
  • Multi Browser compatible
  • Aplikasi Flex adalah statefulness yang berarti tidak memerlukan request setiap saat ke server
  • Jalan diberbagai webserver dan bisa konek ke webservice
  • Menggunakan AMF lebih cepat webservice

*. Flex berkomunikasi melalui RPC dan protokol HttpServices, WebServices, RemoteObject

*. Proses membuat aplikasi Flex:
  • Buat form MXML
  • Buat ActionScript sesuai fungsinya
  • Compile the code, form MXML dan ActionScript akan menjadi file .swf yang bisa dijalankan di FlashPlayer
  • Deploy .swf file dengan mengembbed kedalam HTML

*. MXML adalah GUI

*. ActionScript adalah logic

*. ActionScript adalah asynchronous yang berarti method dijalankan oleh server tetapi tidak mengembalikan nilai

*. Cara link MXML dan ActionScript:
  • Embed ActionScript code didalam
  • Import eksternal file
  • Import ActionScript classes
  • Import ActionScript compiled components

*. Contoh cara manggil ActionScript ke dalam MXML:

public function sayHello():String
var response:String = "Say Hello World";
return response;

*. Dalam MXML Flex juga dikenal istilah DataBindings seperti PageDefinitionnya Oracle ADF:


*. Validasi di Flex bisa melalui:
  • ActionScript
  • DataBindings
  • Events

*. Cairngorm merupakan framework MVC yang digunakan sebagai event model utk memanggil dan menerima panggilan dari server

*. Cairngorm akan sangat membantu terutama apabila bekerja dengan lebih dari satu developer dan project dengan skala besar

*. Cairngorm komponen:

  • ValueObject utk pojo di level view (isi VO ini sama persis dengan pojo di level server)
  • Event akan mentrigger business logic yang di Command utk segera di proses
  • FrontController utk mapping antara Event dan Command
  • Command yaitu utk proses business logic
  • BusinessDelegate
  • ServiceLocator yaitu utk menentukan di view akan memanggil service apa yang berkaitan dengan form tsb
  • ModelLocator yaitu global data (di JDev seperti adapter)
*. [Bindable]
public class ModelLocator implements IModelLocator
Bindable disini artinya semua variabel yang di define didalam class tsb bisa dijadikan data binding

*. Urutan flow Cairngorm: View -> Event -> FrontController -> Command -> Delegate -> ServiceLocator -> Model -> View
Contoh penjelasannya dalam form login:

  • Form login mempunyai button login, button login tsb akan mentrigger event.
  • FrontController akan mencari Command apa yang sesuai utk Event tsb.
  • Command kemudian akan mendelegasikan tugas kepada ServiceLocator utk meng-execute business logic di sisi Server.
  • Hasil execute tersebut (entah select/insert/update/delete) akan mengembalikan Model yang kemudian di tampung lagi ke View

Welcome to Adobe Flex and goodbye Oracle

After 2 years working on Oracle stack technology at Bizol Cipta Solusi (ADF, Toplink, JDev, OC4J, Oracle Database), finally i'm leaving.

I have been waiting opportunity to move almost a year.

Now i'm move on to Plasmedia. Hired for 8 month until August 2011.

They using:
Adobe Flex as client technology
Java as server technology
Hibernate as ORM
Spring as dependency injection
BlazeDS as connector between client and server
JBoss as webserver
SVN as source code management
Alfresco as portal document management
Jira as bug tracker
MyEclipse with FlashBuilder plugin as IDE
Oracle as database

Some of them are new for me such as Adobe Flex and BlazeDS, but i will keep learning :)

Dufan Atlantis Samudra Promo Akhir Tahun 2009

Ini dia yang ditunggu tunggu Dufan, Atlantis dan Gelanggang Samudra promo akhir tahun 2009.

Promo diskon akhit tahun Atlantis & Samudra mulai dari tgl. 18 Nopember s/d 11 Desember 2009 :

1. Beli 1 tiket Atlantis Water Adventures dapat 1 tiket Gelanggang Samudra (Berlaku Senin-Jumat).
2. Beli 3 tiket Atlantis Water Adventures dapat 1 tiket Gelanggang Samudra (Berlaku Sabtu, Minggu & Libur).
3. Beli 3 tiket Gelanggang Samudra dapat 1 tiket Atlantis Water Adventures (Berlaku Sabtu, Minggu & Libur).

Promo akhir tahun Dufan berlaku 11 November s/d 11 Desember 2009 :

Sabtu, Minggu & Libur
Rp. 120.000,- menjadi Rp. 60.000,-
Senin – Jumat
Rp. 90.000,- menjadi Rp. 45.000,-

Caranya: klik gambar flyer diatas lalu print/cetak, hasil print/cetak boleh di fotocopy, serahkan flyer (hasil print/fotocopy) di loket Dufan, satu orang satu flyer atau fotocopy-nya.

Oracle Magazine November/December 2009

Oracle Magazine November/December 2009 ready for download.

This issue includes the following feature articles:

Portraits of Excellence
Each year the editors of Oracle Magazine present Editors' Choice Awards to people who exemplify leadership, vision, and dedication in working with and managing Oracle technology. This year, we are pleased to present the winners of our eighth annual Editors’ Choice Awards, and we are honored to feature them in our pages.

Announcing Oracle Exadata V2
Oracle unveils Oracle Exadata V2, the first database machine for online transaction processing.

Better for Business
Andy Mendelsohn, senior vice president of Database Server Technologies at Oracle, talks about how Oracle Database 11g Release 2 answers customer challenges and reduces costs.

Oracle Database 11g Release 2: Consolidate. Compress. Control.
While managing exponentially increasing data volumes and meeting demands for high availability, DBAs are also tasked with delivering ever greater service with ever greater efficiency. Find out how Oracle Database 11g Release 2 can help DBAs address these challenges and help companies control and manage their information—while lowering costs.

Online version click here

Offline version click here


ADF Bugs

I'm not sure if this ADF or JSF or Java VM bugs, but i'm having this bugs while using JDeveloper 10g and ADF Toplink technology. So i assume this is ADF bugs.

How to produce this bugs ?
1. Open JDeveloper IDE
2. Create new JSF page
3. Add a lot of component ex 1000 command button just like this

ADF Bugs

4. Run

The console will throw error like this :
# An unexpected error has been detected by HotSpot Virtual Machine:
#  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x6d741046, pid=3156, tid=1616
# Java VM: Java HotSpot(TM) Client VM (1.5.0_06-b05 mixed mode)
# Problematic frame:
# V  [jvm.dll+0x61046]
# An error report file with more information is saved as hs_err_pid3156.log
# If you would like to submit a bug report, please visit:
Process exited with exit code 1.

Earthquake Alert

So many earthquake happened in Indonesia.

How can we prevent it ? Of course we can't its a force majore, but wait there is add-on for Firefox named eQuake Alert.

eQuake Alert is a handy add-on, which alerts you with the basic information (date, location, and magnitude) of each earthquake. By default your browser will shake proportional to the earthquake magnitude. You can configure the alert methods and even you can limit the alerts by the earth quake magnitude. The recent quakes menu provides a link to the detailed information of quake @ the USGS (US Geological Survey) website.

Get this free eQuake Alert add-on now

ESET NOD32 Offline Update v4460

Virus signature 4460. Download here

ESET NOD32 Username and Password

ESET Nod32 Username and Password

Username: EAV-20687548
Password: 5uteun5s7s
Expiry Date: 09.12.2009

Username: EAV-17437089
Password: n5e427es7a
Expiry Date: 21.12.2009

Username: EAV-20532321
Password: xr2njdf4sc
Expiry Date: 01.03.2010

Username: EAV-20541617
Password: 6srdsue8d8
Expiry Date: 01.03.2010

Username: EAV-20544234
Password: pxtdf8m4th
Expiry Date: 01.03.2010

Username: EAV-21097603
Password: bc7j4n2rj5
Expiry Date: 12.03.2010

Username: EAV-21247677
Password: hrvfkxk3sd
Expiry Date: 14.03.2010

Username: EAV-21250649
Password: jshnxdhfvn
Expiry Date: 14.03.2010

Username: EAV-21598056
Password: mcbrnch6dv
Expiry Date: 21.03.2010

Dufan & Ancol Ramadhan Promo 2009

Kabar gembira buat penggemar wisata kawasan Ancol seperti Dufan, Atlantis dan Gelanggang Samudra. Kawasan Ancol yang terletak di wilayah Jakarta Utara, Indonesia tsb mengadakan promo bulan Ramadhan yaitu diskon 50%.

ADF How To Clear or Reset Search Form in Jdev10g

Google Blogger does not allow me to upload attachment so wait for 4 images loaded.

Credits :

Olaf Heimburger
Frank Nimphius
OTN Forum

The problem :
Let say my application based on HR schema. I've search form for employees and departments.
For employee we can search by first name, last name, email and so on.
For departments we can search by department name and manager.

So i enter employee search form and search employee first name Steven. I got 2 records, thats fine.
I leave to another form and now the riddiculous thing are when you come back to employee search form again,
you'll see your previous first name parameter Steven and your previous result which is 2 records.

Thats mean to me Oracle does not clear / reset input value in the form.

Toplink Jdev10g How To Delete Child Record

The problem :
Recently i've found problem when trying to delete the record with child record programmaticly using Toplink in Jdev10g.

For example imagine i'm about to delete IT Department in HR schema.

Here is my piece of code in SessionBean to do that :


And my embedded OC4J thrown me
Exception TOPLINK-4002 (Oracle TopLink - 10g Release 3 ( (Build 061214)): oracle.toplink.exceptions.DatabaseException
Internal Exception: java.sql.BatchUpdateException: error occurred during batching: ORA-02292: integrity constraint (FK_CHILD_PARENT) violated - child record found

Offline Flashing/Upgrade Nokia Firmware Tutorial

Credits :

1. me.dhillon helper member of dotsis(dot)com
2. dotsis(dot)com forum
3. blue-nokia(dot)com

Disclaimer :

1. This article is for education purpose only.
2. I don't being held responsible to anything can cause damage to your mobile phone. Try it on your own risk.
3. What you have done here can void your Nokia warranty.
If you okay with that disclaimer above let continue. This article well tested on XP SP2 and my Nokia N73.

Q & A :

Q : Why upgrade to the latest firmware needed ?
A : Because the latest firmware can solve a lot of bugs such as slow messaging, slow opening gallery, RAM issue, etc

Q : I have Nokia phone that still in warranty why must i follow your tutorial while i can upgrade in Nokia Center ?
A : You're right. You don't need this one. Please go to Nokia Center to upgrade your firmware free of charge.

Q : Why offline ? You can use online update with Nokia Software Updater (NSU).
A : Thats because i have a bad internet connection.
If download offline firmware from rapidshare failed i just re-download again and again,
BUT if download online update through NSU failed then your phone DEAD.

Q : I have N70 or N73 or another N-series. I want to upgrade to Music Edition or Internet Edition with the latest firmware. Is that possible ?
A : Yes. This is what i have done. Just follow this article.

Q : I pay a visit to blue-nokia(dot)com and my phone is not listed. Do i need to upgrade ?
A : You're using old-fashion mobile phone (no offence lol). Then you can read the rest of this article but you won't need upgrade your phone.

Q : If flashing failed and my phone dead what should i do ?
A : Then you should read more careful my article. No i'm kidding, no worry about that.
You can flashing dead phone too.

IE 8 Release Candidate 1 Download

Here you go

Windows 7 Beta Download

Hai Guys

Wanna try Windows 7 ?

Try this link

My Graduation, Bina Nusantara 39th Graduation

Congratulation for my self. After spent 5 years in Bina Nusantara University, Jakarta at least its over now.

Graduation with my friend
With my friend 1

Graduation with my friend2
With my friend 2

Graduation with my family
With my family

Updating ESET Smart Security and ESET NOD32 Virus Definition with Smart Way

ESET is my favourite AV since this product receive the best AV 2006, 2007 and still top ten the best AV in 2008.

I'm using ESET product not just because that award, but also because this ESET doesn't make my system slower like Norton does.

ESET has 2 main product which is :
1. NOD32 Antivirus (the latest is ver 3)
This is an anti virus product
2. Eset Smart Security (the latest is ver 3)
This is an anti virus plus anti spyware, anti malware, and personal firewall in one bundling product.

Now back to topic, the problem with ESET is updating the latest virus definition with the slow connection (like mine). If you have unlimited, stable and fast internet connection you can leave this article now.

Still following this article ?

Okay for you who have unlimited, but slow internet connection (just like my office) here is the step :
1. Open your ESET Smart Security or NOD32 Antivirus
2. Press F5 to open configuration
3. Select update tab
4. Click Edit
5. Try one of the following server list
* (For ESET Smart Security ver 3)
* (For NOD32 Antivirus ver 3)
6. Update now.

Now for you with very limited internet connection (dial up) here is the step :
1. Download tools for offline browsing or site mirroring (in this case, im using Teleport Pro)
2. Run the program
3. Click "New Project Wizard"
4. Choose "Create a Browseable copy of a website on my hard drive"
5. Enter one of the following url
* (For ESET Smart Security ver 3)
* (For NOD32 Antivirus ver 3)
6. Choose "Everything"
7. Click finish
8. Run the project to retrieve the file and choose location to save your file
6. When all file downloaded, open your ESET Smart Security or NOD32 Antivirus
7. Press F5 to open configuration
8. Enter the path you saved earlier
9. Update now
10. For daily update, you don't have to waste another 18MB++, just open your Teleport project and click "Update Now". This method compare the file between your computer and server and make sure download only the newest file.

MyEclipse IDE 7 Free License

MyEclipse 7 Released, Get The Free License Now

Genuitec offering free license to people comment in TheServerSide thread. Here is the thread

Give your good comment and pray for the free license.

Some new feature in MyEclipse 7.
# Advanced JavaScript tooling

# New Plugin Dashboard

# REST Web Services wizards and explorer

# MyEclipse Spring tools

# OpenJPA support for MyEclipse Persistence tools

# MyEclipse Reports upgrade

# UML1, UML2 upgrades

# New JSF views and enhancements

# MyEclipse ICEfaces tooling update

Oracle ADF Faces Template in JDev 10g

My project (maybe almost project need this) require a template so when developing user interface, developer no need repeat adding banner, logo, application title, footer, etc. SRDemo example teach me to create template.jspx file and then copy paste this template to another jspx file. This is bad idea, because if somehow my logo changed, then i need to modified ALL of my jspx file.

So i'm start Googling to research about this. But sadly Oracle does not officially support ADF template in JDev 10g. JDev 11g does, but after some consideration we,re using JDev 10g.

After a bit research led me to ADF Region. But like i said, this is not supported so it's not covered in Oracle ADF Developer Guide book. Thanks to Edwin Biemond blog and AMIS blog to contribute great article about ADF Region.