Code Newbie
News     Forums     Search     Members     Sign Up    

My Code Newbie
Username

Password

Articles/Snippets
ASP Classic
ASP.NET
C
C#
C++
HTML / CSS
Java
Javascript
Linux / BSD
Perl
PHP
Python
Ruby
SQL
VB 6
VB.NET

C.N. Friends
  Planet Rome

Link to Us!
Code Newbie
  Code Newbie
    forums
Go Back   Code Forums > Application and Web Development > Java
User Name
Password

Reply
 
LinkBack Thread Tools Display Modes
Old 07-21-2006, 06:17 AM   #1 (permalink)
complete
Code Monkey
 
complete's Avatar
 
Join Date: Jul 2005
Location: St. Louis
Posts: 68
complete is on a distinguished road
Java Advantages

What advantages does Java have over .NET?
I know it also might be comparing apples to oranges but what advantages does Java have over C++?
__________________
46 45 52 4D 49 20 57 41 53 20 4A 45 44 49 2E 10
20 53 41 47 41 4E 20 57 41 53 20 53 49 54 48 2E
complete is offline   Reply With Quote
Old 07-21-2006, 09:33 AM   #2 (permalink)
DJMaze
Senior Contributor
 
DJMaze's Avatar
 
Join Date: Mar 2005
Posts: 635
DJMaze is on a distinguished road
.NET is an enviornment in C, C++, C# and VB.

Java has a very good Object model compared to C++ and C#, but you are realy comparing water with sand.

water = C++ = flexible, fast and you may drown
sand = Java = solid, slow and you can stand
__________________
DJMaze is offline   Reply With Quote
Old 07-21-2006, 09:59 PM   #3 (permalink)
Belisarius
Java fanboy
 
Belisarius's Avatar
 
Join Date: Aug 2003
Posts: 1,114
Belisarius is on a distinguished road
In comparison to C++

Except in graphical applications, Java isn't slow anymore. Sun has really optimized their just in time compliation, so they're better able to optimize to system state than pre-compiled binaries.

Further, Java enforces stricter syntax than C++, so coding in it is less prone to syntactic errors and the code generally looks more uniform.

Finally, Java includes a far more robust core library than C++ does. Java coders, out of the box, have more tools available to them than does the C++ coder. Further, because the API is part of the spec, support for all of these core libraries is expected from every implimentation.

Further, Java is much more forgiving than C++. A poorly written Java program is more likely to run successfully than a poorly written C++ program. The chief example of this is with memory management - Java handles it transparently whereas C++ requires the programmer to deal with it.

In regards to C#

I haven't worked in C#, so some of my impressions may be erronious.

Java is more open and transparent than C#. Whereas Sun has created an elaborate community process for integrating improvements and freely publishes almost every detail about Java short of source code (although I believe even that is changing), as far as I know Microsoft keeps much tighter control over C#.

It only costs $150 to become a Java Certified Programmer (last I checked) - I don't know how much it costs for equivilant C# certification.

Java programs are (sorta) platform independent - graphical glitches and poor programming somewhat inhibit this, but most of what's written in Java can be ported with no change. C# is basically only Windows by design.
__________________
GitS
Belisarius is offline   Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Java Resources Belisarius Java 0 03-28-2005 02:03 PM
Java Developer Position in Kansas City justplaindoug Java 0 10-29-2004 11:52 AM
IBM urges Sun to make Java open source redhead Code Newbie News 0 03-01-2004 10:39 PM
Java Class Basics: Static Methods bdl Java 0 02-29-2004 02:25 PM
What is OOP and Java? srt42 Java 0 04-07-2003 01:21 AM


All times are GMT -8. The time now is 10:29 PM.


Powered by vBulletin Version 3.6.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.0.0 RC8





Copyright © 2000-2006, Milano Interactive
Web Hosting provided by Portal 360 Web Hosting
Open Circle