M1 PT1 Flashcards
Introduction to Java Technology
Java language, originally called the ‘X’
Oak
Java language was developed by X at X
James
Gosling
Sun Microsystems
Sun Microsystems is now a subsidiary of
Oracle Corporation
Javal language was released in X as a core component of Sun
Microsystems’ Java platform
1995
It has derived much of its syntax from C and C++ but has a simpler
object model and fewer low-level facilities.
java language
is a general-purpose, concurrent, class-based, object-
oriented language that is specifically designed to have as few
implementation dependencies as possible.
Java
files with .java extension
java source code files
java source code files compiles into a format called
bytecode (files with .class extension)
can be executed by a Java interpreter.
bytecode (files with .class extension)
It was intended for use in Sun’s project research to work on a
programming software to control electronic devices
java
It was modified to take advantage of the World Wide Web.
Java
The X, later named as X, was the very first
web browser created in Java.
WebRunner
HotJava
In 1995, the X internet browser was also
developed to support Java.
Netscape Navigator
X is a portable language that could run
on any platform. The language was able to do
this by generating intermediate code for a
hypothetical computer called a virtual machine.
Java
X is a
program that runs on all computers.
Java Virtual Machine (JVM)
The X
creates a software simulation of a CPU and
memory and handles all communication between
the Java program and the underlying operating
system and hardware.
Java Virtual Machine (JVM)
The Java source code (.java file) is normally compiled to produce the bytecode file (.class file) which is normally interpreted by the X
Java virtual
machine (JVM)
The JVM and Application architecure
source code (myProgram.java)
javac (java compiler)
byte code (myProgram.class)
java virtual machine (interpreter)
machine code (output on the computer screen)
Java 2 Software Development Kit contains
java, javac, javadoc, other tools
the loader for Java applications
java
the compiler
javac
the documentation generator
javadoc
Steps in Creating a Java Application
- Create the source code.
- Compile the source code.
- Run the program
An X is a computer software to
help computer programmers develop
software
Integrated Development
Environment
What does an Integrated Development
Environment consist of:
- Source code Editor.
- Compiler and/or interpreter.
- Build- automation tools.
The Leaders:
- NetBeans
- Microsoft Visual Studio
- Eclipse
Tools For Object Oriented Design:
- Object inspector.
- Class Browser.
- Class hierarchy diagram.
X abstracts the configuration necessary to piece together
various utilities in one unit, which could ease the learning of
a language, and increases developer productivity.
Integrated Development
Environment
Most IDEs today have X that simplify the
development of UIs, which is critical for commercial
software today.
GUI modeling utilities
NetBeans all started as a student project called X
Xelfi
NetBeans’ Goal was to write a X in Java for the
first time
Delphi-like Java IDE
A fast fully-featured Integrated Development Environment
(IDE) with support for Java.
NetBeans
Compliant applications for accelerating development across
all major OS platforms.
NetBeans
Provides an open source, high performance, modular,
extensible, multi-platform Java IDE for GUI, mobile tools,
Web, and Desktop applications
NetBeans
Written in java and therefore runs on every operating
system that supports Java VM
NetBeans
easily configured user interface and a
modular architecture extensible with additional plugins.
Environment:
support for multiple source roots, easy
management of libraries, easily ported to other
environments, all based on Apache Ant.
Project System:
Web Application project type, Supports
the J2EE 1.3 and 1.4 standards with web application build
support based on Apache Ant.
Web Development:
easy to create
and deploy and import java beans
Enterprise Java Beans (EJB) Development:
X 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: