• 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

Java and Internet Applications

 
Ranch Hand
Posts: 53
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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?

 
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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?
 
Marshal
Posts: 79179
377
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
JavaScript, which should actually be called ECMAScript, is a completely different language.
 
Sheriff
Posts: 67746
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
Sheriff
Posts: 67746
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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"?
reply
    Bookmark Topic Watch Topic
  • New Topic