Java tutorial
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package com.netcracker.ejb; import java.io.IOException; import javax.ejb.EJBLocalObject; import org.json.JSONException; /** * * @author */ public interface MapBeanLocal extends EJBLocalObject { public double[] geocodeAddress(String address) throws JSONException, IOException; public String geodecodeAddress(double lng, double lat) throws JSONException, IOException; public float calculateDistance(String addrFrom, String addrTo) throws IOException, JSONException; }