Using Enterprise JavaBeans and CORBA
EJBs permit the use of a component-based model for implementing Java systems. It can be completely developed in Java and deployed by using execution containers like as databased., TP-Monitors (additionally known as Transaction Processing Monitors) and application servers. The use of EJBs offers various advantages:
• They use a high level of abstraction that making them simple to program
• They are builded completely in Java.
• They are compatible with D/COM, CORBA, and many more.
• They permit the use of transactional applications as modular components.
Oracle8I gives a CORBA 2.0 - complaint ORB that permits applications to access Java stores procedures and EJBs by the IIOP protocol. It also permits you to write Java applications which can call out of the database and communicate with other ORBs by IIOP. Using CORBA/IIOP with Oracle8I now needs the use of MTS.
The mechanism to use CORBA and IIOP is very easy:
1. Write you Java stored procedures and EJBs.
2. Publish the procedures and EJBs so in which they can be accessed as a stored procedure through Net8 and as a CORBA server.
3. Client applications (CORBA and D/COM) can access the published procedures by IIOP.