Thursday, October 9, 2008

Stateful Oracle Web services using J2EE 1.4 with JAX-RPC


Stateful Oracle JAX-RPC web services are using specific HTTP headers from the client calling the Web Service that need to be setup if you want the Stateful web service to work.

Call the following set property in your client proxy:

setMaintainSession(true) otherwise the service will work as a stateless service. Also regular browsers don't support the http header extension.




Tuesday, September 30, 2008

Using Data Sources

These are links to data source topics.
Sun Datasource has been extended by Oracle as OracleDataSource();
The library to include in your project in Jdeveloper is named Oracle JDBC.

You can provide database credentials to a datasource or use JNDI (Lookup). The avantage of using JNDI is that no credentials are hardcoded.

DataSource LookUp using JNDI
http://www.java2s.com/Code/Java/Database-SQL-JDBC/TestDataSourceLookUp.htm

Using Datasource providing ODBC parameters:
http://www.java2s.com/Code/Java/Database-SQL-JDBC/OracleDataSourceDemo.htm

Using JDBC Data Sources with ADF Business Components
http://www.oracle.com/technology/products/jdev/howtos/10g/usingdatasources/using_datasources.html

Sun datasource overview why to use JNDI
http://java.sun.com/j2se/1.4.2/docs/guide/jdbc/getstart/datasource.html

Using OracleDataSource();
http://www.oracle.com/technology/products/oracle9i/daily/jun24.html




Monday, September 22, 2008

Enums, Iterator and enumerations in java

Creating Enums consist in creating classes behing the scene:
http://chaoticjava.com/posts/tricks-with-enums/

Iteror and Enumeration are interfaces
Enumeration are often considered faster than Iterators:
http://javabeanz.wordpress.com/2007/06/29/iterator-vs-enumeration/

Monday, September 8, 2008

List of the UML Class Diagram relationships


In java Object reference are passed by Value

class Dog{}

public void foo(Dog d)
{
d.serName("Fifi");
}

Dog myDog; //my Dog is a reference to a object of type Dog
myDog = new Dog();
foo(myDog); // The reference myDog to a object of type Dog is passed by Value

Result:
Dog name is changed to Fifi

http://javadude.com/articles/passbyvalue.htm

http://www.geocities.com/mcglonec1978/javacert/paramPassing_highres.html

Friday, September 5, 2008

Oracle Business Rules tutorial


How to create the WebDAv repository:

Oracle adapters overview

















Oracle Adapters normalise and abstract the interface to communicate with enteprise applications and translates the application data to standards XML and back.

Oracle Adapters provide an integrated view of data and allow multiple applications to be integrated with each other in a harmonious manner.

Oracle Adapters are deployed on top of Oracle Application Server.

There is a variety of adapters like database adapters, AQ (advanced queue) adapters, file adapters, FTP adapters or Applications adapters.
links:
Oracle Adapters for databases:
Oracle Adapters for Oracle Applications











Thursday, August 28, 2008

Installing and use Oracle Business rules engine

Just a starting point

http://download.oracle.com/docs/cd/B31017_01/hpitan.1013/relnotes/rules.htm

http://www.it-eye.nl/weblog/2006/12/01/how-to-install-oracle-business-rules-standalone-using-oc4j/

http://download.oracle.com/docs/cd/B31017_01/web.1013/b28965.pdf

Back to the source with Oracle JDBC and others

Ressource Adapters, Datasources, connection Pooling, Distributed Transactions (XA), Java Naming and Directory Interface (JNDI), factory connectors ...

Many keywords to understand to be able to use Oracle application server administration interface.

These links could help:
Oracle JDBC:
http://download-uk.oracle.com/docs/cd/B10501_01/java.920/a96654/toc.htm
http://www.stanford.edu/dept/itss/docs/oracle/10g/java.101/b10979.pdf

Oracle adapters:
http://download-uk.oracle.com/docs/cd/B31017_01/integrate.1013/b28994/intro.htm

Oracle web sites

Oracle.com... http://www.oracle.com/
Oracle.com Profile and Electronic Subscriptions... http://www.oracle.com/admin/account
Oracle Technology Network... http://www.oracle.com/technology
Oracle Applications Network... http://appsnet.oracle.com/
Oracle Broadband... http://www.oracle.com/broadband
Oracle University Knowledge Center... http://www.oracle.com/education/oln
Oracle PartnerNetwork... http://oraclepartnernetwork.oracle.com/
Oracle Events... http://www.oracle.com/events

Metallink... http://metallink.oracle.com/