M1: Intro to Java Technology
NetBeans Feature: Syntax highlighting for Java, XML, HTML, CSS, JSP and IDL, full support of new JDK 1.5 features, live parsing/error marking, popup javadoc, code completion, and fast class importing
Code Editor
The Goal was to write a ______ like Java IDE in Java for the first time
Delphi-
An _______ _______ _______ is a computer software to help computer programmers develop software.
Integrated Development Environment
Java was developed by
James Gosling
____ is a general-purpose, concurrent, class-based, object-oriented language that is specifically designed to have as few implementation dependencies as possible
Java
is a portable language that could run on any platform.
Java
NetBeans Feature: visual design editor with end-to-end support for enterprise applications
Java 2 Platform, Micro Edition (J2ME) MIDP development
The ________ is a program that runs on all computers.
Java Virtual Machine (JVM)
NetBeans Extra: used to write, test, and debug applications for the Java Micro Edition platform (J2ME) technology-enabled mobile devices. It integrates support for the Mobile Information Device Profile (MIDP) 2.0, the Connected, Limited Device Configuration (CLDC) 1.1. The mobility pack allows for the unique "On-Phone" debugging mode.
NetBeans Mobility Pack
NetBeans Extra: provides the services common to almost all large desktop applications such as: window, menu, settings management and storage, file access and more
NetBeans Platform
NetBeans Extra: provides information about the runtime behavior of applications. Allows developers to monitor the thread state, CPU performance, and memory usage of their applications. makes it easy to track down performance problems and memory leaks
NetBeans Profiler
In 1995, the ______ _______ internet browser was also developed to support Java.
Netscape Navigator
Java language, originally called the
Oak
Java was developed at ____, which is now a subsidiary of Oracle Corporation.
Sun Microsystems
Java was modified to take advantage of the
World Wide Web
NetBeans Feature: XML, DTD and CSS Text Editor and XML Productivity Tools Wizards to help user generate codes
XML
It all started as a student project called
Xeifi
The JVM creates a ________ of a CPU and memory and handles all communication between the Java program and the underlying operating system and hardware.
software simulation
The language was able to do this by generating intermediate code for a hypothetical computer called a
virtual machine
The ______, later named as ______, , was the very first web browser created in Java.
- WebRunner - HotJava
The J2SDK (JDK) Java 2 Software Development Kit contains: - ____ - the loader for Java applications - ____ - the compiler - ____ - the documentation generator - other tools
- java - javac - javadoc
What does an IDE consist of: - - - Optional Tools: - Debugger - Version control system - Various tools to simplify the construction of a GUI
- source code editor - build automation tools - compiler and/or interpreter
How JVM Works
"Write once, run anywhere technology."
The Java source code files (files with _____ a extension) are compiled into a format called _________ (files with ____extension), which can be executed by a Java interpreter.
- .java - bytecode - .class
Java Editions:
- J2SE: Java 2 Standard Edition - J2EE: Java 2 Enterprise Edition - J2ME: Java 2 Micro Edition
____was intended for use in Sun's project research to work on a _______ ______ to control ______ ______
- Java - programming software - electronic devices
Tools For Object Oriented Design:
- Object inspector - Class Browser - Class hierarchy diagram
Steps in Creating a Java Application
1. Create the source code. 2. Compile the source code. 3. Run the program.
Features of Java:
1. Simple, object-oriented, and familiar 2. Robust and secure 3. Architecture neutral and portable 4. High performance 5. Interpreted,, threaded, and dynamic
Java was released in _____ as a core component of Sun Microsystems' Java platform.
1995
Java has derived much of its syntax from ___ and ___ but has a simpler object model and lower-level facilities.
C and C++
NetBeans Feature: Language independent debugger core, variable modification and watches, various breakpoints and "Fix and Continue" mechanism
Award Winning Debugger
NetBeans Feature: easy to create and deploy and import java beans.
Enterprise Java Beans (EJB) Development
Netbeans Feature: easily configured user interface and a modular architecture extensible with additional plugins.
Environment
NetBeans Feature: fully WYSIWYG designer with "Test Form" feature, extensible Component Palette pre-installed Swing and AWT components, showing a components tree and properties, automatic code generation and full JavaBeans support
GUI Builder
The biggest improvement from the previous version and the feature with the biggest impact is the new GUI- Builder, ________
Matisse / NetBeans Matisse
Netbeans Feature: support for multiple source roots, easy management of libraries, easily ported to other environments, all based on Apache Ant.
Project System
NetBeans Feature: renaming, changing and moving of various objects, field encapsulation and usage finding
Refactoring
Create the source code using any text editor. Save the file with a ".java" extension
Steps 1 : Creating the source code
Compile the source code to create the byte code using javac tool from the J2SDK. Open an MS-DOS console, browse for the directory where you saved the source code
Steps 2 : Compiling the source code
Type the command javac HelloJava.java and press ENTER. Verify that the HelloJava.class has been created
Steps 2 : Compiling the source code
To execute the program, type the command: java HelloJava and press ENTER.
Steps 3 : Running the Program
NetBeans Feature: supports command lined vcs, supplying merging and diff tools and containing a built- in CVS client
Version control Support
Netbeans Feature: Web Application project type, Supports the J2EE 1.3 and 1.4 standards with web application build support based on Apache Ant
Web Development
NetBeans Feature: wizards for creating web services and web services clients, providing the basic (java/wsdl) code needed, and easy to use testing tools of existing web services
Web Services Development