May I suggest something...

Being that J2EE is already available in most app servers, and the next
version is just about to have its specs closed upon, why not move full
fledge into a J2EE type of development, where you use JSP pages (instead of
Servlets returning HTML in the code (via response)), and if your up to it,
use a MVC pattern where you have all requests submitted to a single
controller servlet, have that servlet call upon an "action" class, that can
then use EJB to perform the logic (or do the logic right there in your
action class..until you are up to speed and ready to dive in to EJB).
Finally, populate a javabean and forward to a JSP page that uses the
javabean to display dynamic content.


> -----Original Message-----
> From: Cory Adams [mailto:[EMAIL PROTECTED]]
> Sent: Friday, November 03, 2000 8:13 AM
> To: Orion-Interest
> Subject: Re: Beginner: Step by step tutorial?
> 
> 
> You  would always use JDBC.  You do have a choice of which 
> driver to use
> though.  If you want to use the OCI native drivers you can 
> specify those in
> the JDBC datasource. 
> 
> Download the Oracle JDBC drivers from Oracle's site and you can choose
> between using the Thin or OCI drivers.
> 
> There are some great servlet jsp books like the Sun Press book Core
> Servlets and Java Server Pages....
> 
> Cory
> 
> At 01:31 AM 11/4/00 +0800, Winnie Leung wrote:
> >HI,
> >
> >I am a total beginner to Orion (and somewhat of a beginner 
> to Java). I would
> >be really grateful if some one could point me to a really beginner's
> >step-by-step tutorial on how to write a servlet, to do 
> standard web type
> >stuff like (a) post form variables, and (b) access data from 
> the database
> >(oracle -- is there a way to use OCI directly, instead of JDBC?)
> >
> >Thanks very much in advance,
> >Winnie
> >
> >
> >
> >
> 

Reply via email to