Yes .Net code has to be n-compiled to take make it really fast.
No it doesn't. JIT compilation itself really doesn't take that long,
when seen in the context of the whole lifetime of the process.
As for JSP and RMIs and EJbs and WebServices i agree they are synonymous but
not extactly to what .Net offers. JSP is more synonymous to classic ASP than
ASP.NET. They are indeed compiled to Java classes and byte code but there
isnt a precise seperation of presentation layer from presentation logic.
If you want to do things badly and mix business logic and presentation
logic, you can do so on either platform. I agree that the "code
behind" idea is a good one in ASP.NET though.
And ofcourse Events, you dont have much flexibility in those terms.
It's certainly not event-driven in the way that ASP.NET is, but I'm not
sure whether or not that's actually an advantage. ASP.NET seems to be
trying to hide the real request-response nature of web-browsing by
making it all look like Windows forms. It's the kind of thing which is
great when it works, and a pain when it doesn't - I generally prefer to
have as little "magic" (like Javascript being generated automatically)
done for me as possible. (I don't use GUI wizards generally, for
instance.)
RMI is synonymous to Remoting but i would say its stands with DCOM. Would
probably need some patch work. Dont know if Sun is doing anything on RMI in
its Sun One initiative.
EJBs stand somewhere between COM and .Net components but they do have a lot
of application server support. COM+ being the only applicaion server for COM
and now the .Net components
Yes - EJBs do seem to do an awful lot, but I don't know enough about
either them or COM+ to make a good comparison.
Plus this is just the software aspect of decision making. Dont forget your
hardware costs. Why on earth would anyone Java on Windows box (apart from
good dev environments), when they dont fail to curse microsoft for almost
everything. So if you have sufficient funds you will have to spend couple of
thousands on a solaris box. I wish people with lot of money could lend me
some instead.... my dual procs getting old and i would like replace it with
a AMD64(probably cost 1/10 the price of a solaris box unless you try it on
x86 arch.. but god have mercy on your soul - cause the driver support
sucks).
I don't see anything wrong with using Java on Windows, to be honest.