In my previous post of thread pool (http://www.techartifact.com/blogs/2009/06/what-is-thread-pool-in-java.html),I have given the theoritcal knowledge.now I came with code.Hope it will help a lot. Java’s implementation of thread pool is based on an executor. Executor is a generic concept modeled by this interface. You simple have to create the task and pass it on execute() method of [...]

Entity object – ADF entity object are business components that encapsulate the business model, including data, rules, and persistence behavior, for items that are used in your application. Entity object definitions map to single objects in the data source. In the vast majority of cases, these are tables, views, synonyms, or snapshots in a database. [...]

Threads are a very important Part of Java, but creating large numbers of threads can degrade the performance of application.By thread pools, which allow you to maintain fixed number of threads running assigned tasks to each of the threads. Suppose A thing may have to visit tens of thousands of pages, and you will not [...]

Some time, in our application we need to display some table cells highlighted with some colours.for different condition we need Different colour of row or some particular cell. This can be possible by using expression language(EL) .We can write an ternary operation in expression language(EL).For example if we are displaying data in tabular structure .And [...]

In Oracle ADF, for refreshing the page after doing some operation in database we need to refresh the Page ,which is very needed to display the right content.For this we need to write java method in page.java file. Write that method anywhere in java file and call that method anywhere where you want to refresh [...]

In this article we will look into how to write a sql query to get a particular row in sql. Lets write the code to find 2nd row in a table named mcc_measures. So first we declare a temporary table No in this temp table we insertrow numbers of the table Now from the temp [...]

In oracle ADF, for executing the view object query we need to write code for that.This code is needed for refreshing the table content after executing some DML operation.For that we need to execute the query of view object.For that write an in application module Impl.java file.For an example look the below code- After writing [...]

This tutorial will explain creating new application, new pages, and navigation cases. It will display Explain you event generated on a command button .It will be redirected to new page(.jspx) and display a message. I hope it will clear the basic understanding navigation and business component. 1. Open Jdeveloper and right click on project and [...]

Inheritance in JAVA programming is the process by which one class takes the property of another other class. i.e. the new classes, known as derived or super class, take over the attributes and behavior of the pre-existing classes, which are referred to as base classes or child class. Inheritance is used to create a hierarchical-type [...]

Oracle Trading Community Architecture (TCA) is a data model that allows you to manage complex information about the parties, or customers,.TCA is the global repository for all name and address information, including those of customers and employees. This information is maintained in the TCA Registry, which is the single source of trading community information for [...]