1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

javascript

Discussion in 'Programming' started by tanvirahmedcse, Jun 7, 2012.

  1. #1
    what is the difference between java and java script ?
     
    tanvirahmedcse, Jun 7, 2012 IP
  2. tanvirahmedcse

    tanvirahmedcse Peon

    Messages:
    10
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    there are a lot of difference between java and java script. to learn this go to my website .
     
    tanvirahmedcse, Jun 7, 2012 IP
  3. NetStar

    NetStar Notable Member

    Messages:
    2,471
    Likes Received:
    541
    Best Answers:
    21
    Trophy Points:
    245
    #3
    I laughed because...

    1) You asked a question then 8 minutes later answered your own question by telling yourself to go to your own site.

    2) It took you 8 minutes to realize that you did know the answer.

    3) You never listed your website.

    4.) This was a sad attempt at advertising.
     
    NetStar, Jun 7, 2012 IP
  4. TurningHead

    TurningHead Peon

    Messages:
    16
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Haha, that was a ten pointer.

    Anyway, for those that actually are wondering. JavaScript is a scripting language and Java is a real programming language. JavaScript has nothing to do with Java, although they borrowed some stuff from Java when making JavaScript. JavaScript is not a "lighter version of Java" or anything like that, it's something that most likely run in a web browser straight from the code. It has very restricted capabilities, can't access resources on the computer or write files etc. Java is however compiled into byte-code and is run in a virtual machine as a real program on the computer. The virtual machine has the capabilities to in turn compile the byte-code to machine-code during runtime which in some cases has shown to be working faster than programs written in C. Usually Java is a little bit slower in the beginning but after a bit of running it gets equal to C-written programs.

    Speaking of similarities, ActionScript (used in Flash/AIR) sounds like it is close to JavaScript but it is in fact closer to Java. ActionScript's syntax (how it is written) is in a way similar to JavaScript but it works much more like Java. ActionScript's syntax is also pretty similar to Java, it borrows some similarities from both JS and J. However it has a lot more in common with Java in the way it works.
     
    TurningHead, Jun 7, 2012 IP
  5. jhon prince

    jhon prince Peon

    Messages:
    411
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Java: Java is the most popular Object Oriented Programming Language which is developed by Sun Microsystems whereas JavaScript is most popular Scripting language which is developed by Netscape. Java must be compiled into “Machine language” before it can be execute on the Browser whereas JavaScript is text-based which is write in HTML and run through Browser.
    JavaScript:
    Javascript is client side language. In order to reduce the server side operation ,we are using client side programs. It is light weight programming language. It means that it will not overload the CPU also .
    It is written inside HTML file or outside .js file.
     
    jhon prince, Jun 8, 2012 IP
  6. thetaspark

    thetaspark Peon

    Messages:
    14
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #6
    JAVA vs JAVASCRIPT
    similarities:
    1. both OOP languages
    2. same coding/programming structures
    3. both can be used for same purpose on the web, though javascript has been more trusted.

    differences:
    1. Java from Sun Microsystems, Javascript from Netscape
    2. Java can stand on its own, Javascript requires a container to function (primarily HTML)
    3. Java is larger and more complicated, Javascript contains much smaller and simpler set of commands
    4. Java is a machine language that still has to be compiled/converted before it is run, Javascript is run directly from the browser with no compilation
    5. Java applet is a contained little java app which dont require a web browser but can be called from one by download, Javascript is wholly reliant on the browser to understand it.
    6. Java needs great time and dedication to learn, Javascript can be learned on a weekend which is mostly about handling browser events.
     
    thetaspark, Jun 8, 2012 IP
  7. And!

    And! Well-Known Member

    Messages:
    562
    Likes Received:
    12
    Best Answers:
    0
    Trophy Points:
    130
    #7
    Java is a place in Indonesa, and java script is a programing language!
     
    And!, Jun 8, 2012 IP
  8. NetStar

    NetStar Notable Member

    Messages:
    2,471
    Likes Received:
    541
    Best Answers:
    21
    Trophy Points:
    245
    #8
    I can't believe there are people who are actually going in to the "similarities" between JAVA and JavaScript as if they can be compared. The only similarities are what most languages share...certain keywords and the same if-else and function structured syntax.

    It's like comparing a f'in house cat to a lion. Yea they both have hair and are cute...but ones sitting on your lap and the other is in a different country ripping a part a giraffe..

    Two completely different tools for two completely different jobs.

    JavaScript is a scripting language that your browser reads. JAVA is a programming language to build applications and applets.
     
    NetStar, Jun 8, 2012 IP
  9. lamino

    lamino Peon

    Messages:
    25
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #9
    There's no relational between Java and Javascript

    Java is server side.

    Javascript is client side (browser)
     
    lamino, Jun 27, 2012 IP
  10. NetStar

    NetStar Notable Member

    Messages:
    2,471
    Likes Received:
    541
    Best Answers:
    21
    Trophy Points:
    245
    #10
    I read a funny quote today: "Java" is to "Javascript" about the same as "fun" is to "funeral". The end.
     
    NetStar, Jun 27, 2012 IP
  11. dylanrodriguez2012

    dylanrodriguez2012 Peon

    Messages:
    20
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #11
    Hello Guys.

    Java has been exclusively used for carrying out efficient web development. Today, the web services are developed using the Java technology API? and tools which are provided by many integrated Web Services platforms. Various webservice stacks consists of JAX-WS, JAZB and WSIT which enable the programmers to create secure Web Services. Java Script can actually make your website even more interactive. You can easily use the Java scripts in order to perform different activities such as form validation, browser identification and advertisement management etc. Using Java scripts can help your website feature rich with enhanced features. JavaScript can be easily used with any language that is used for web programming. You can easily use Java Script to handle all your client side activities. Java also includes Ajax (Asynchronous JavaScript and XML). This feature allows a website to display its contents without the need of refreshing the web page again and again. It has also been helpful in transferring a large amount of data from the server side to the client side without much delay using XML.


    All your comment for java development are welcome.

    Thanks in advance.
     
    dylanrodriguez2012, Jun 28, 2012 IP
  12. Unni krishnan

    Unni krishnan Peon

    Messages:
    237
    Likes Received:
    9
    Best Answers:
    2
    Trophy Points:
    0
    #12
    Yes indeed it was a very sad attempt. Hope he does well next time.
     
    Unni krishnan, Jun 29, 2012 IP
  13. juliamedlton

    juliamedlton Peon

    Messages:
    16
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #13
    java is programming language while java script is client side language.
     
    juliamedlton, Jul 4, 2012 IP
  14. dylanrodriguez2012

    dylanrodriguez2012 Peon

    Messages:
    20
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #14
    Hello Guys..

    Programming is a very useful and rewarding hobby. There are few better feelings than when someone sees you using a program you lashed together to make your life easier and says that it looks really useful. Most people have, at some point in their lives, really wanted to be able to do something on their computer or phone and been unable to. If you know a programming language, then there is often a fair chance that you can write a program to accomplish that task yourself. While there are a huge number of programming languages, many of them have a lot of similarities; this means that once you learn one language quite well, in most cases you will be able to pick up a new one far quicker.


    All your comment for programming development are welcome.

    Thanks in advance.
     
    dylanrodriguez2012, Jul 6, 2012 IP
  15. Unni krishnan

    Unni krishnan Peon

    Messages:
    237
    Likes Received:
    9
    Best Answers:
    2
    Trophy Points:
    0
    #15
    What is the context of such a message in this thread?

     
    Unni krishnan, Jul 6, 2012 IP