如何用java实现SOA?

发布于 2024-10-03 01:38:56 字数 120 浏览 1 评论 0原文

我是 SOA 的新手。我想知道如何在 Java 中实现 SOA。我正在浏览各种仅处理概念的站点,它没有给出有关实现细节的清晰想法,以便在 Java 中使用 SOA。请提供有关如何实施 SOA 的详细信息。

谢谢

I am new for SOA.i want to known how to implement SOA in Java.i am go through various sites that only deals with the concept,it don't give clear idea about the implementation details,for using SOA in Java.plz provide an details for how to implements SOA.

Thanks

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(4

年少掌心 2024-10-10 01:38:56

SOA 是关于设计原则(有些人甚至可能会说它是一种范例),而不是关于工具和实现,因此很难启动 IDE 并“实现 SOA”。

由于 SOA 比设计模式更大、更复杂,因此该主题的大多数资料仅涉及理论而不讨论实现细节。

如果您理解这个概念并了解 Java,那么您可以通过重用现有组件,在现有框架之上开始实现(请参阅其他答案),或者,如果您感觉我想编写一个 C 编译器,则可以从 -从头开始,您可以尝试从头开始设计和编码您自己的 SOA。

SOA is about design principles (some might even say it's a paradigm) and less about tools and implementation, so it is difficult to fire up your IDE and "implement an SOA".

Because SOA is bigger and complexer than, say, a design pattern, most sources on the subject only deal with the theory and do not discuss implementation details.

If you understand the concept and know Java, then you can start implementing on top of existing frameworks (see other answers), by reusing existing components, or, if you are feeling I-want-to-write-a-C-compiler-from-scratch-y, you can try to design and code your very own SOA from the ground up.

苹果你个爱泡泡 2024-10-10 01:38:56

查看 Apache 上的 Axis 2 网站:-

axis2

这是一个成熟的、经过深思熟虑的广泛部署的 SOAP 框架。

除了 SOAP 客户端和服务器组件之外,还有许多开发工具
with 将使您能够对现有的 Java 类进行 SOAPify,或者从 SOAP WSDL 定义生成 Java 类存根。

Check out the Axis 2 web site on Apache:-

axis2

This is a mature well thought out SOAP framework which is widly deployed.

As well as the soap client and server componemtns there are a number of development tools
with will enable you to SOAPify an existing java class, or, generate the Java class stubs from a SOAP WSDL definition.

霊感 2024-10-10 01:38:56

看一下 Apache Servicemix

Apache ServiceMix 是一个开源项目
ESB(企业服务总线)
结合了一个的功能
面向服务的架构(SOA)
和事件驱动架构 (EDA)
创建敏捷的企业 ESB。

此外,ServiceMiix 的最新主要版本构建在 OSGi 之上 - 一个“模块系统和服务” Java 平台”。

Take a look at Apache Servicemix:

Apache ServiceMix is an open source
ESB (Enterprise Service Bus) that
combines the functionality of a
Service Oriented Architecture (SOA)
and an Event Driven Architecture (EDA)
to create an agile, enterprise ESB.

Additionally, the latest major release of ServiceMiix is built on top of OSGi - a "module system and service platform for Java".

蓝梦月影 2024-10-10 01:38:56

SOA是一种思想,是一种架构理念,而Web服务是完成它的技术途径之一。 Web 服务是实现 SOA 的首选标准。

如果您需要将现有系统集成或制作为业务服务,您只需要创建松散耦合的包装器,这是您自己的包装器,它将包装您的自定义系统并以通用方式向外部世界公开系统功能。

在 SOA 中,我们需要松散耦合的服务。 Web 服务使用基于 XML 的 SOAP 协议进行通信,该协议是非常松散耦合的。它回答了服务的哪个部分。

您可以使用 Axis2 Web 服务来实现它。

SOA is a thinking, it’s an architectural concept, and web service is one of the technical approaches to complete it. Web services are the preferred standards to achieve SOA.

If you need to integrate or make an existing system as a business service, you just need to create loosely coupled wrappers which is your own wrapper and will wrap your custom systems and expose the systems functionality in a generic fashion to the external world.

In SOA we need services to be loosely coupled. A web service communicates using the SOAP protocol which is XML based, which is very loosely coupled. It answers the what part of the service.

you can use Axis2 web services to implement it.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文