954,541 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

why java?

how java is different from .net and other technologies

tinamary
Newbie Poster
16 posts since May 2007
Reputation Points: 37
Solved Threads: 0
 

you tell us. It's your homework, not ours.

jwenting
duckman
Team Colleague
8,392 posts since Nov 2004
Reputation Points: 1,662
Solved Threads: 337
 

system independent
very portable
pure object oriented
a lot of open source libraries
...

schoolsoluction
Light Poster
27 posts since Sep 2007
Reputation Points: 30
Solved Threads: 3
 

i think this is the best answer...
you tell us. It's your homework, not ours.


check out: www.java.com
www.w3c.org

fatihpiristine
Posting Whiz in Training
283 posts since Sep 2007
Reputation Points: 6
Solved Threads: 19
 

.Net features are quite similar to java, in java we use jvm and in .net clr is used for compiling the source code to intermediate language, instead of packages in .net they use assemblies and namespace, .net is user friendly and easy to learn so why we have to prefer java than any other techonoloy, can you please give me this answer.

tinamary
Newbie Poster
16 posts since May 2007
Reputation Points: 37
Solved Threads: 0
 

I think system independent and pure object oriented are the main difference.

eranga262154
Junior Poster
185 posts since Sep 2007
Reputation Points: 32
Solved Threads: 2
 

only those two differences what about the security and versionin in java and .net

tinamary
Newbie Poster
16 posts since May 2007
Reputation Points: 37
Solved Threads: 0
 
eranga262154
Junior Poster
185 posts since Sep 2007
Reputation Points: 32
Solved Threads: 2
 
I think system independent and pure object oriented are the main difference.

so far i know both are system independent and .net can not be object oriented, as it is not any programming language... you must be talking about C#?

orko
Junior Poster
164 posts since Apr 2006
Reputation Points: 46
Solved Threads: 11
 

i believe .net is a frame-work, where as java is a programming language.

orko
Junior Poster
164 posts since Apr 2006
Reputation Points: 46
Solved Threads: 11
 

Java is both - a Framework and a Language. As a Language, it has all the features of a programming language. As a framework it laids down the requirements which must be met by all the vendors developing Java/JVM.

Moreover, now Java is open source whereas, dotnet is propritarty of M$.

Java does not allow running native code but makes JNI calls for the same. .net allow you to write C++ (pointer intutive) code apart from managed C++ code and vulnerable to security.

You said .net is user friendly and easy to learn
Are you taking about Visual Studio. If yes there are IDEs for Java free of cost and musch more intelligent than Visual Studio if it comes to coding not drag and drop features.

Moreover, if I refer to C# here, its difficult to find when to use properties and when to call methods. I tried Connecting to a db once and got bugged up. Java provides you a simple model with accessors (getters/setters) for almost every properties defined in a class and you can simply use it without getting into hassles of when to use properties and when to use methods.

Try writing a C# program in Linux environment where there are not much good IDEs and you might feel the pain.

I've seen experienced C# programmers working with me who are always confused whether to use property or method. It is where the Visual$tudio intellisense comes into play to ease some of their tasks. Because there they keep looking whether there is a property or a method to fulfill their requirement.

lookof2day
Junior Poster in Training
83 posts since Aug 2007
Reputation Points: 16
Solved Threads: 11
 

I've not yet heard any reason why "java is different" from anything else, or why that would matter.

Hardly surprising, as most arguments come from people who have no clue yet have strong opinions based on personal preference or irrate hatred of Microsoft (caused in itself by jealousy above all else).

In other words, another pointless discussion about this topic (which is in itself pointless) like there have been so many in the past.

jwenting
duckman
Team Colleague
8,392 posts since Nov 2004
Reputation Points: 1,662
Solved Threads: 337
 

I've not yet heard any reason why "java is different" from anything else, or why that would matter.

Hardly surprising, as most arguments come from people who have no clue yet have strong opinions based on personal preference or irrate hatred of Microsoft (caused in itself by jealousy above all else).

In other words, another pointless discussion about this topic (which is in itself pointless) like there have been so many in the past.


Agreed.
Just let dead horses lie.

Ezzaral
Posting Genius
Moderator
15,986 posts since May 2007
Reputation Points: 3,250
Solved Threads: 847
 

yes it is equal toknow java and .net some one who knows object oriented programming.but if u want to know indepath subkect,hierarchy of objects and if u want to devolop applications of our own language that is in one word if u want know a language from its indepath then it is better to java.

And not to locking to one company java provides platform independence,that is ur independent in the industry,no neede of depending on the microsoft ups and downs

eswar_mca47
Newbie Poster
4 posts since Sep 2007
Reputation Points: 10
Solved Threads: 0
 

> pure object oriented
Java is not a true OO language. If you are looking for pure OO, look into Smalltalk and Ruby in which everything is a class and all operations are messages to objects. Read this.

~s.o.s~
Failure as a human
Administrator
11,938 posts since Jun 2006
Reputation Points: 3,281
Solved Threads: 734
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You