""Jim G." <ph*******@yahoox.com>" wrote in comp.lang.java:
[Top-posting corrected]
"Jim G." <ph*************@yahoo.com> wrote in message
news:Ur***************@fe61.usenetserver.com...
I'm looking to build a java application like you see on sports websites,
where the information is updated live, for instance in baseball the balls,
strikes, etc. are updated. Any good points of reference on the net for
something like this? Java is very new to me so I would need something
pretty basic. Thanks.
any ideas?
The first step is to determine what you'll need in order to accomplish
this, which begs the question "Where are you getting the information about
the sports statistics from?" If it's a database, then a JDBC connection may
be all you need.
If you anticipate heavy usage, then you'll probably be better of
creating your own custom protocol and accessing the information via a TCP
socket (see "sockets" in your Java networking references) with a server
module that "pushes" the information to all connected clients as it changes,
otherwise with a very small audience your client applications can merely
"pull" the information at regular intervals from the data source.
You'll probably need to learn about threads. You'll definitely need to
learn about networking, and possibly JDBC as well.
--
Randolf Richardson, pro-active spam fighter -
rr@8x.ca
Vancouver, British Columbia, Canada
Sending eMail to other SMTP servers is a privilege.