AppletTalk.com Forum Index AppletTalk.com
Java discussions newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Newbie: Advice on strategy.

 
Post new topic   Reply to topic    AppletTalk.com Forum Index -> Java and Databases
View previous topic :: View next topic  
Author Message
abu
Guest





PostPosted: Wed Dec 17, 2003 1:51 am    Post subject: Newbie: Advice on strategy. Reply with quote



Hi all,

I am going to be developing a little app which works with an Oracle 8i db
and will be java desktop application running on Windows 2000. Previously I
had been developing using Oracle 9i and .NET (ODP.NET). So I would like your
advice on how to get started. I would appreciate your assistance with the
following questions:

1) I guess I need to download the Oracle 8i JDBC drivers from Oracle.com and
this will then allow me to use the java.sql API. Is this correct ?

2) If I wanted to deploy the application what whould the host environment
require ? Is it a case of JRE/the application/ JDBC driver. Can anyone
recommend a way of neatly packaging this up?

3) If most of my work will require the generation of exception reports (most
of the data for this will be on the DB) should I use pl/sql procedures or
Java Stored procedures. Actually, I would like to clarify my understanding
of these. Are you effectively creating compiled java code and loading it
into the DB for later use?

Many Thanks,

-A


Back to top
Silvio Bierman
Guest





PostPosted: Thu Dec 18, 2003 4:34 pm    Post subject: Re: Newbie: Advice on strategy. Reply with quote



Inline...

"abu" <noway (AT) hotmail (DOT) com> wrote

Quote:
Hi all,

I am going to be developing a little app which works with an Oracle 8i db
and will be java desktop application running on Windows 2000. Previously I
had been developing using Oracle 9i and .NET (ODP.NET). So I would like
your
advice on how to get started. I would appreciate your assistance with the
following questions:

1) I guess I need to download the Oracle 8i JDBC drivers from Oracle.com
and
this will then allow me to use the java.sql API. Is this correct ?

That is correct. You should use the thin driver since the other driver uses
native code to access OCI libraries which means you need an Oracle client
installation.

Quote:

2) If I wanted to deploy the application what whould the host environment
require ? Is it a case of JRE/the application/ JDBC driver. Can anyone
recommend a way of neatly packaging this up?

Package the app (preferably compiled into a JAR) and the additional JARs and
resources (images, property files, etc.) in a ZIP/TAR.GZ file. If required
distribute a JRE along with the archive (I prefer not to).

Quote:

3) If most of my work will require the generation of exception reports
(most
of the data for this will be on the DB) should I use pl/sql procedures or
Java Stored procedures. Actually, I would like to clarify my understanding
of these. Are you effectively creating compiled java code and loading it
into the DB for later use?

Have not used Java Stored Procs on Oracle8. I thought they where kind-of
beta in 8? I would go for a pl/sql solution for now. You can always rewrite
the pl/sql to Java and leave the app unchanged. I really don't see the
advantage of either solution, unless you know Java/JDBC and not pl/sql (or
the other way around).

Quote:

Many Thanks,

-A



Regards,

Silvio Bierman



Back to top
Display posts from previous:   
Post new topic   Reply to topic    AppletTalk.com Forum Index -> Java and Databases All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.