Home > Archive > Java Help > April 2004 > Sun Java and Microsoft J#.net
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Sun Java and Microsoft J#.net
|
|
|
| Hi, I have recently been programming using the Sun java sdk but for a
project at college, I have to use Visual J#.net. What are the main
differences between the two? Which one is harder? Is there any difference
between the two API's?
Thanks
| |
| Christophe Vanfleteren 2004-04-17, 10:32 am |
| Mike wrote:
> Hi, I have recently been programming using the Sun java sdk but for a
> project at college, I have to use Visual J#.net. What are the main
> differences between the two? Which one is harder? Is there any difference
> between the two API's?
>
> Thanks
See my answer in c.l.j.programmer.
--
Kind regards,
Christophe Vanfleteren
| |
| Mark Preston 2004-04-17, 1:33 pm |
| Mike wrote:
> Hi, I have recently been programming using the Sun java sdk but for a
> project at college, I have to use Visual J#.net. What are the main
> differences between the two? Which one is harder? Is there any difference
> between the two API's?
>
In brief:-
1. Microsoft do not (yet) have any version of Java. Following the
agreement between Gates and Bill McNealy, that may change in future.
2. Visual J# is not even a close attempt at Java - it is a totally
different language designed (as is C#) to produce the .NET intermediate
code (rather than the Java intermediate code).
3. The .NET intermediate code does not run on a Java Virtual Machine (it
uses a .NET virtual machine). This virtual machine is NOT operating
system independent (as the JVM is).
4. Java does not use an API. J# does (it uses the .NET API set).
5. Both are workable - but only Java will produce system-independent
code and applications. Neither is particularly "hard".
As a matter of interest, the better comparison is between J# and J2EE
(with or without Tomcat etc.).
|
|
|
|
|