• Post Reply Bookmark Topic Watch Topic
  • New Topic

Java and Internet Applications  RSS feed

 
Matan Bar Lev
Ranch Hand
Posts: 53
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Helly guys!

I finished reading and practicing a book deals with the Java basics. Now I want to have the ability to program a little more complex application.
One thing I thought about is an application that connects with the Internet, whether it's with sites or other users.
My question is what tools are needed for this? What packages of java deals with internet connection? Is it a part of Java language or I need to study Javascript or another language in order to do this staff?

 
Ulf Dittmer
Rancher
Posts: 42972
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Java has built-in support for HTTP, and the basics of making an HTTP connection are quite simple. Start here: http://docs.oracle.com/javase/tutorial/networking/index.html, particularly "Overview of Networking" and "Working with URLs".
 
Matan Bar Lev
Ranch Hand
Posts: 53
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for your answer.
So... what is Javascript for? Isn't it for Internet purposes?
Do you mean that the support package for HTML can enable me to create complex applications or it's only for basic purposes?
 
Campbell Ritchie
Marshal
Posts: 56570
172
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
JavaScript, which should actually be called ECMAScript, is a completely different language.
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 66307
152
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Campbell Ritchie wrote:JavaScript, which should actually be called ECMAScript, is a completely different language.


Or, it should have simply been left at LiveScript.

As Campbell pointed out, JavaScript is a completely different language than Java. They have nothing to do with each other. Nothing. Nada. JavaScript is used in the browsers to give behavior to web pages. It can also be used as a server-side language for many purposes, including the backend of web apps.
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 66307
152
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Matan Bar Lev wrote:can enable me to create complex applications

I guess that greatly depends upon what you mean by "complex applications"?
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!