Java Reference
In-Depth Information
This script collects all the latitude and longitude values for each MLB stadium, creates a
database table to hold them, and populates the table. It only has to be run once, and the
application can then use the table. In the process of reviewing the code I used a Stadi-
um POGO, a list, a couple of collect methods with closures, an example that used the
URLEncoder class from Java in a Groovy script, and database manipulation through the
groovy.sql.Sql class.
The next step is to collect box score data from a site maintained by Major League Baseball,
and generate XML information that can be sent to a view page.
Search WWH ::




Custom Search