Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Java > Java and JDK > Java Basics
|
Java Basics General beginning Java language questions that don't fit in one of the more specific forums. Please specify what version.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Java Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old April 15th, 2013, 03:50 AM
Authorized User
 
Join Date: Sep 2012
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Default How to? Java and Websites: Java vs. Javascript

Hello, I am new to Java. My roommate who is an ex-Java programmer says that Java and Javascript are virtually two different languages. He didn't give much in the way of distinction except to say that Javascript didn't support inheritance. I was wondering if someone could explain the difference to me. Also...a friend of mine wants to start a website store and I was wondering if all that would be needed to implement the site would be a knowledge of HTML and Java. So, I guess what I'm asking is if applets loaded to the server would facilitate the on-line store? Is there anything I am missing?

Thank you for your time.
 
Old April 15th, 2013, 08:56 AM
jminatel's Avatar
Wrox Staff
Points: 18,059, Level: 58
Points: 18,059, Level: 58 Points: 18,059, Level: 58 Points: 18,059, Level: 58
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: May 2003
Posts: 1,906
Thanks: 62
Thanked 139 Times in 101 Posts
Default

The simplest answer to this question is from:
http://en.wikipedia.org/wiki/JavaScript
"JavaScript copies many names and naming conventions from Java, but the two languages are otherwise unrelated and have very different semantics."

If you want a good description of what JavaScript is (rather than defining it by what it's not), start with chapter 1 of our book Professional JavaScript for Web Developers:

http://media.wiley.com/product_data/...026691-104.pdf
__________________
Jim Minatel
Associate Publisher, WROX - A Wiley Brand
Did someone here help you? Click on their post!





Similar Threads
Thread Thread Starter Forum Replies Last Post
To call a java class from javascipt and pass a variable to the java servelet too prithagupta Java Basics 4 March 9th, 2013 08:39 AM
java version "1.6.0_24" Java(TM) SE Runtime Environment (build 1.6.0_24-b07) Java Hot Nixxxter Java Basics 6 January 11th, 2012 12:36 PM
Java SE Development Kit and Eclipse IDE for Java EE? Droider BOOK: Beginning Android Application Development 1 October 7th, 2011 08:42 AM
How to assign javascript to Java? salahu Pro JSP 1 August 8th, 2005 03:05 PM
How to assign javascript value to java? salahu JSP Basics 1 June 27th, 2005 03:34 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.