Re: Where is swing.jar? And: Support for CORBA?
Here is site for general information on Corba, DCOM, DCE for Linux http://linas.org/linux/corba.html I have tried Orbacus with Linux. Available at: http://www.ooc.com Match >Hi Christopher, > >Well, but where is IDL compiler? I saw one at sun's site but it looks >like binary package and I'm not sure it will work with linux... Do you >know about any alternative IDLC? > >Mike > >Christopher Hinds wrote: >> >> Here is an answer to both of your questions : >> >> 2.) Definition BOA - Basic Object Adapter >> Definition POA - Portable Object Adapter >> >> OMG , in CORBA 2.x specification deprecated the BOA because ORB >implement >> ors could not agree upon or implemented the BOA interface >differently >> making it almost impossible to use an object developed for IONA's >OrbixWeb with >> Visigenic's ORB. To remedy this incompatibility OMG >> specified POA for CORBA 2.x compliant ORBs and as the name implies is >> compatible across >> all CORBA 2.x ORBs. >> >> Lastly the OMG packages are also contained in the rt.jar file in >Java2 and >> are at least CORBA 2.x >> compliant. >> >> Cheers >>Chris >> > > >-- >To UNSUBSCRIBE, email to [EMAIL PROTECTED] >with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: JDBC for Oracle?????
Look for the Oracle Thin-Client driver (classes111.zip) on their website. It is 100% java code. Match At 3/24/99 05:33 PM, Chien-Lung Wu wrote: >Dear firends: >I am a newbie of the JAVA and Oracle. However I have to install the Oracle on >my Linux box. I read some information said that JAVA 1.X can support JDBC. Now >this is my question. >1. If I want to use JAVA to access Oracle, can I have to install JDBC for > ORACLE? > >2. Where can I get the JDBC, which can support ORACLE, if I need to? > >3. Any more information? > >Thanks in advance. > >Chien-Lung Wu > >-- >Chien-lung Wu > > >-- >To UNSUBSCRIBE, email to [EMAIL PROTECTED] >with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: "Can'nt find the driver: jdbc.."
Here is another way to connect to Oracle.
/* Start */
private Connection openConnection() {
Connection connection = null;
try {
// Register the database driver.
DriverManager.registerDriver( new oracle.jdbc.driver.OracleDriver() );
// Attempt to open a connection to the database.
connection =
DriverManager.getConnection(
"jdbc:oracle:thin:123.45.678.90:1521:SID_NAME" ,
"USERNAME",
"PASSWORD" );
}
catch( Exception e ) {
System.out.println( e.getMessage() );
}
return connection;
}
/* End */
Match
At 3/30/99 02:35 PM, [EMAIL PROTECTED] wrote:
>
>Here is a code snipplet that I use for connecting to an oracle rdbm
>
>you may have to alter it somewhat to get it to work right for you, but I do
>believe that with a little study you will have no problems.
>
>~~ FYI: Oracle is probalby the hardest database to connect to ~~
>
>
>/* S T A R T - C O D E */
>
>import java.sql.*;
>import com.informix.jdbc.IfxDriver;
>import oracle.jdbc.driver.*;
>import java.math.*;
>
>
>public class Conn{
>
> Connection CurrConn;
> String Driver= new String();
> String Host,Service,Dbase,Server,User,Pword,Dns;
>
> public Conn(){
> try{
> DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
> }catch(Exception e){System.out.println("ORACLE DRIVER LOADER ERROR: " +
e);}
> }//end constructor
>
> private void setOracleConnection() { //throws Exception
> try{
> Class.forName(Driver);
> Connection conn = DriverManager.getConnection (
>"jdbc:oracle:thin:123.45.678.90:1521:SID_NAME","USER", "PASSWORD");
> }catch(Exception e){System.out.println("ORACLE ERROR: " + e);
>e.printStackTrace();}
>}//end getInformixConnection
>
>}//end Conn class
>
>/* F I N I S H - C O D E */
>
>Steve Gee
>Java Developer
>Maxor National Pharmacies
>Information Technologies
>
>[EMAIL PROTECTED]
>806.324.5540
>www.maxor.com
>806.324.5400
>
>
>
>--
>To UNSUBSCRIBE, email to [EMAIL PROTECTED]
>with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
