Currently in my project to find shortest and multiple routes from point A to point B I am using Geotools in the following way:
- Get paths to be travelled from point A to point B.
- Store calculated paths in separate file.
- Then execute geotools project to render map and highlight the selected paths.
I want to combine all three steps into one. User should choose two points and when submitted the path should be displayed on the browser. How can I achieve this using java/j2ee? kindly guide me in this matter.