Module 1 Introduction To Java Technology
Module 1 Introduction To Java Technology
(Java)
Module 1
Introduction to Java Technology
• Remember the History of Java Technology
• Understand the different features that Java offers
• Remember the different Java Editions
• Understand the use of JVM and J2SDK in creating
Java applications
• Know the History and features of Netbeans IDE
• Understand how to navigate through the Netbeans IDE
History and Features of Java
1.1
It has derived much of its syntax from C and C++ but has a simpler
object model and fewer low-level facilities.
The Java source code files (files with .java extension) are
compiled into a format called bytecode (files with .class
extension), which can be executed by a Java interpreter.
4. High performance
HelloWorld.java
Interpreter
Hello World
Hello World
Hello World
Win32 MacOS
Solaris
My
Program
myProgram.class
Compiler _________________
_____________
_______________
Byte code
.class File
(Java Application)
1.2
• An Integrated Development
Environment is a computer software to
help computer programmers develop
software.
• The Leaders:
- NetBeans
- Microsoft Visual Studio
- Eclipse
• Optional Tools:
- Debugger.
- Version control system.
- Various tools to simplify the construction of a GUI.
• Most IDEs today have GUI modeling utilities that simplify the
development of UIs, which is critical for commercial
software today.
• The Goal was to write a Delphi- like Java IDE in Java for the
first time.
• XML: XML, DTD and CSS Text Editor and XML Productivity
Tools Wizards to help user generate codes.
• For the first time, there’s an intelligent way to build GUI for
Java (unlike eclipse), that can actually compete with the
Visual Studio Gui builder.
• How to install
• A Quick start Guide
• Importing existing applications
• Advanced
1. Starting up a project
2. Creating and editing java source code
3. Compiling and running a project
4. Testing and debugging a project
• While Building you can also generate the javadoc very easily.
• You can use the local variables window and watch window
to follow the progress of the program.
Contents:
üSetting Up the Project
üAdding Code to the Generated Source File
üCompiling and Running the Application
Required Software/Resource:
üNetBeans IDE version 7.2, 7.3, 7.4, or 8.0
üJava Development Kit (JDK)version 6, 7, or 8
5. Click Finish.
üThe project is created and opened in the IDE. You
should see the following components:
üThe Projects window, which contains a tree view of
the components of the project, including source files,
libraries that your code depends on, and so on.
üThe Source Editor window with a file called
HelloWorldApp open.
üThe Navigator window, which you can use to quickly
navigate between elements within the selected class.