Home > Archive > MySQL Java > August 2005 > Help deploying applet for novices









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Help deploying applet for novices
Lisa N. Michaud

2005-08-01, 9:23 am

Hi -

My summer research student and I are novices with Java, but
unfortunately, we're now among the most experienced people at the
College, so we have no one to go to with this rather profoundly
"stupid question" :

(Background information:) We have been developing an applet that
uses JConnector to interface with a DB. Hosting the applet and the
DB server on the same machine is not a problem. Up until now, we
have been testing the applet within our IDE (Eclipse) locally on our
development machines, but now we are a month from this applet being
used by a larger audience and we need to start testing it being
hosted elsewhere.

Our question is: When we create the JAR file for the applet, how do
we package up the JConnector JAR along with it? Right now, we keep
creating JAR files that immediately raise an exception saying that
the driver can't be found, which makes sense. However, we were
operating under the assumption that the JConnector stuff could be
deployed on the server along with our applet - we don't want the
client users to have to install it!

Someone have pity on us for our cluelessness -

THANKS!

--lisa

Lisa N. Michaud, Assistant Professor of Computer Science
Department of Mathematics and Computer Science
Wheaton College, Norton, Massachusetts
lmichaud@wheatoncoll
ege.edu
http://cs.wheatoncollege.edu/lmichaud


--
MySQL Java Mailing List
For list archives: http://lists.mysql.com/java
To unsubscribe: http://lists.mysql.com/java?unsub=m...sie.nctu.edu.tw

Cope, Jared

2005-08-01, 11:23 am

Hi,

There is an 'archive' parameter in the <Applet ... /> tag that you can
supposedly use for specifying all the resources that your applet requires. I
would try putting a reference to your connector jar in that section and see
what happens.

I don't think you can bundle the JConnector inside your own .jar file
though.

Also, when/if you get time you should check out Java Webstart if you plan to
make applications available over the web. If you were using Webstart this
would be very easy to do.

Cheers, Jared.

-----Original Message-----
From: Lisa N. Michaud & #91;mailto:lmichaud@
wheatoncollege.edu]
Sent: 01 August 2005 15:55
To: mysql-java
Subject: Help deploying applet for novices

Hi -

My summer research student and I are novices with Java, but
unfortunately, we're now among the most experienced people at the
College, so we have no one to go to with this rather profoundly
"stupid question" :

(Background information:) We have been developing an applet that
uses JConnector to interface with a DB. Hosting the applet and the
DB server on the same machine is not a problem. Up until now, we
have been testing the applet within our IDE (Eclipse) locally on our
development machines, but now we are a month from this applet being
used by a larger audience and we need to start testing it being
hosted elsewhere.

Our question is: When we create the JAR file for the applet, how do
we package up the JConnector JAR along with it? Right now, we keep
creating JAR files that immediately raise an exception saying that
the driver can't be found, which makes sense. However, we were
operating under the assumption that the JConnector stuff could be
deployed on the server along with our applet - we don't want the
client users to have to install it!

Someone have pity on us for our cluelessness -

THANKS!

--lisa

Lisa N. Michaud, Assistant Professor of Computer Science
Department of Mathematics and Computer Science
Wheaton College, Norton, Massachusetts
lmichaud@wheatoncoll
ege.edu
http://cs.wheatoncollege.edu/lmichaud


--
MySQL Java Mailing List
For list archives: http://lists.mysql.com/java
To unsubscribe: http://lists.mysql.com/java?unsub=j...ope@afxnews.com

--
MySQL Java Mailing List
For list archives: http://lists.mysql.com/java
To unsubscribe: http://lists.mysql.com/java?unsub=m...sie.nctu.edu.tw

Sponsored Links





Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive | Programming forum archive

Copyright 2008 droptable.com