The JavaScript Language and Ajax for Java Developers (SEM-DTJ-2121)
JavaScript is the de facto programming language for developing browser-based web applications that provide the rich functionality traditionally associate with desktop applications (commonly referred to as Web 2.0 applications). This class explains the JavaScript language in terms familiar to a Java Technology Developer, or a developer familiar with other object-oriented langugages, such as C++. Additionally, you will learn tips and tricks for developing web applications that leverage best practices for using client-side JavaScript, and especially the Ajax technique, to provide a richer and more responsive user experience than can be achieved by server-side logic alone.
Languages
English
Who Can Benefit
Java Developers who create Web Applications. Web Application Developers familiar with other object-oriented languages.
Prerequisites
To succeed fully in this course, students should be able to:
- Write Java Applications
- Write a simple web page
Skills Gained
- List significant differences between the syntax and semantics of the JavaScript language and Java language
- Avoid bugs cause by ignorance of the differences between objects in the prototype-based JavaScript language and the class-based Java language
- Use Object Literals to bring best practice techniques of Object-Oriented Programming to your JavaScript code
- Use constructor functions, instead of class files, dynamically change the behavior or structure of any object in your JavaScript program
- Leverage prototypal inheritance to mutate objects, including the standard built-in objects, even after they have been instantiated
- Increase the performance and efficiency of your JavaScript code
- Recognize a closure in JavaScript code and explain when it is advantageous when to use a closure
Topics
Related Courses
After:
- SEM-DTJ-2122: jMaki and Dojo Toolkit for Ajax Developers
OR
- WJO-2125: Dojo Toolkit for Ajax Developers
- WJO-2126: jMaki for Ajax Developers
Related Courses
Before:
-
Java Programming Language (SL-275)
Course Content
Module 1 - JavaScript for Java Developers
- The JavaScript Language
- JavaScript Objects
- Arrays extend Object with an integer index
- Strings extend Object with an a string value
- Functions extend Object with a JavaScript function body
- JavaScript and the Document Object Model (DOM)
- Additional Information
Module 2 - Ajax and Advanced Javascript
- Introducing Ajax
- Programming With Ajax
- Introducing JSON
- Programming with JSON
- Alternatives to using the XMLHttpRequest object
- Ajax Security
- JavaScript Recommendations
Copyright
2004-2009 Sun Microsystems, Inc.