简体   繁体   English

Java开发人员的SOA技术选择

[英]SOA technology choice for Java Developer

I am a newbie Java EE 6 Developer (EJB 3.1 ; JPA 2.0 ; JSF 2.0; etc..). 我是新手Java EE 6开发人员(EJB 3.1; JPA 2.0; JSF 2.0;等等。)。 I want to start learning SOA using Java. 我想开始使用Java学习SOA。 I found 2 ways: 我发现了两种方法:

  • SOAP: which is complicated and boring to learn; SOAP:这是复杂且无聊的学习; the only strong point: is the UDDI/WSDL listing 唯一的优点:UDDI / WSDL清单
  • REST: easy to learn & to deploy; REST:易于学习和部署; many strong points : performance, security, speed... 许多优点:性能,安全性,速度...

My question: What the market needs now? 我的问题:现在市场需要什么?
SOAP or REST? SOAP还是REST? If I choose REST, it will be the right choice ?? 如果我选择REST,那将是正确的选择??

This will depend a lot on your business area. 这将在很大程度上取决于您的业务领域。 For fast moving technology areas such as back end for mobile phone apps, ticket systems, anything Google or areas where you have most of the control yourself - REST is probably the best choice, but if you work with business areas that changes technology slower, SOAP is still dominant and will be for a very long time. 对于快速发展的技术领域,例如手机应用程序的后端,票务系统,任何Google或您拥有大部分控制权的领域-REST可能是最佳选择,但是如果您使用技术变化较慢的业务领域,则SOAP仍将占主导地位,并将持续很长时间。 Examples are banking, medicine etc. It is often the same areas that get a lot of value out of the strict WSDL design. 例如银行业,医学等。从严格的WSDL设计中获得收益的往往是同一领域。

it is no "right" choice, it depends on what you are working with, and what kind of systems you plan to integrate with. 这不是“正确”的选择,它取决于您使用的是什么以及计划与哪种系统集成。 That being said, REST is probably the architecture for the future. 话虽这么说,REST可能是未来的架构。

to get more information, read this: Representational state transfer (REST) and Simple Object Access Protocol (SOAP) 要获取更多信息,请阅读以下内容: 代表性状态传输(REST)和简单对象访问协议(SOAP)

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM