com.netcracker.ejb.MapBeanLocal.java Source code

Java tutorial

Introduction

Here is the source code for com.netcracker.ejb.MapBeanLocal.java

Source

/*
 * 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;

}