国产剧情视频在线观看-国产剧情麻豆女教师在线观看-国产剧情精品在线观看-国产剧情精品-国产剧情91-国产玖玖在线观看


曙海教育集團(tuán)論壇開發(fā)語言培訓(xùn)專區(qū)Microsoft.NET Framework → Microsoft .NET vs. J2EE:


  共有10036人關(guān)注過本帖樹形打印

主題:Microsoft .NET vs. J2EE:

美女呀,離線,留言給我吧!
wangxinxin
  1樓 個(gè)性首頁 | 博客 | 信息 | 搜索 | 郵箱 | 主頁 | UC


加好友 發(fā)短信
等級:青蜂俠 帖子:1393 積分:14038 威望:0 精華:0 注冊:2010-11-12 11:08:23
Microsoft .NET vs. J2EE:  發(fā)帖心情 Post By:2010-12-15 11:13:20

What exactly is the .NET platform [and] how does the .NET architecture measure up against J2EE?

Java runs on any platform with a Java VM. C# only runs in Windows for the foreseeable future.

.NET and J2EE offer pretty much the same laundry list of features, albeit in different ways.

By allowing cross-language component interactions, .NET is enfranchising Perl, Eiffel, Cobol, and other programmers.

.NET is a good thing for those of you committed to Microsoft architectures.

.NET will undoubtedly become the default development environment for Microsoft platforms.

However, several of the goals of the .NET platform are fairly lofty and not at all guaranteed to fly, at least not in the short term.

It would be easy to dismiss .NET as more Microsoft marketing-ware and continue on your merry way. But don't.

[Microsoft is] fighting Java and open source initiatives on their own terms, putting their own spin on "open" and attempting to directly address the needs of developers.

If you consider yourself an evangelist for Java or open source platforms, then the nature of the war is changing. Be prepared.

Microsoft has put a stake in the ground with SOAP, and they're pushing hard to put something understandable and useful in the hands of developers. J2EE proponents need to do the same with their platform.

Even if you don't write code dedicated to Microsoft platforms, you have probably heard by now about Microsoft .NET, Microsoft's latest volley in their campaign against all things non-Windows. If you've read the media spin from Microsoft, or browsed through the scant technical material available on the MSDN site, or even if you attended the Microsoft Professional Developers' Conference (where the .NET platform was officially "launched"), you're probably still left with at least two big questions:

  • What exactly is the .NET platform?
  • How does the .NET architecture measure up against J2EE?

And, if you think more long-term, you might have a third question rattling around your head:

  • What can we learn from the .NET architecture about pushing the envelope of enterprise software development?

The .NET framework is at a very early stage in its lifecycle, and deep details are still being eked out by the Microsoft .NET team. But we can, nevertheless, get fairly decent answers to these questions from the information that's already out there.

What is it?

