• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Why we choose java?

 
Ranch Hand
Posts: 630
Android Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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?
 
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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 ]
 
author
Posts: 23951
142
jQuery Eclipse IDE Firefox Browser VI Editor C++ Chrome Java Linux Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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
 
Henry Wong
author
Posts: 23951
142
jQuery Eclipse IDE Firefox Browser VI Editor C++ Chrome Java Linux Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator


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
 
lowercase baba
Posts: 13089
67
Chrome Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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".
 
Ranch Hand
Posts: 3389
Mac MySQL Database Tomcat Server
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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 ]
 
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I love JAVA.
 
author
Posts: 14112
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Liang Jin:
I love JAVA.



That would be another reason...
 
Mandar Khire
Ranch Hand
Posts: 630
Android Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 3389
Mac MySQL Database Tomcat Server
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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!
 
Greenhorn
Posts: 27
1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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?
 
Mandar Khire
Ranch Hand
Posts: 630
Android Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 23951
142
jQuery Eclipse IDE Firefox Browser VI Editor C++ Chrome Java Linux Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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
 
Sheriff
Posts: 11343
Mac Safari Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Have you ever tasted a latte brewed with C#?

(Objective-C might be okay because of Cocoa. )
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic