RE: remote execution from an applet

"Kelly Smith" <[email protected]>
Newsgroups gmane.comp.hardware.microcontrollers.tini
Message-ID <[email protected]>
Dear Tinia - OK, which way is it?

1st you say: "should have been using servlets instead of applets".

2nd, then you say: "what i want to happen is that went a button on the
applet is pressed it turns lights on on a board that is connected to the
tini board".

Applet, or Servlet???  What is it that you need!?!  I have working code that
will do both, if you need it.  Servlets are definetly LESS of a hassle, but
its nice to "offload" the work to a client's browser (a remote PC).  Do you
REALLY understand the difference?

The application note for the TINI Temperature Monitor 'APPLET' (that I
posted for you here, last week) has the switches (as 'buttons' that you
click with your mouse (on the PC, remember?).

If you go over to:  http://www.lvr.com/   (Jan Axelson's Lakeview Research),
there are plenty of examples available for 'SERVLETS' (RUNNING ON Shawn
Silverman's Tynamo (TINI Web-Server).  Tynamo is a conditionally compliant
HTTP/1.1 server and Servlet 2.2 container for embedded Java devices (like,
TINI).

In particular, go to:  http://www.lvr.com/eeccode.htm

Scroll your browser down to the bottom, to find:

"Other Code
Another version of the DeviceController servlet is available in the Files
area of the Tynamo Discussion Group. Works on the DSTINIm400, TStik, and
DSTINI390. From Kelly Smith."

Then, become a member of the Tynamo Discussion Group, and download my
example 'DeviceController servlet'.

It has two 'buttons' that controls the TINI (any falvour) on-board LED1, or
an "auxillirary LED2" (you will have to wire it in), and turns the LEDs
off/on.

The response time for the "round-trip" on the WWW, to see the LED change on
your browser, is typically two seconds.

You can get Tynamo, here:  http://tynamo.qindesign.com/

You can get all this going in less than one day, if (a BIG, if!), you follow
the very well documented instructions from Shawn Silverman.

Best regards, Kelly Smith

-----Original Message-----
From: tini-admin-6tN4nzCoH/[email protected] [mailto:tini-admin-6tN4nzCoH/[email protected]]On Behalf Of
Tina McGrath
Sent: Thursday, April 29, 2004 4:48 AM
To: tini-6tN4nzCoH/[email protected]
Subject: [TINI]remote execution from an applet


hi,

please help if you can,  out lecturer has led us a merry dance, and only now
with two days to go informs us that we have gone about the project the wrong
way and should have been using servlets instead of applets!!!

thanks to all who have helped me get the applet working, it was something
very small and wood for trees and all that, but now it is sorted.

what we didnt take into account was that the applet would not work the tini
board, stupid i know, but there you have it.

what i want to happen is that went a button on the applet is pressed it
turns lights on on a board that is connected to the tini board.  we have the
code that does this, it is compiled and converted to a .tini file, an it
works, but how do i get this .tini file to communicate with the button on
the applet.  any life line would be very much appreciated.

tks


_______________________________________________
TINI mailing list
TINI-6tN4nzCoH/[email protected]
To UNSUBSCRIBE, edit your profile, or see list archives:
http://lists.dalsemi.com/mailman/listinfo/tini


_______________________________________________
TINI mailing list
TINI-6tN4nzCoH/[email protected]
To UNSUBSCRIBE, edit your profile, or see list archives:
http://lists.dalsemi.com/mailman/listinfo/tini
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.