简体   繁体   English

Web服务@ .net或Java

[英]web services @.net or java

confusion in using either jax-ws(java) or .NET for implementing the web services. 使用jax-ws(java)或.NET来实现Web服务时的困惑。 i would like to develop some web services and check the security loopholes in them(means to stimulate some attacks in SOA such as coercive parsing attack, dos attack etc..) 我想开发一些Web服务并检查其中的安全漏洞(指的是刺激SOA中的某些攻击,例如强制解析攻击,Dos攻击等。)
Which one either Java (or) .NET will be better for programming the web services for beginners? Java(或).NET中哪一种对初学者的Web服务编程会更好?

Historically, .net has been better at "turn-key" web-service solutions, with cohesive tool support, whereas Java web-service development has generally been seen as more complicated, but with better flexibility and interoperability. 从历史上看,.net在具有内聚工具支持的“交钥匙式” Web服务解决方案方面一直比较出色,而Java Web Service开发通常被认为更复杂,但具有更好的灵活性和互操作性。

As time has passed, these stereotypes have become less pronounced, with Java tools becoming more intuitive, and microsoft stuff becoming better at interoperability. 随着时间的流逝,这些刻板印象变得越来越不明显,Java工具变得更加直观,Microsoft的东西在互操作性方面也变得更好。

As for your question, if you want to analyze security holes, then picking one or the other doesn't really make sense, since they're bound to have different problems. 至于您的问题,如果您想分析安全漏洞,那么选择一个或另一个并没有任何意义,因为它们必然会有不同的问题。

But if you must pick one, and you have no familiarity with either, then my guess is that you'll get further and faster using a .NET tool than a Java one (and I say that as a Java developer). 但是,如果您必须选择一个,并且对这两个都不熟悉,那么我的猜测是,使用.NET工具会比使用Java开发工具更快(并且我说这是Java开发人员)。

I suspect it hinges on which language and platform you're more familiar with. 我怀疑这取决于您更熟悉哪种语言和平台。 I would choose Java due to my years of experience on the Java platform. 由于我在Java平台上的多年经验,我会选择Java。 They'll both have the same level of support for web services - it's a question of familiarity with the tooling. 他们对Web服务的支持水平都相同-这是对工具熟悉程度的问题。

Choose the one you're most comfortable with. 选择最适合的一种。 There are lots of tutorials on the web for both alternatives. 网络上有很多关于这两种选择的教程。 To get started with easy web services both platforms have good IDE support that lets you create web services almost without writing any line of code yourself. 要开始使用简单的Web服务,两个平台都具有良好的IDE支持,使您几乎无需编写任何代码即可创建Web服务。

Here is an introductory tutorial using NetBeans. 这是使用NetBeans的入门教程

Also this is quite biased, I would say that Java (tooling) is more than capable for this task. 同样,这是有偏见的,我想说Java(工具)胜任这项任务。

However, it would be interesting to compare both regarding their security issues. 但是,将两者的安全性问题进行比较将很有趣。

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

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