最佳答案:(1)通过配置应用程序调用rest服务 年编写java类型的应用程序,在java程序中调用rest服务 (2)以web服务的形式调用rest服务 此种方式对rest服务的声明有一定要求,声明方式如下所