Re: Visual J# and database programming

From: Bjorn Abelli (DoNotSpam.bjorn_abelli_at_hotmail.com)
Date: 11/12/03


Date: Wed, 12 Nov 2003 17:24:14 +0100


"Joona I Palaste" ...
> Andrew Thompson scribbled the following:
> > "sasquatch" wrote ...

> >> Is there a way to get Visual J# to use
> >> Sun's VM and not Microsofts?
>
> > Straight from the horses mouth..
> >
http://msdn.microsoft.com/vjsharp/using/techinfo/programming/default.aspx
> > "Microsoft Visual J# .NET is not a tool for developing
> > applications intended to run on a Java Virtual Machine."

> Search www.microsoft.com for "linux" and you get a link to a case study
> comparing two HTTP servers: Microsoft IIS and Apache. It says that IIS
> supports Java *better* than Apache... I wonder if people at Microsoft
> talk to each other?

Hey! You're talking past each other!

Java is one language. Mostly it's compiled into Java bytecode that can run
on a Java Virtual Machine or compatible.

J# is *another* language, but with Java-syntax to such extent that most
Java-code for version 1.1.4 and earlier can compile without any problem as
J#-code. The only J#-compiler I know of generates MSIL-code (Microsoft
Intermediate Language) for the Virtual Machine in the .NET-platform (CLR -
Common Language Runtime).

Since Microsoft decided not to further develop J++ (because of the
lawsuits...), they created this "new" language, J#, to facilitate an easier
transition into the .NET-world for those who came from J++ or Java.

The CLR and the JVM are two completely different Virtual Machines.

MSIL-code generated from J# cannot run on Sun's JVM.

So J# has nothing to do with whether IIS or Apache has "the best support for
Java". That's another cup of coffee... ;-)

// Bjorn A



Relevant Pages

  • Re: porting from C++Builder
    ... the java was growing and, obviously, microsoft initially ... they made their own programming language, in this case, c#, ... inhouse programming for data entry forms, fat client applications, ...
    (microsoft.public.dotnet.languages.vc)
  • Re: C# is a proprietary programming language ??
    ... I initially thought that C# is an ECMA standard as Microsoft submitted to them. ... It is open to everyone to create a compiler for C# or anything. ... Example, rpg language. ... > Java tried this too, ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: C History (was: null terminated strings)
    ... Java again, this time as a server language. ... Microsoft Transaction Server and convince everyone to pretend they ... created the design. ...
    (comp.os.vms)
  • Re: C# is a proprietary programming language ??
    ... >> Java tried this too, ... >> so when Microsoft added some extensions to the language to make it ... >> Of course, if you write code in C# on Windows, you can't run it on UNIX. ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: What are the needs of Visual Basic Express?
    ... >>fewer concepts immediately necessary to digest before the beginner can ... it makes sense to start a beginner on the simpler easier language ... >>change whenever Microsoft so dictates. ... > Microsoft that I have moved to Java. ...
    (comp.lang.basic.visual.misc)