词条 | J Sharp |
释义 |
| name = Visual J# | logo = | caption = | file_ext = | paradigm = Object-oriented, structured, imperative | year = {{Start date|2002}} | designer = | developer = Microsoft | latest_release_version = v2.0 Second Edition | latest_release_date = {{Start date and age|2007|05|18|df=yes}} | latest_test_version = | latest_test_date = | typing = | implementations = | dialects = | influenced_by = Java and Visual J++ | influenced = | platform = .NET Framework | license = | website = | wikibooks = }} Visual J# (pronounced "jay-sharp") is an implementation of the J# programming language that was a transitional language for programmers of Java and Visual J++ languages, so they could use their existing knowledge and applications with the .NET Framework.[1][2] It was introduced in 2002 and discontinued in 2007, with support for the final release of the product continuing until October 2017. J# worked with Java bytecode as well as source so it could be used to transition applications that used third-party libraries even if their original source code was unavailable.{{Citation needed|date=February 2017}} It was developed by the Hyderabad-based Microsoft India Development Center at HITEC City in India.[3][4] Fundamental differences between J# and JavaJava and J# use the same general syntax but there are non-Java conventions in J# to support the .NET environment. For example, to use .NET "properties" with a standard JavaBean class, it is necessary to prefix getter and setter methods with the Javadoc-like annotation: …and change the corresponding private variable name to be different from the suffix of the getXxx/setXxx names{{Citation needed|date=February 2017}}. J# does not compile Java-language source code to Java bytecode (.class files), and does not support Java applet development or the ability to host applets directly in a web browser, although it does provide a wrapper called Microsoft J# Browser Controls for hosting them as ActiveX objects. Finally, Java Native Interface (JNI) and raw native interface (RNI) are substituted with P/Invoke; J# does not support remote method invocation (RMI).{{Citation needed|date=February 2017}} JavaWorld said: "J#'s interface to the .NET framework is solid, but not as seamless as C#. In particular, J# code cannot define new .NET attributes, events, value types, or delegates. J# can make use of these language constructs if they are defined in an assembly written in another language, but its inability to define new ones limits J#'s reach and interoperability compared to other .NET languages."[5] Contrariwise, Microsoft documentation for Visual Studio 2005, details the definition of .NET delegates,[6] events,[7] and value types[8] directly in J#. Future of J#In January 2007, Microsoft announced:[9]
A link to download Visual J# 2005 Express Edition is no longer available from Microsoft's website Visual J# is out of mainstream support but "Visual J# 2.0 Redistributable Second Edition released in 2007, with support continuing through to 2017 (5 years mainstream and 5 years extended support) on EN-US locales."[12] Support for the Visual J# Version 2.0 Redistributable Package Second Edition was discontinued on October 10, 2017.[13] See also
References1. ^{{Cite web|url=https://msdn.microsoft.com/en-us/vstudio/bb188593|title=Visual J# Home|website=msdn.microsoft.com|language=en|access-date=2017-03-24}} 2. ^{{webarchive|url=https://web.archive.org/web/20080423005729/http://msdn2.microsoft.com:80/en-us/vjsharp/aa700852.aspx|date=2008-04-23|title=Java to .NET Framework Migration Workshop: Free Online Training}} 3. ^S Prasanna, Microsoft's VJ#.Net is made in India, Express Computer, 29 July 2002 {{webarchive|url=https://web.archive.org/web/20131128170355/http://computer.financialexpress.com/20020729/indnews3.shtml |date=28 November 2013 }} 4. ^{{cite news|title=The Hindu Business Line : Microsoft lines up big plans for Hyderabad centre|url=http://www.thehindubusinessline.com/bline/2002/08/15/stories/2002081500530700.htm|work=www.thehindubusinessline.com}} 5. ^{{cite web|url=http://www.javaworld.com/javaworld/jw-11-2001/jw-1121-iw-jsharp.html|title=Just don't call J# Java|first=Tom|last=Yager|publisher=|accessdate=6 March 2017}} 6. ^{{Cite web|url=https://msdn.microsoft.com/en-us/library/0kks3c36(v=vs.80).aspx|title=delegate (Visual J#)|last=|first=|date=|website=msdn.microsoft.com|language=en|archive-url=https://web.archive.org/web/20111219230625/http://msdn.microsoft.com/en-US/library/0kks3c36(v=VS.80).aspx|archive-date=2011-12-19|dead-url=yes|access-date=2017-03-24}} 7. ^{{Cite web|url=https://msdn.microsoft.com/en-us/library/09b0135h(v=vs.80).aspx|title=Definition and Use of Events|website=msdn.microsoft.com|language=en|access-date=2017-03-24}} 8. ^{{Cite web|url=https://msdn.microsoft.com/en-us/library/wysdab55(v=vs.80).aspx|title=User-Defined Value Types|website=msdn.microsoft.com|language=en|access-date=2017-03-24}} 9. ^Microsoft Developer Network, Visual J# Product Announcement, 10 January 2007 10. ^{{webarchive|url=https://web.archive.org/web/20070523221606/http://www.microsoft.com/downloads/details.aspx?familyid=42C46554-5313-4348-BF81-9BB133518945&displaylang=en|date=2007-05-23|title=Visual J# 2.0 Second Edition Redistributable Download}} 11. ^{{cite web|url=http://blogs.windwardreports.com/davidt/2011/02/calling-j-code-from-net-40.html|title=Calling J# code from .NET 4.0 - Windward Wrocks|publisher=|accessdate=6 March 2017}} 12. ^{{cite web|url=https://msdn.microsoft.com/en-us/vstudio/bb188593|title=Visual J# Home|publisher=|accessdate=6 March 2017}} 13. ^{{Cite news|url=https://blogs.msdn.microsoft.com/visualstudio/2017/04/10/end-of-support-for-visual-studio-2008-in-one-year/|title=End of Support for Visual Studio 2008 – in One Year|access-date=2017-04-11|language=en-US}} External links
5 : .NET programming languages|2002 software|Java development tools|Java programming language family|Microsoft Visual Studio |
随便看 |
|
开放百科全书收录14589846条英语、德语、日语等多语种百科知识,基本涵盖了大多数领域的百科知识,是一部内容自由、开放的电子版国际百科全书。