I think Java is a strong language but since it allows you to play with the low level components of the program as well... u can create many malicious applications with it as well... Whereas in .Net... u can control that...more over .Net provides u cross language programming functionality which is a boon for a industry having multiple language programmers.. In terms of independancy... both are platform independant (they say so)... but still they need Java Virtual Machine and the .Net Framework to function...
By
Panshul Gupta, Software Engineer, SRM Techsol Pvt. Ltd.
| 05 08 2009 18:21:14 +0000
Dear Jonathan,
I apologize if you didn't like the word I used for Java, but I meant that :) I can understand you have worked on Java and you like it. I have worked
in a bit detail on languages ranging from Basic/Foxpro/C/C++(Borland, GCC, VC++ with MFC, ATL,
WTL)/C#/VB/Java so you could believe a bit of what I say. The things you wrote about are all possible in C#, but the fact you didn't argue with me even after quoting me about was the SPEED/Efficiency - which of course Java can never beat C# in. And about using using cell phones based on Java - I'm forced to use those right now. Wait for phones completely based on C# and .Net framework, and I promise I won't use those slow Java based phones. :)
By
Piyush Soni, Software Developer, Tata Consultancy Services (TCS)
| 04 14 2009 04:47:19 +0000
In this programming era Microsoft .NET provides Component-based software engineering (CBSE)
and I love to write code in c#.
while java is OOP based. Hene, ulimetly C# is a father of Java in terms of performace and security.
By
Manish Bhandari, Software Developer, Team Computer
| 04 14 2009 04:30:41 +0000
Java is bullshit. Those who keep on shouting that it is "platform independent" don't know that it is not out of some magic. Your platform independent Java will NOT work if you have not installed JVM for that particular Platform. Just that it is old it is found on those platforms. Same thing applies to .Net. The .Net framework should be installed on the target OS. For those who want to run it on linux and other OS, there are already projects like 'Mono Project' which are quite stable. (others are Portable .Net) .Net is very secure even in its starting years, much easier to program and gives much better performance than that slow compiled but still interpreted Java. I have always seen trouble running those damn slow applets. There is another benefit : You can really write parts of your software in different languages! So those programmers who are comfortable in VB will write in VB, C# or even Visual C++ ! That's great.
If you want pure performance, use C++ instead. If you want performance + ease of development, use .Net. Never use Java. :)
By
Piyush Soni, Software Developer, Tata Consultancy Services (TCS)
| 03 29 2009 17:15:46 +0000
I truly agree with the points you made, however both are at there own levels. We cannot compare them at all. If you say java is simple., there is nothing more simpler than .NET i have seen except scripting though. I have been working in .NET for past 5 years and also worked for Jave for 6 months in College and both are good technologies. Regarding saying that .NET allows usage of disk or Network host.., these i think as benefits rather. There are so many cases you want to use the disk. Also, not too familiar about this feature in Jave, but guarantee that if it is not there.. it will come in future...
By
Varun Gulati, Team Leader -(Technical), Satyam
| 03 24 2009 17:46:22 +0000
|
Dear friends in my opinion java is the best language in terms of security and usage.In java we can make minor to major application for security but in the .net you cannot make much minor application for security it only work for major application.
By
arun kumar yadav, Software Developer, ATS Infotech Pvt. Ltd.
| 12 21 2009 07:41:53 +0000
That java is not storing the memory address of any variable or object and so any one cannot play with memory in java you can use the reference of object but that reference object is again copy of original object.
By
viral modi, Software Developer, Yash Technologies
| 05 12 2009 14:04:20 +0000
Mr.Viral to make your point clear to all the users can you please elaborate as how JAVA not supporting pointers is an advantage with respect to its security.
By
Radhakrishna Marar, Business Analyst, Oracle
| 05 12 2009 05:46:57 +0000
I am much preferred to say that JAVA is much reliable in terms of programming in security paradigm. JAVA runs in a multi platform environment(Unix/Linux/Solaris/Windows). If you are serious in getting out of the box, here are the sample topics that i'm aware of in dealing a code and defensive coding style:
- Ensuring input from multiple sources can be trusted: HTTP
Requests, configuration files, backend datastores, command line
arguments, environment variables.
- Validate common data types
such as string data as well as uncommon input structures, using Regular
Expressions, doValidate() and other tools of Java and J2EE
- White-list and black-list approaches; tradeoffs.
quote to Piyush Soni
"
Java is bullshit. Those who keep on
shouting that it is "platform independent" don't know that it is not
out of some magic. Your platform independent Java will NOT work if you
have not installed JVM for that particular Platform. Just that it is
old it is found on those platforms. Same thing applies to .Net. The
.Net framework should be installed on the target OS. For those who want
to run it on linux and other OS, there are already projects like 'Mono
Project' which are quite stable. (others are Portable .Net) .Net is
very secure even in its starting years, much easier to program and
gives much better performance than that slow compiled but still interpreted Java. I have always seen trouble running those damn slow applets. There
is another benefit : You can really write parts of your software in
different languages! So those programmers who are comfortable in VB
will write in VB, C# or even Visual C++ ! That's great.
If you want pure performance, use C++ instead. If you want performance + ease of development, use .Net. Never use Java. :)" Moderator, kindly please check words appropriately that is being posted here, and to you my friend, if you don't want to use JAVA anyway, don't use Nokia or any other mobile phones which are capable of JAVA, if you have problems on applets then check out your tuning capability.. not to finalize that JAVA on your own sripulous words :))
By
JONATHAN VIRAY, Network Admin/System Admin, OBS
| 03 29 2009 18:30:41 +0000
Really Java is very much popular and it will be ever green if java is there DotNet is there. Therefore First Java and next DotNet. Generally few knowledge people think that DotNet is great see the OS it is not platform independent and not secure that java will do it. In my view there is no competition for java beacuse from the early days Microsoft Windows came into existence with Simple GUI and everybody can understand. And if Sun likes to teach java and expand its bussiness microsoft is no where.
By
kiran kumar reddy, Software Developer, versile it services
| 10 14 2008 06:41:38 +0000
I believe that java still reigns supreme as Java platform was introduced in 1995, Java’s security model has evolved to incorporate additional security mechanisms including code signing and increasingly flexible policies.The primary lesson learned from Java’s experience with low-level code safety is from earliest security principles: keep things simple. Java's security model is focused on protecting users from programs downloaded from sources across a network. Java programs run in Java Runtime Environment. Java Programs can't take any action outside those boundaries. For example, Programs are prohibited from many activities, including:* Reading or writing to the local disk,* Making a network connection to any host, except the host from which the applet came etc
By
Deepa Sawant, Project Manager, Motorola
| 08 28 2008 20:20:50 +0000
|