Experience in integrating Java with C # and.NET

合集下载
  1. 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
  2. 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
  3. 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。

CONCURRENCY AND COMPUTATION:PRACTICE AND EXPERIENCE

Concurrency Computat.:Pract.Exper.2003;00:1–18Prepared using cpeauth.cls[Version:2002/09/19 v2.02]

SUMMARY

Java programmers cannot but be aware of the advent of C#, network environment,and a host of new supporting technologies,such as web services.Before taking the big step of moving all development to a new environment,programmers will want to know what are the advantages of C#as a language over Java,and whether the new and interesting features of C# can be incorporated into existing Java software.This paper surveys the advantages of C#and then presents and evaluates experience with connecting it to Java in a variety of ways.Thefirst way provides evidence that Java can be linked to C#at the native code level,albeit through C++wrappers. The second is a means for retaining the useful applet feature of Java in the server-side architecture of web services written in C#.The third is by providing a common XML-based class for the development of GUIs,which can be incorporated into Java or C#.An added advantage of this system,called Views,is that it can run independently of the resource-intensive development environment that would otherwise be needed for using C#.A major advantage of the methods described in this paper is that in all cases the Java program is not affected by the fact that it is interfacing with C#.The paper concludes that there are many common shared technologies that bring Java and C# close together,and that innovative ways of using others can open up opportunities not hitherto imagined.

key words:integration,Java,C#,XML,native code,web services,GUI

Copyright c 2003John Wiley&Sons,Ltd.

2J.BISHOP,R.N.HORSPOOL AND B.WORRALL

Copyright c 2003John Wiley&Sons,Ltd.Concurrency Computat.:Pract.Exper.2003;00:1–18 Prepared using cpeauth.cls

INTEGRATING JA V A WITH C#3 Copyright c 2003John Wiley&Sons,Ltd.Concurrency Computat.:Pract.Exper.2003;00:1–18 Prepared using cpeauth.cls

4J.BISHOP,R.N.HORSPOOL AND B.WORRALL

Copyright c 2003John Wiley&Sons,Ltd.Concurrency Computat.:Pract.Exper.2003;00:1–18 Prepared using cpeauth.cls

INTEGRATING JA V A WITH C#5 Copyright c 2003John Wiley&Sons,Ltd.Concurrency Computat.:Pract.Exper.2003;00:1–18 Prepared using cpeauth.cls

6J.BISHOP,R.N.HORSPOOL AND B.WORRALL

HelloWorld

Copyright c 2003John Wiley&Sons,Ltd.Concurrency Computat.:Pract.Exper.2003;00:1–18 Prepared using cpeauth.cls

INTEGRATING JA V A WITH C#7 Copyright c 2003John Wiley&Sons,Ltd.Concurrency Computat.:Pract.Exper.2003;00:1–18 Prepared using cpeauth.cls

相关文档
最新文档