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

Rss & SiteMap

曙海教育集團(tuán)論壇 http://www.bjzhda.cn

曙海教育集團(tuán)論壇
共1 條記錄, 每頁顯示 10 條, 頁簽: [1]
[瀏覽完整版]

標(biāo)題:Microsoft .NET vs. J2EE:

1樓
wangxinxin 發(fā)表于: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:

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

共1 條記錄, 每頁顯示 10 條, 頁簽: [1]

Copyright © 2000 - 2009 曙海教育集團(tuán)
Powered By 曙海教育集團(tuán) Version 2.2
Processed in .04688 s, 2 queries.
国产剧情视频在线观看-国产剧情麻豆女教师在线观看-国产剧情精品在线观看-国产剧情精品-国产剧情91-国产玖玖在线观看
<dfn id="is4kg"></dfn>
  • <ul id="is4kg"></ul>
  • <abbr id="is4kg"></abbr>
  • <ul id="is4kg"></ul>
    <bdo id="is4kg"></bdo>
    韩国三级电影一区二区| 亚洲乱码精品一二三四区日韩在线| 久久久久国色av免费看影院 | 欧美一区国产在线| 在线视频日韩精品| 亚洲免费大片| 亚洲精品永久免费| 亚洲精品久久嫩草网站秘色| 亚洲国产欧美一区| 亚洲韩国精品一区| 亚洲日本黄色| 亚洲精品在线二区| 日韩午夜电影av| 亚洲免费观看| 一区二区三区产品免费精品久久75| 9久草视频在线视频精品| 亚洲精品少妇30p| 亚洲人永久免费| 亚洲卡通欧美制服中文| 亚洲美女在线观看| 一区二区免费看| 夜夜精品视频| 亚洲永久网站| 欧美一区二区黄色| 久久国产欧美日韩精品| 久久狠狠亚洲综合| 久久综合色一综合色88| 免费成人av| 欧美久久久久久蜜桃| 欧美三级视频在线观看| 国产精品久久久久久久一区探花 | 一区二区精品在线| 亚洲网站视频| 亚洲欧美在线看| 久久国产66| 免费观看成人鲁鲁鲁鲁鲁视频| 男女视频一区二区| 欧美日韩高清不卡| 国产精品视频免费在线观看| 国产精品视频| 狠狠噜噜久久| 亚洲精品一区二区三区不| 亚洲午夜精品久久| 久久久久久久久久久久久女国产乱| 免费不卡在线观看av| 欧美日韩一区国产| 国产一级揄自揄精品视频| 亚洲国产精品高清久久久| 一区二区激情视频| 久久久久国色av免费观看性色| 欧美黄色一区二区| 国产精品青草久久| 在线日韩av片| 亚洲婷婷在线| 久久婷婷av| 欧美日韩亚洲高清一区二区| 国产精品成av人在线视午夜片| 国产在线视频欧美| 日韩一级精品视频在线观看| 欧美一区免费视频| 欧美国产日韩亚洲一区| 国产伦精品一区二区三区在线观看| 一区二区三区在线视频观看| 日韩午夜剧场| 欧美影片第一页| 欧美成熟视频| 国产精品视频最多的网站| 在线日韩中文| 先锋影音网一区二区| 欧美成人午夜激情在线| 国产日韩精品视频一区| 亚洲日本中文字幕免费在线不卡| 亚洲欧美在线另类| 欧美高清在线视频| 国产婷婷成人久久av免费高清 | 亚洲激情另类| 亚洲女同在线| 欧美精品福利视频| 好看的日韩视频| 亚洲性视频h| 欧美~级网站不卡| 国产午夜精品麻豆| 宅男精品导航| 欧美国产免费| 狠狠色狠狠色综合日日tαg| 亚洲视频成人| 欧美不卡高清| 韩国精品主播一区二区在线观看| 在线视频亚洲一区| 欧美sm重口味系列视频在线观看| 国产日韩欧美日韩| 亚洲一区免费在线观看| 欧美激情一区二区在线| 在线精品国产欧美| 久久er99精品| 国产精品亚洲成人| 在线视频一区观看| 欧美电影免费| 在线看片一区| 久久久999国产| 国产精品永久免费观看| 一本一本久久a久久精品综合妖精 一本一本久久a久久精品综合麻豆 | 亚洲精品一区二区网址| 久久五月天婷婷| 国产性做久久久久久| 亚洲在线视频观看| 欧美日韩综合视频| 亚洲美女性视频| 欧美大香线蕉线伊人久久国产精品| 国产综合自拍| 欧美在线观看视频| 国产精品亚洲一区二区三区在线| 一区二区三区 在线观看视频| 欧美激情中文不卡| 亚洲欧洲一区二区三区在线观看| 美女黄网久久| 在线国产精品播放| 久久婷婷人人澡人人喊人人爽| 国产一区二区三区成人欧美日韩在线观看 | 欧美图区在线视频| 99精品免费网| 欧美日韩精品一区二区三区四区| 亚洲精品一区二区三区福利| 欧美高清在线视频观看不卡| 亚洲国产日韩在线| 欧美成人黄色小视频| 亚洲国产高清高潮精品美女| 免费一级欧美片在线观看| 亚洲大胆人体在线| 欧美88av| 亚洲人成在线免费观看| 欧美日韩高清一区| 亚洲午夜在线视频| 国产精品实拍| 麻豆乱码国产一区二区三区| 一区二区三区色| 欧美国产日韩精品免费观看| 最新国产成人在线观看| 欧美大片免费久久精品三p | 欧美韩国在线| 亚洲欧洲一区二区在线播放| 欧美精品一区二区精品网 | 国产女主播一区二区| 欧美一级在线亚洲天堂| 国产午夜精品麻豆| 久久嫩草精品久久久精品| 亚洲夫妻自拍| 欧美日本亚洲| 亚洲永久精品大片| 国产亚洲午夜| 欧美1区2区视频| 99精品国产在热久久下载| 国产精品久久久久久影视 | 久久久久久久久综合| 在线免费观看日本欧美| 欧美精品激情在线观看| 中文精品视频| 国产片一区二区| 美女免费视频一区| 99国产精品久久久久老师| 国产精品久久看| 久久精品免费播放| 亚洲激情影院| 国产精品美女在线| 久久夜精品va视频免费观看| 久久亚洲不卡| 欧美在线一区二区| 亚洲丁香婷深爱综合| 欧美日韩免费观看一区三区| 亚洲欧美日韩成人高清在线一区| 精品av久久久久电影| 欧美日韩999| 欧美一区三区二区在线观看| 在线观看欧美| 欧美性猛片xxxx免费看久爱 | 在线日韩中文字幕| 欧美日韩亚洲网| 欧美一级久久久久久久大片| 亚洲欧洲另类| 国产精品一区三区| 嫩模写真一区二区三区三州| 国产精品99久久久久久有的能看| 国产日韩一区二区| 欧美精品久久久久久久久久| 亚洲欧美制服中文字幕| 亚洲福利视频二区| 国产精品区二区三区日本 | 亚洲精品美女91| 国产麻豆综合| 欧美精品在线看| 久久大香伊蕉在人线观看热2| 99pao成人国产永久免费视频| 国产日韩欧美中文在线播放| 欧美精品在线网站| 久久视频在线视频| 午夜视频精品| 一区二区av| 亚洲激精日韩激精欧美精品| 国产乱肥老妇国产一区二| 欧美精品激情在线|