Hi, I am trying to develop some simple location logic in the server-side portion of a java servlet-based webapp.
There are really just two operations that I'm interested in:
- Given a start point (lat/long) s1, distance d, and search point (also lat/long) s2, determine if the s2 is within d distance from s1. 
- Given two points (lat/long), determine the distance between them. 
Does anyone have recommendations of a simple java API that supports these operations?
Thanks!