Help with sports like java app

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Jim G.

    #1

    Help with sports like java app

    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.



  • Jim G.

    #2
    Re: Help with sports like java app

    any ideas?

    "Jim G." <phcaptjimNOSPA M@yahoo.com> wrote in message
    news:Ur_Id.648$ gg1.565@fe61.us enetserver.com. ..[color=blue]
    > 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.
    >
    >
    >[/color]



    Comment

    • Randolf Richardson

      #3
      Re: Help with sports like java app

      ""Jim G." <phcaptjim@yaho ox.com>" wrote in comp.lang.java:

      [Top-posting corrected][color=blue]
      > "Jim G." <phcaptjimNOSPA M@yahoo.com> wrote in message
      > news:Ur_Id.648$ gg1.565@fe61.us enetserver.com. ..
      >[color=green]
      >> 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.[/color]
      >
      > any ideas?[/color]

      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.

      Comment

      Working...