Jumat, 24 Desember 2010

Installing Oracle Fusion Middleware and SOA Suite 11g

The SOA Suite is available for various operating systems, including Windows, Unix and Linux. You can install and run the SOA Suite on a machine that has at least 2 Gb of memory, some 10 Gb of free disk space and a dual core 1.5 Ghz processor. When you intend to run JDeveloper on the same machine, you should hope for at least 3 Gb of memory.
Part of the SOA Suite infrastructure is the meta data repository that needs to be installed in a 10g or 11g Oracle RDBMS. Note: SQL Server 2005 and 2008 is also supported, as may be other databases at some point. Before you start the installation, you need to make sure that you have access to such a database - with one Gb of disk space for the creation of new tablespaces. The database parameters for processes and open_cursors should both be set to values of 500 or above. You need credentials for a database user with DBA or SYSDBA privileges.

Jenis-Jenis IDE

Banyak jenis IDE yang terkenal di dunia ini yang sering dipake oleh programer. Untuk bahasa java dan implementasi SOA dan BPM, penulis merekomendasikan sebagai berikut.

J2SE3-Swing Manipulation(Button)

Di bagian ini kita buat object yang biasanya kita teken2 neh....yup Button.....,Button mempunyai peran penting untuk memberikan event kepada program yang kita buat......
Sekarang kita buat buttonnya:
package coba;

import java.awt.Color;
import java.awt.Font;
import java.awt.GradientPaint;
import java.awt.Graphics;
import java.awt.Graphics2D;
import java.awt.RenderingHints;
import java.awt.Shape;
import java.awt.event.MouseAdapter;
import java.awt.event.MouseEvent;
import java.awt.geom.RoundRectangle2D;
import java.awt.image.BufferedImage;
import javax.swing.Icon;
import javax.swing.ImageIcon;
import javax.swing.JButton;
import org.jdesktop.animation.timing.Animator;
import org.jdesktop.animation.timing.interpolation.PropertySetter;
import usu.util.GraphicsUtilities;

public class Button extends JButton {


J2SE2-Swing Manipulation(Panel)-Netbeans and Eclipse

Kita lanjutin neh untuk buat panel gradien. Untuk membuat panel gradien seperti komponen yang laennya, kita hanya memanipulasi komponen panel. Kan kurang asyik tuh tampilan panel standart-standart aje...
Ini die scripTnye....(lo pengen bisa,jangan dicopy paste tapi diketik m dipahami...oke???)...GOOD LUCK...


/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
 */
package Template;

//~--- JDK imports ------------------------------------------------------------

import java.awt.Color;
import java.awt.GradientPaint;
import java.awt.Graphics;
import java.awt.Graphics2D;
import java.awt.RenderingHints;
import java.awt.geom.GeneralPath;
import java.awt.image.BufferedImage;

import javax.swing.JPanel;

/**
 *
 * @author United
 */
public class PaneBiruHitam extends JPanel {
    private static final long serialVersionUID = -1;
    private BufferedImage     gradientImage;

J2SE1-Swing Manipulation(TextBox)-Netbeans and Eclipse

Dalam membuat aplikasi,layout atau tampilan sangat mempengaruhi. Berikut kita pelajari cara membuat component-component. Sebelum itu,kita harus membuat library untuk menampung component textbook....
Biar pengen cepet kita download library yang dah jadi....(Di bawah neh)....
Pertama kali kita akan membuat TextBox:

  • Buatlah class untuk membuat object swing textbox dengan extend textbox(saking Library).
    • Ketikkan source berikut ini:

    SOA3-Membuat Publish Data Menggunakan EDN (Event Delivery Network)-JDev

    Untuk menunjang bahwa SOA (Service Oriented Architecture) menggunakan prinsip Loose Coopling (tanpa batasan) di dalam SOA mempunyai sebuah tool yang disebut EDN (Event Delivery Network), dimana data dipublish/subscribe tanpa memperrdulikan siapa/aplikasi mana yang akan mengolah data tersebut.
    Menurut Demed L'Her Heidi Buelow Jayaram Kasi Manas Deb Prasen Palvankar,EDN adalah:
    "The Event Delivery Network (EDN) in Oracle SOA Suite 11g provides a declarative way to use a publish/subscribe model to generate and consume business events without worrying about the underlying message infrastructure."
    Dimana publish dan subscribe  tidak mempedulikan insfrastuktur yang mendasari.

    Selasa, 07 Desember 2010

    SOA2-Create Mediator on JDeveloper

    Mediator: Mediator bertanggung jawab atas interkoneksi di dalam satu SOA aplikasi komposit, komponen yang mengekspos service yang berbeda. Selain itu, mediator dapat melakukan tugas seperti penyaringan dan membuat keputusan routing.

    Dalam membuat suatu mediator kita harus membuat 2 service , dalam hal ini penulis menginteraksikan 2 buah service yaitu database adapter dengan web service.

    Senin, 06 Desember 2010

    SOA1-Create Connection with Database Adapter on JDeveloper

    Dalam sebuah arsitektur SOA kita memerlukan koneksi database guna membuat sebuah service. Berikut langkah-langkah dalam membuat sebuah koneksi database.
    1.  Buka Aplikasi JDeveloper.
    2.  Pastikan kita membuat database terlebih dahulu (penulis menggunakan Oracle Database dengan         nama database "soademo" dan tabel "CreditCardInfo").
    3.  Buat project baru bernama Demo1,File-New-CurrentProjectTechnologies-General- Applications-SOA Applications. 

    ·         Aplication Name: SoaDemo1.
    ·         Project Name:Demo1.
    ·         Composite Template:Empty.
    Ikuti langkah selanjutnya dengan menekan tombol next dan pastikan lokasi penyimpanan project benar. Setelah muncul Composite Template klik Finish.   
    Akan terbuka sebuah Composite, Drag Database Adapter yang terdapat di Component Pallete dan tarik ke Composite bagian ExternalRefference.

    SOA and services

    SOA is an architectural framework for software design that works around the
    concept of services. In our day-to-day life, we take the concept of services as a given:
    if we are sick, we seek the service of a doctor, if a faucet is leaking in our home,
    we rely on a plumber's service to get that fixed, our children's education depends
    on the services of teachers, and so on. While services span nearly all the things
    imaginable, they exhibit a rather simple interaction pattern. When a consumer makes
    a request to the provider for something to be done, the provider provides a service
    by executing that request. At a high level, services in SOA would be quite similar
    to those in our daily lives. Of course, in SOA, the consumers and providers would
    be some computer applications and the service would be a suitable unit of business
    or technical functionality that is digitally accomplished. SOA is about working with
    such services. It is the architectural component of a bigger philosophy, the so-called
    service orientation, and its adoption has a multi-fold impact on an organization in
    the way it builds and leverages IT assets for ultimate business benefit. SOA impacts,
    for example: