Thursday Jan 29, 2015

Desktop application for purging SOA instances

You can purge instances with using my desktop application. It is easiest way to delete them from your SOA database. My application connects your database and run "soa.delete_instances" procedure. All of instance states will be ignored. "Check states table" . Before you start purging, your database administrator have to run these command below in your database.

GRANT EXECUTE ON DBMS_LOCK to SOA_USER;
GRANT CREATE ANY JOB TO SOA_USER;

My main referance document is "http://docs.oracle.com/cd/E28280_01/admin.1111/e10226/soaadmin_partition.htm".

And Please back up your database before you start purging!

So, how to use this program?

Database
Driver: Oracle JDBC driver
Connection String(url): Write your connection url like this example "jdbc:oracle:thin:@localhost:1521/orcl"
SOA Username: Something like SOA_INFRA, PROD_SOAINFRA etc.
Password:
Test Connection: It tests your connection, succeed or failed.

Composite
Composite Name: Which composite you want to purge? It is case sensitive
Composite Version: 1.0,1.1 etc.
Date From: Beginning creation date for the composite instances. Purge instances created the date after.
Date To: Ending creation date for the composite instances. Purge instances created the date before. (Not equals this date)

Criterias
Batch Size: Batch size used to loop the purge Maximum Run time: Expiration time at which the purge script exits the loop. Delete with period: Split connections for each period. If you don t check this box, your application runs only "1" time. If you check this box, your application splits your begin and end date with selected day. For example, Date from is "2015-01-10" and date To is "2015-01-20", and you check this box and select 2 days period. Your application will be running 5 times, first delete instances between "2015-01-10" and "2015-01-12", then run again for delete instances between "2015-01-12" and "2015-01-14", then it will be continue like this.

Run
Click "Run" button and wait.

If you want to use this tool, please contact with me via my e-mail (arda.eralp@oracle.com).

And it is not official Oracle Product.

[Read More]

Wednesday Apr 16, 2014

Groovy in ADF

Groovy is an agile, dynamic language for the Java platform, defined as JSR 241. It has many features that were inspired by languages such as Python, Ruby, and Smalltalk, making them available to Java developers with a Java-like syntax. It interoperates seamlessly with any Java class, and can be compiled and interpreted without disturbing normal operations.[Read More]

Wednesday Dec 25, 2013

Bounded Task Flow Properties

The ADF framework provides parameters for a bounded task flow parameters are provided in ADF, developer can give them default values with using JDeveloper.

Configurable properties are:

•  Initializer
•  Finalizer
•  Save Point Restore Finalizer
•  URL Invoke
•  Library Internal
•  Parameters
•  Return Value
•  Train
•  Task Flow Reentry
•  Critical 
•  Transaction
•  Share Data Control with Calling Task Flow
•  No Save Point on Task Flow Entry

[Read More]

Sunday Dec 22, 2013

Introduction to ADF Task Flow

Task Flows at the Heart of Oracle ADF
There is nothing more important than understanding task flow-oriented design and architecture when developing Oracle ADF applications

ADF controller supports task flows. Supporting task flows helps us to break our complex web application into smaller reusable flows. The task flows are simple XML files. Each of the pages in the task flow is added as a view activity and the control flows between the pages. The components in the task flows are called as activities and each of the control flows will have an outcome to define the navigation.

Develop User Interface Services – Not Pages
Steven Davelaar, "Building Highly Reusable Task Flows"

There are two types of task flows in ADF

Unbounded Task Flow

Unbounded task flows are designed to handle navigation between pages which do not necessarily follow any specific entry point or exit point. For example, consider the pages linked through the toolbar menu in an application. An end user can select any menu option that he or she likes, or the person can even type the URL directly in the browser for viewing the page and can exit from the page or switch to a new page at any point in time. The navigation model for such pages (unbounded view) is defined using unbounded task flow. Unbounded task flow defines navigation for unbounded views in a Fusion web application.

Bounded Task Flow

The bounded task flow is primarily designed to implement reusable navigation cases with definite entry and exit points. A bounded task flow contains its own set of control flow rules, activities, and managed beans. 

[Read More]

Monday Nov 18, 2013

ADF Reusable Artefacts

  • Primary reusable ADF Business Component:
    • Entity Objects (EOs)
    • View Objects (VOs)
    • Application Modules (AMs)
    • Framework Extensions Classes
  • Primary reusable ADF Controller:
    • Bounded Task Flows (BTFs)
    • Task Flow Templates
  • Primary reusable ADF Faces:
    • Page Templates
    • Skins
    • Declarative Components
    • Utility Classes

[Read More]

Monday Oct 28, 2013

Oracle Identity Manager ADF Customization

This blog entry includes an example about customization Oracle Identity Manager (OIM) Self Service screen. Before customization all users that can be logged in OIM Self Service can see "Administration" tab on left menu. On this example we create "Managers" role and only users that have managers role can see "Administration" tab.

These steps are;

Step 1: Create "Manager" role
Step 2: Create Sandbox
Step 3: Customize ADF
  • Select "Customize" on the top menu
  • Select "Source" instead of "Design" on top 
  • Select "Administration" tab with blue rectangle and edit component
  • Edit "visible" with expression builder
  • #{oimcontext.currentUser.roles['Manager'] != null}
  • Apply
  • Step 4: Apply to All and Publish sandbox
    [Read More]

    Monday Oct 21, 2013

    Introduction to Oracle ADF

    Oracle ADF is an end-to-end development framework, built on top of the 
    Enterprise Java platform, offering unparalleled productivity to application 
    developers. The framework provides integrated infrastructure solutions for the 
    various layers of the application and an easy way to develop on top of them.
    [Read More]
    About


    I am a member of the Fusion Middleware Applications Consultancy team.

    I focus on tips and tricks FMW applications consultancy but also have a strong interest in ADF Development & Achitecture, Oracle BPM, Oracle Identity Manager and Oracle SOA Suite.

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


    Search

    Archives
    « July 2015
    SunMonTueWedThuFriSat
       
    2
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
     
           
    Today