Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Component Based Development

Component Based Development

From: <coakleyj_at_hotmail.com>
Date: Tue, 01 Feb 2000 20:45:49 GMT
Message-ID: <877glq$1u9$1@nnrp1.deja.com>


Hi everyone.

A couple of questions regarding a 3-tier component-based development using an EJB container in the middle-tier and Oracle8i backend:

  1. Imagine a html page making a request to the web server, which invokes a servlet, which perhaps invokes a (number of) bean(s) for authentication etc, which finally queries the databases via JDBC.

1)Which is better and why? - having the EJB on the middle tier invoke the JDBC calls to the Oracle 8i database (which is on a seperate server),
OR

have the EJB on the middle tier make an RMI call (over IIOP) to a Java class on the database server, which retrieves the data via JDBC and returns it to the EJB

2) The Java class on the database server (mentioned above) could be stored in the 8i database, or else stored at O/S level. Which option is recommended and why? Are there issues with using RMI calls from one object in the middle tier (not Oracle Application Server by the way) to another object in 8i?

3) Can I wrap the Java class in the database as a CORBA object (given that 8i includes a Visigenic/Inprise ORB)? How would this be done? Are there any advantages/disadvantages to doing this?

Thanks

Coakleyj

Sent via Deja.com http://www.deja.com/
Before you buy. Received on Tue Feb 01 2000 - 14:45:49 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US