Re: Help with sports like java app
From: Randolf Richardson (rr_at_8x.ca)
Date: 02/03/05
- Next message: Randolf Richardson: "Re: outlook style calendar todo list"
- Previous message: Randolf Richardson: "Re: enters in java"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Thu, 03 Feb 2005 18:38:50 GMT
""Jim G." <phcaptjim@yahoox.com>" wrote in comp.lang.java:
[Top-posting corrected]
> "Jim G." <phcaptjimNOSPAM@yahoo.com> wrote in message
> news:Ur_Id.648$gg1.565@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.
- Next message: Randolf Richardson: "Re: outlook style calendar todo list"
- Previous message: Randolf Richardson: "Re: enters in java"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|