Bill,
Always being one to put my ignorance on public display, I thought
I'ld address your question: what's the difference between an
"application" and an "applet".
Basically, it's in how they're invoked and the methods that they
must have.
- an application can be invoked through a command such as:
java <ApplicationName>
(<ApplicationName> being the name of the compiled class file).
The java engine will expect to find, within the <ApplicationName>
class a method named "main". This main method is invoked to get
the application running
- an applet is invoked inside an applet driver program - often a web
browser, but there are also various ways to run applets in stand-
alone applications. The applet class must be a subclass of
JApplet and uses methods named init, start, stop and destroy to
handle executing the actual applet code.
Why use one and not the other? The usual reason for using an
applet is that it can be run in a browser, otherwise you'ld use an
application.
/* general disclaimer as to accuracy */
James Campbell
>
> From: [EMAIL PROTECTED]
> Subject: JDBC Drivers - App vs. Net
> Date: Thu, 16 Aug 2001 08:27:55 -0400
> Hi,
>
> Can anybody explain to me the difference between a JDBC App driver and a
> JDBC Net driver? I've looked in the UDB v7.2 manuals for information, and
> all I've been able to find is that the "app" driver is an "application"
> driver (type 2), and that the "net" driver is an "applet" driver (type 3).
>
> My problem is that I'm not in the least bit Java literate, so "application"
> vs. "applet" driver means nothing to me, and neither does type 2 vs. type
> 3.
>
> Can anybody explain to me in fairly simple terms what the difference is
> between the two, and more importantly, under what circumstances would you
> want to use one instead of the other?
>
> Thanks,
>
> Bill Gallagher, DBA
> Phoenix Life Insurance
>
>
James A Campbell
=====
To unsubscribe, send 'unsubscribe' to [EMAIL PROTECTED]
For other info (and scripts), see http://people.mn.mediaone.net/scottrmcleod