Current ruminations about .NET in various forums are reminiscent of the fable of the three blind men attempting to identify an elephant: It's perceived as very different things, depending on your perspective. Some see .NET as Microsoft's next-generation Visual Studio development environment. Some see it as yet another new programming language (C#). Some see it as a new data-exchange and messaging framework, based on XML and SOAP. In reality, .NET wants to be all of these things, and a bit more.

First, let's get some concrete details. Here's one cut at an itemized list of the technical components making up the .NET platform:

  • C#, a "new" language for writing classes and components, that integrates elements of C, C++, and Java, and adds additional features, like metadata tags, related to component development.

  • A "common language runtime", which runs bytecodes in an Internal Language (IL) format. Code and objects written in one language can, ostensibly, be compiled into the IL runtime, once an IL compiler is developed for the language.

  • A set of base components, accessible from the common language runtime, that provide various functions (networking, containers, etc.).

  • ASP+, a new version of ASP that supports compilation of ASPs into the common language runtime (and therefore writing ASP scripts using any language with an IL binding).

  • Win Forms and Web Forms, new UI component frameworks accessible from Visual Studio.

  • ADO+, a new generation of ADO data access components that use XML and SOAP for data interchange.

How do .NET and J2EE compare?

As you can see, the .NET platform has an array of technologies under its umbrella. Microsoft is ostensibly presenting these as alternatives to other existing platforms, like J2EE and CORBA, in order to attract developers to the Windows platform. But how do the comparisons play out item-by-item? One way to lay out the alternatives between .NET and J2EE is shown in the following table:

Microsoft.NET J2EE Key differentiators
C# programming language Java programming language C# and Java both derive from C and C++. Most significant features (e.g., garbage collection, hierarchical namespaces) are present in both. C# borrows some of the component concepts from JavaBeans (properties/attributes, events, etc.), adds some of its own (like metadata tags), but incorporates these features into the syntax differently.

Java runs on any platform with a Java VM. C# only runs in Windows for the foreseeable future.

C# is implicitly tied into the IL common language runtime (see below), and is run as just-in-time (JIT) compiled bytecodes or compiled entirely into native code. Java code runs as Java Virtual Machine (VT) bytecodes that are either interpreted in the VM or JIT compiled, or can be compiled entirely into native code.

.NET common components (aka the ".NET Framework SDK") Java core API High-level .NET components will include support for distributed access using XML and SOAP (see ADO+ below).
Active Server Pages+ (ASP+) Java ServerPages (JSP) ASP+ will use Visual Basic, C#, and possibly other languages for code snippets. All get compiled into native code through the common language runtime (as opposed to being interpreted each time, like ASPs). JSPs use Java code (snippets, or JavaBean references), compiled into Java bytecodes (either on-demand or batch-compiled, depending on the JSP implementation).
IL Common Language Runtime Java Virtual Machine and CORBA IDL and ORB .NET common language runtime allows code in multiple languages to use a shared set of components, on Windows. Underlies nearly all of .NET framework (common components, ASP+, etc.).

Java's Virtual Machine spec allows Java bytecodes to run on any platform with a compliant JVM.

CORBA allows code in multiple languages to use a shared set of objects, on any platform with an ORB available. Not nearly as tightly integrated into J2EE framework.

Win Forms and Web Forms Java Swing Similar web components (e.g., based on JSP) not available in Java standard platform, some proprietary components available through Java IDEs, etc.

Win Forms and Web Forms RAD development supported through the MS Visual Studio IDE - no other IDE support announced at this writing. Swing support available in many Java IDEs and tools.

ADO+ and SOAP-based Web Services JDBC, EJB, JMS and Java XML Libraries (XML4J, JAXP) ADO+ is built on the premise of XML data interchange (between remote data objects and layers of multi-tier apps) on top of HTTP (AKA, SOAP). .NET's web services in general assume SOAP messaging models. EJB, JDBC, etc. leave the data interchange protocol at the developer's discretion, and operate on top of either HTTP, RMI/JRMP or IIOP.

The comparisons in this table only scratch the surface. Here's an executive summary of .NET vs. J2EE:

Features: .NET and J2EE offer pretty much the same laundry of list of features, albeit in different ways.

Portability: The .NET core works on Windows only but theoretically supports development in many languages (once sub-/supersets of these languages have been defined and IL compilers have been created for them). Also, Net's SOAP capabilities will allow components on other platforms to exchange data messages with .NET components. While a few of the elements in .NET, such as SOAP and its discovery and lookup protocols, are provided as public specifications, the core components of the framework (IL runtime environment, ASP+ internals, Win Forms and Web Forms component "contracts", etc.) are kept by Microsoft, and Microsoft will be the only provider of complete .NET development and runtime environments. There has already been some pressure by the development community for Microsoft to open up these specifications, but this would be counter to Microsoft's standard practices.

J2EE, on the other hand, works on any platform with a compliant Java VM and a compliant set of required platform services (EJB container, JMS service, etc., etc.). All of the specifications that define the J2EE platform are published and reviewed publicly, and numerous vendors offer compliant products and development environments. But J2EE is a single-language platform. Calls from/to objects in other languages are possible through CORBA, but CORBA support is not a ubiquitous part of the platform.

The Bigger Picture

These last points highlight some of the key differentiators between .NET and J2EE, and point towards Microsoft's real play here. Microsoft is doing two very notable things with .NET: It is opening up a channel to developers in other programming languages, and it is opening up a channel to non-.NET components by integrating XML and SOAP into their messaging scheme.

By allowing cross-language component interactions, .NET is enfranchising Perl, Eiffel, Cobol, and other programmers by allowing them to play in the Microsoft sandbox. Devotees of these languages are particularly amenable to gestures like this, since for the most part they have felt somewhat disenfranchised and marginalized in the Microsoft/Sun/Open Source wars. And by using XML and SOAP in their component messaging layer, Microsoft is bolstering their diplomatic face and adding an element of openness to their platform, providing ammunition against claims of proprietary behavior.

What's the correct response?

For Microsoft developers:

.NET is a good thing for those of you committed to Microsoft architectures. ASP+ is better than ASP, ADO+ is better, but different, than ADO and DCOM, C# is better than C and C++. The initial version of .NET won't be real until sometime in 2001, so you have some time to prepare, but this will undoubtedly become the default development environment for Microsoft platforms. And if you're developing within the Microsoft development framework now, you will undoubtedly benefit from adopting elements of the .NET framework into your architectures.

However, several of the goals of the .NET platform are fairly lofty and not at all guaranteed to fly, at least not in the short term. The IL common language runtime, for example, has some fairly significant hurdles to overcome before it has any real payoff for developers. Each language that wants to integrate with the component runtime has to define a subset/superset of the language that maps cleanly into and out of the IL runtime, and has to define constructs that provide the component metadata that IL requires. Then compilers (x-to-IL and IL-to-x) will have to be developed to both compile language structures (objects, components, etc.) into IL component bytecodes, and also generate language-specific interfaces to


支持(0中立(0反對(0單帖管理 | 引用 | 回復(fù) 回到頂部

返回版面帖子列表

Microsoft .NET vs. J2EE:








簽名
国产剧情视频在线观看-国产剧情麻豆女教师在线观看-国产剧情精品在线观看-国产剧情精品-国产剧情91-国产玖玖在线观看
<dfn id="is4kg"></dfn>
  • <ul id="is4kg"></ul>
  • <abbr id="is4kg"></abbr>
  • <ul id="is4kg"></ul>
    <bdo id="is4kg"></bdo>
    伊人影院久久| 欧美一区二区三区四区在线 | 欧美精品在线观看91| 久久久www成人免费精品| 亚洲欧美激情一区二区| 亚洲欧美激情一区| 香蕉久久夜色| 亚洲欧美综合精品久久成人| 亚洲欧美欧美一区二区三区| 午夜精品福利一区二区三区av| 亚洲免费网站| 欧美亚洲在线播放| 久久精品国产精品亚洲精品| 久久国产主播精品| 久久久九九九九| 美腿丝袜亚洲色图| 欧美大片网址| 欧美激情综合色| 欧美日韩亚洲高清一区二区| 欧美亚洲成人网| 国产乱码精品| 国产一区视频在线看| 一区二区三区中文在线观看| 最近中文字幕mv在线一区二区三区四区 | 日韩亚洲视频在线| 亚洲视频第一页| 亚洲欧洲99久久| 久久精品一区二区三区四区| 免费短视频成人日韩| 欧美高清在线精品一区| 欧美日韩美女在线| 国产精品久久久久毛片软件 | 日韩视频免费大全中文字幕| 夜夜精品视频一区二区| 亚洲在线观看免费视频| 欧美综合国产| 欧美va日韩va| 欧美肉体xxxx裸体137大胆| 欧美视频免费在线| 国产性天天综合网| 亚洲激情中文1区| 亚洲一区二区三区高清不卡| 久久久夜夜夜| 欧美麻豆久久久久久中文| 国产精品亚洲综合天堂夜夜| 在线精品视频一区二区三四| 一区二区欧美精品| 久久久91精品国产| 欧美日韩一二区| 国产一区 二区 三区一级| 亚洲激情视频在线播放| 亚洲一区二区动漫| 久久久久综合| 欧美三级韩国三级日本三斤| 国内一区二区三区在线视频| 亚洲精品字幕| 欧美专区在线观看一区| 欧美极品aⅴ影院| 国产精品亚洲一区二区三区在线| 在线日本高清免费不卡| 亚洲午夜av电影| 美日韩精品免费观看视频| 国产精品久久久久三级| 在线观看欧美激情| 亚洲欧美成人一区二区在线电影| 美女精品国产| 国产欧美精品一区| 亚洲精品社区| 久久精品91久久久久久再现| 欧美欧美午夜aⅴ在线观看| 国产亚洲制服色| 一本色道久久综合亚洲精品小说| 久久久久欧美| 国产精品成人一区二区三区吃奶| 亚洲高清在线视频| 欧美一区二区日韩| 欧美日韩亚洲一区二区| 黄色精品一二区| 亚洲影音先锋| 欧美精品免费观看二区| 韩国av一区| 午夜激情综合网| 欧美日本免费| 亚洲国产高清一区| 久久精品视频播放| 国产精品日韩在线观看| 亚洲精品一区二区三区不| 久久久久久夜精品精品免费| 国产美女在线精品免费观看| 99热精品在线| 欧美国产免费| 一区二区在线看| 欧美中在线观看| 国产精品久久婷婷六月丁香| 日韩一二在线观看| 美日韩在线观看| 红桃视频国产精品| 欧美一区二区三区在线看| 久久影院午夜片一区| 国产区日韩欧美| 亚洲字幕一区二区| 欧美日韩综合在线| 日韩视频三区| 欧美成人a∨高清免费观看| 精品91免费| 久久国产手机看片| 国产小视频国产精品| 亚洲欧美成人一区二区在线电影| 欧美丝袜第一区| 一级日韩一区在线观看| 欧美精品久久一区| 亚洲毛片在线| 欧美精品久久99| 亚洲精品免费一二三区| 欧美第一黄网免费网站| 亚洲电影第三页| 女人色偷偷aa久久天堂| 亚洲国产精品毛片| 欧美高清一区| 亚洲激情专区| 欧美大胆人体视频| 亚洲级视频在线观看免费1级| 欧美大片在线看| 亚洲精品一区二区在线观看| 欧美精品电影在线| 99伊人成综合| 欧美亚州在线观看| 午夜激情亚洲| 国产视频在线一区二区| 久久久精品国产免大香伊| 国内成人自拍视频| 久久这里只有| 亚洲国产天堂久久综合网| 欧美二区在线| 日韩亚洲欧美一区| 国产精品ⅴa在线观看h| 午夜精品短视频| 韩国av一区二区三区| 老鸭窝毛片一区二区三区| 亚洲人成在线观看一区二区| 欧美日韩精品一区二区在线播放| 亚洲社区在线观看| 国产欧美 在线欧美| 久久九九热免费视频| 亚洲福利一区| 欧美日韩日日骚| 午夜精品av| 伊甸园精品99久久久久久| 欧美黄色免费网站| 亚洲深夜福利| 国产视频在线观看一区二区三区| 久久综合激情| 99精品视频免费观看| 国产精品一卡| 另类激情亚洲| 一本色道久久综合| 国产嫩草一区二区三区在线观看| 久久久久久久久久久一区| 亚洲精品一品区二品区三品区| 国产精品成人播放| 久久久精品一区| 亚洲美女av电影| 国产欧美精品日韩区二区麻豆天美| 久久永久免费| 亚洲天堂av高清| 黄色成人免费网站| 欧美日韩一区二区视频在线观看| 欧美亚洲综合在线| 亚洲国产一区二区三区a毛片| 国产精品成人午夜| 久久午夜色播影院免费高清| 日韩一区二区福利| 国产亚洲欧美中文| 欧美日韩高清免费| 久久aⅴ国产欧美74aaa| 亚洲精品乱码久久久久久黑人| 国产精品视频区| 欧美成人一品| 欧美一区二区三区成人| 亚洲成人自拍视频| 国产精品日韩欧美大师| 免费久久精品视频| 亚洲欧美日韩视频一区| 亚洲国产天堂久久国产91| 国产精品天天看| 欧美国产欧美综合 | 国产精品入口麻豆原神| 久久频这里精品99香蕉| 亚洲一区二区在线免费观看视频| 一区二区亚洲精品国产| 国产精品v日韩精品| 免费日韩成人| 欧美一区观看| 一区二区三区欧美亚洲| 精品盗摄一区二区三区| 国产精品二区三区四区| 欧美成人一区二免费视频软件| 欧美中文字幕视频| 亚洲一区二区三区免费在线观看 | 亚洲午夜精品国产|