Java和.NET技术/框架的类似物 [英] Analogues of Java and .NET technologies/frameworks
问题描述
我在一个主要是Java和.NET技术人员的商店里工作。当讨论新的解决方案和架构时,我们经常遇到阻碍,试图比较两个阵营之间使用的各种技术,框架,API等。看起来每个阵营对另一个阵营知之甚少,我们最后将苹果和橘子比较,忘记了bushels。
在研究这个话题时,我发现这个: Java - > .Net粗糙等同物
这是一个很好的列表,但它不是很详尽,缺少关键的.NET 3.0技术和一些其他tidbits。要完成该列表:在Java中,以下的.NET中的近似/粗略的等价物(或技术的组合)是什么?
- WCF〜=
- WPF〜=
- Silverlight〜=
- WF〜=
- 泛型〜=
- 扩展方法〜=
- Lambda表达式〜=
- Linq(not Linq-to-SQL)〜=
- TPL〜=
- F#〜=
- IronPython〜=
- IronRuby〜=
- ...我错过了什么吗?
Java技术(有.NET等效项吗?):
- 〜= EJB
- 〜= WebSphere
- 〜= GlassFish
- 〜= JBoss App Server
- 〜= Tomcat
请注意,我省略了链接文章。我也想听听关于链接文章是否准确的反馈。 >
注意:这似乎是一个wiki类型的文章,所以我标记为这样。
.NET - > Java
- WCF 〜= JAX-WS (作为WS)和/或 JMS (适用于MQ)。
- WPF 〜= Swing (如UI), Java 2D (针对2D), Java 3D (适用于3D)和/或 RMI (用于远程处理)。
- Silverlight 〜= JavaFX
- WF 〜=不确定?有人说这是 CAPS 。
- 通用已可用,因为 Java 5.0 。主要区别在于它是compiletime(不是 Reified )。
- Lambda表达式尚未在Java 8.0中作为关闭
- Linq 〜= Jaque 和 jpropel-light
- TPL 〜=
java.util.concurrent
(在此处指导和 tutorial here ) - F#〜= Scala 或 Clojure
- IronPython 〜= Jython
- IronRuby 〜= JRuby
Java - > .NET
- EJB 〜= MTS / COM +
- WebSphere AS , GlassFish , JBoss AS 都是具体的 Java EE API 实现。 .NET相当于至少具有MTS / COM +支持的IIS(是否存在IIS的竞争?)。
- Tomcat 是一个 webcontainer aka servletcontainer,它只实现了巨大的 Web组件部分Java EE API(基本上只有
javax.el
和javax.servlet
部分, JSP / EL 和 Servlet API )。 .NET相当于仍然是IIS,但是不支持MTS / COM +,邮件,消息队列,持久性等等。也就是说只有一个简单的网络服务器为纯经典ASP。
I work in a shop that is a mix of mostly Java and .NET technologists. When discussing new solutions and architectures we often encounter impedance in trying to compare the various technologies, frameworks, APIs etc. in use between the two camps. It seems that each camp knows little about the other and we end up comparing apples to oranges and forgetting about the bushels.
While researching the topic I found this: Java --> .Net rough equivalents
It's a nice list but it's not quite exhaustive and is missing the key .NET 3.0 technologies and a few other tidbits. To complete that list: what are the near/rough equivalents (or a combination of technologies) in Java to the following in .NET?
- WCF ~=
- WPF ~=
- Silverlight ~=
- WF ~=
- Generics ~=
- Extension Methods ~=
- Lambda expressions ~=
- Linq (not Linq-to-SQL) ~=
- TPL ~=
- F# ~=
- IronPython ~=
- IronRuby ~=
- ...have i missed anything else?
Java Technologies (are there .NET equivalents?):
- ~= EJB
- ~= WebSphere
- ~= GlassFish
- ~= JBoss App Server
- ~= Tomcat?
Note that I omitted technologies that are already covered in the linked article. I would also like to hear feedback on whether the linked article is accurate.
Note: This seems to be turning into a wiki-type article so i marked it as such.
.NET --> Java
- WCF ~= JAX-WS (as WS) and/or JMS (for MQ).
- WPF ~= Swing (as UI), Java 2D (for 2D), Java 3D (for 3D) and/or RMI (for remoting).
- Silverlight ~= JavaFX
- WF ~= not sure? Some say that it's CAPS.
- Generics is already available since Java 5.0. Major difference is that it's compiletime (not Reified).
- Lambda expressions is yet to be come in Java 8.0 as "Closures"
- Linq ~= Jaque and jpropel-light
- TPL ~=
java.util.concurrent
(guide here and tutorial here) - F# ~= Scala or Clojure
- IronPython ~= Jython
- IronRuby ~= JRuby
Java --> .NET
- EJB ~= MTS/COM+
- WebSphere AS, GlassFish, JBoss AS are all concrete Java EE API implementations. The .NET equivalent would be IIS with at least MTS/COM+ support (is there by the way competition for IIS?).
- Tomcat is a webcontainer aka servletcontainer, it only implements the Web Component part of the huge Java EE API (basically only the
javax.el
andjavax.servlet
parts, the JSP/EL and Servlet API). The .NET equivalent would be still IIS, but then without support for MTS/COM+, mail, message queue, persistence and more. I.e. only a simple web server for pure "Classic ASP".
这篇关于Java和.NET技术/框架的类似物的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!