English 中文(简体)
A. 将方法转换为JAVA的网络服务
原标题:Converting methods to web services in JAVA

目前,我正在重新开发一个将JAVA数据驱动的网络应用到MVC模型。 在重新工作时,我认识到,几乎所有的服务器都使用“信天空”法和近10种其他方法。 我想将这些方法转换为服务。 这是我的第一个网络服务开发。 我使用Eclipse和网络学。 虽然我正在网上读物,但有人可以向我简要概述如何做到这一点,以便开始头脑? 还有一个问题是,这些服务是否从企业阶层或服务机构或垃圾中或从所有这些服务中援引? 感谢。

最佳回答

网络服务可指XML-RCP、SOAP或REST。 对我来说,网络服务是指“通过吉大港山区寻找网络组成部分” 如果你同意,你可以简单地把这些方法改成另一个工具,将其称为服务。

除非你需要,否则不要使用XML的要求/答复。

我不会从商业班中援引服务。 服务单元和共同财产方案已牢固地放在网络层面,因此,我可以同时召集一个网络服务(例如,美国宇宙航空研究开发机构从一个网页上打电话)。

但是,我更希望有一个真正的服务层,有服务。 如果你把这一障碍放在网络层面的话,服务层的可用性就比它更强。 如果你拿到一个移动式自动交换机,该代码会发生什么情况? 网络层面应验证和约束投入参数,要求服务以达到使用情况,并包罗显示反应。 让这些部门做重提。

问题回答

暂无回答




相关问题
Spring Properties File

Hi have this j2ee web application developed using spring framework. I have a problem with rendering mnessages in nihongo characters from the properties file. I tried converting the file to ascii using ...

Logging a global ID in multiple components

I have a system which contains multiple applications connected together using JMS and Spring Integration. Messages get sent along a chain of applications. [App A] -> [App B] -> [App C] We set a ...

Java Library Size

If I m given two Java Libraries in Jar format, 1 having no bells and whistles, and the other having lots of them that will mostly go unused.... my question is: How will the larger, mostly unused ...

How to get the Array Class for a given Class in Java?

I have a Class variable that holds a certain type and I need to get a variable that holds the corresponding array class. The best I could come up with is this: Class arrayOfFooClass = java.lang....

SQLite , Derby vs file system

I m working on a Java desktop application that reads and writes from/to different files. I think a better solution would be to replace the file system by a SQLite database. How hard is it to migrate ...

热门标签