File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Beginning Java and the fly likes Why we choose java? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Why we choose java?" Watch "Why we choose java?" New topic
Author

Why we choose java?

Mandar Khire
Ranch Hand

Joined: Sep 11, 2007
Posts: 485
I ask this question many peoples, & they give me answer as bellow
Making use of technology such as programming language Java, which is simple,distributed,object-oriented, interpreted, secure, robust[/B],portable,multi threaded,high-performance and dynamic, adds better performance and best support for latest wave of open, quick web services. Independent Java applets are utilized for Internet programming in Java.

I read following Book J2EE-vs-DotNET
But still i didn't know why we choose java?


Millions saw the apple fall, but Newton asked why.
If you understand, say "understand". If you don't understand, say "don't understand". But if you understand and say "don't understand". How do I understand that you understand? Understand!
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 39547
    
  27
A glib answer would be: You might choose Java because it does what you need done, and you can master it, or because you're for some reason interested in learning it.

A more interesting question might be why one might choose Java over some other language/technology. Unfortunately, most of the time this question does not result in a fruitful discussion.

Yet another interesting question would be why a company might choose a specific language. Then we're getting into the territory of what the company's existing technology is like, what its developers know, what the technical/architectural constraints are, etc. etc. So there's lots of things to know before a recommendation can be made.
[ December 22, 2007: Message edited by: Ulf Dittmer ]

Ping & DNS - updated with new look and Ping home screen widget
Henry Wong
author
Sheriff

Joined: Sep 28, 2004
Posts: 18116
    
  39

I read following Book J2EE-vs-DotNET
But still i didn't know why we choose java?


Well, if you are writing your own applications -- then you can choose whatever language (framework) that you wish to use. Heck, in fact, if you are doing it commercially, you can choose either too.

However, if you don't want to stick your neck out too much. If you want to use systems that are in common use. If you want a choice of vendors. Then your choices are (with J2EE) ... Weblogic (BEA), Websphere (IBM), or even JBoss (Redhat). The Oracle application server is also getting some buzz lately too.

Based on personal observations, what I see most used by clients are (in order of popularity) Tomcat, Websphere, Weblogic, and JBoss. I have quite a few clients who are using DotNET for client stuff, but I have not seen a server side DotNET implementation yet.

Henry


Books: Java Threads, 3rd Edition, Jini in a Nutshell, and Java Gems (contributor)
Henry Wong
author
Sheriff

Joined: Sep 28, 2004
Posts: 18116
    
  39


I ask this question many peoples, & they give me answer as bellow

"Making use of technology such as programming language Java, which is simple,distributed,object-oriented, interpreted, secure, robust[/B],portable,multi threaded,high-performance and dynamic, adds better performance and best support for latest wave of open, quick web services. Independent Java applets are utilized for Internet programming in Java."


BTW, who are these "many peoples"? The marketing department at Sun Microsystems?

Henry
fred rosenberger
lowercase baba
Bartender

Joined: Oct 02, 2003
Posts: 10916
    
  12

Why choose a hammer? Why choose a saw? These are all tools that do certain things very well, and other things rather poorly.

A computer language is also a tool. Java does some things very well, and other things poorly. So, as we used to say when I worked in the theatre, "Always choose the right tool for the right job".


There are only two hard things in computer science: cache invalidation, naming things, and off-by-one errors
Raghavan Muthu
Ranch Hand

Joined: Apr 20, 2006
Posts: 3344

Just to add on top of what the authors and bartenders said, i would say a few things.

1. No matter what Java supports WORA [Write Once Run Anywhere] - Platform Neutral facility. Also it has got a very good support on security, garbage collection, distributed computing etc.,

2. There are many options to choose in terms of tools, frameworks, technologies, vendors as most of the things related to Java comes as Open Source except some commercial vendors like WebLogic, WebSphere etc.,

3. The term 'Open Source' is NOT only for the implementation of tools built on top of Java Language, it is also for itself. You can very well get to know most of the Core Java stuff and its libraries.

By default, Java itself (JDK) is shipped with its source code, which i don't see in any of the other competing languages in market.

4. Whatever you need as your day-to-day requirements are considered, almost many of them are in place - implemented by some one either half way or mostly full. What you need to just get those in place and customize the existing to cater to your own needs.

Hope this helps a little.
[ December 23, 2007: Message edited by: Raghavan Muthu ]

