Re: Why is java considered a language for "web" or "internet" programming?





Eric Sosman wrote:
BillJosephson wrote:

Howdy....

I've been learning a bit of java, because I've been led to believe it
is the language to use if you want to make web sites. So far, it just
seems like C or C++, more or less.

What is it about java that makes it good for people making web sites?

Two immediate reasons: portability and safety.

Just so you know, Perl and Php have much better portability and safety than Java. Of course that depends on what you define safety as.
Also for you information, I read a statistic a couple of weeks ago which stated that php was the largest by far, almost 50-60% or something, then there was java, perl, python and ruby on rails. Python and ruby were only a couple of percent and perl I think was about 18% or something. I couldn't find the actual article, but If someone wants it, I will dig harder for it.

But in any case I think the greatest thing about java for web development, or any enterprise development, is the extent of available libraries, frameworks, servers and tools. In addition to this there is a great deal of people and resources put into developing the entire java platform, which means constant progress in how to solve problems and how to do it the best way.

Another great thing is that java, compared to php, is that java is a reasonably complete and mature programming language, so programming gives you the same abilities and environment as though you were programming a system and not just a web page. Its a couple of huge steps away from the old web scripting environment.

tom
.



Relevant Pages

  • Re: Static vs Dynamic
    ... (Java has too much noise in its source code, ... lot to ask and is typical in a typed language supporting polymorphism. ... > developers can easily learn the Java programming language; ... > obivous bugs slip through and b) in many cases, ...
    (comp.lang.lisp)
  • Re: why is "self" used in OO-Python?
    ... and worse this has spread from Java into other ... by whatever happens to be the first OO language they learn". ... If the first programming language (or the ... I have no objection to teaching Java in a CS curriculum. ...
    (comp.lang.python)
  • Re: Public disclosure of discovered vulnerabilities
    ... I spoke of Java; ... > necessary when programming in Java. ... > it is every single programmer who wants to use the language securely. ... this is what we call the "mental model" problem in aerospace. ...
    (sci.crypt)
  • Re: 71% Say Finding New Energy Sources More Important than Conservation
    ... Most of the drive to define was for a test programming language, because each tester had it's own language and the engineer would have to re-write the program every time the testor changed. ... The only reason it was used was because people saw that it would have a longer life time than ADA. ... My group at Stanford switched to Java as their language of choice after giving up on C++ as too flawed to use. ...
    (soc.retirement)
  • Question on variable binding and assignment
    ... My Java for dummies book didn't tell me this stuff. ... Then for a dynamically typed language such as Perl, ... concept of "unbound variables" in a programming language in the first ...
    (comp.lang.lisp)