Everything has got its own deadline including one's EGO!
[CodeBarn] [Java Concepts-easily] [Corey's articles] [SCJP-SUN] [Servlet Examples] [Java Beginners FAQ] [Sun-Java Tutorials] [Java Coding Guidelines]
Liang Jin
Greenhorn

Joined: Dec 18, 2007
Posts: 9
I love JAVA.
Ilja Preuss
author
Sheriff

Joined: Jul 11, 2001
Posts: 14112
Originally posted by Liang Jin:
I love JAVA.


That would be another reason...


The soul is dyed the color of its thoughts. Think only on those things that are in line with your principles and can bear the light of day. The content of your character is your choice. Day by day, what you do is who you become. Your integrity is your destiny - it is the light that guides your way. - Heraclitus
Mandar Khire
Ranch Hand

Joined: Sep 11, 2007
Posts: 485
Thanks all sheriffs,bartenders and authors,lowercase dads,ranch hands,greenhorns to giving answer of my little question.
I want to response all who response me.
1.Ulf Dittmer sheriff says
A more interesting question might be why one might choose Java over some other language/technology. Unfortunately, most of the time this question does not result in a fruitful discussion.

I am agree with you.
2. Thanks you Henry Wong for giving some technical info. & i want to say about
many peoples
, they are my instructor & local software engineers.
& i think
3.Thanks Fred Rosenberger giving answer in simple way.I think this answer is useful to explain to students.
4.Thank you Raghavan Muthu to giving descriptive answer in very good manners with my point of view.
5.Thanks Both Liang Jin & Liang Jin, but i think in your point of you,discussion diverted in ..
BTW I am happy to view all the answers.But discussion not sufficient.
Raghavan Muthu
Ranch Hand

Joined: Apr 20, 2006
Posts: 3344

Originally posted by Mandar Khire:
BTW I am happy to view all the answers.But discussion not sufficient.


What more you want Mandar?

Let's discuss it please . That's why this forum is for and people around here as well!
Marvin Domingo
Greenhorn

Joined: Dec 17, 2007
Posts: 20
For me, I chose Java because it is very flexible, you can write a Desktop and Enterprise Web applications with it. isn't it cool?


[CENTER]I wanna download the internet[/CENTER]<br />[IMG]http://www.w3schools.com/images/downloadwww.gif[/IMG]
Mandar Khire
Ranch Hand

Joined: Sep 11, 2007
Posts: 485
I write "discussion not sufficient." because we didn't discuss about security!
I am thinking about it & i got 2 queries,
1.If we create software in java which is client server architecture, very important data move from client to server through our java program. Then any person can hack that data or is fishing possible?
I not created any software like this but i got this query in mind!
2.Any programmer create program to sale then he/she didn't give source code to client. At the time of compiling source code JVM create Bytecode which it stores in a .class file. In wikipedia's info about Java_bytecode
i got info about bytecode, by this info any intelligent person can make changes in our .class file?
Is my way of thinking is right or is i think unnecessary things?
Henry Wong
author
Sheriff

Joined: Sep 28, 2004
Posts: 18116
    
  39

1.If we create software in java which is client server architecture, very important data move from client to server through our java program. Then any person can hack that data or is fishing possible?


This is solved with a combination of encryption (prevent viewing of data), authentication (prevent spoofing of client or server), and design. The last is probably the most important.

2.Any programmer create program to sale then he/she didn't give source code to client. At the time of compiling source code JVM create Bytecode which it stores in a .class file. In wikipedia's info about Java_bytecode
i got info about bytecode, by this info any intelligent person can make changes in our .class file?


This issue is not specific to Java. Any program -- whether delivered as java classes or as an executable -- can be decompiled. Again, this is a design issue. The client code should not have any data which can be used if it is decompiled. And the server should be designed to not only authenticate the clients, but also restrict authorization, based on the authentication.

Henry
marc weber
Sheriff

Joined: Aug 31, 2004
Posts: 11343

Have you ever tasted a latte brewed with C#?

(Objective-C might be okay because of Cocoa. )


"We're kind of on the level of crossword puzzle writers... And no one ever goes to them and gives them an award." ~Joe Strummer
sscce.org
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Why we choose java?
 
Similar Threads
Eclipse vs WSAD
J2EE vs. ASP/ASP.NET
PHP vs JSP
EJB vs CORBA
Delphi vs. Java