Академический Документы
Профессиональный Документы
Культура Документы
Programming
1. Introduction
1. Origins and evolution
3. Extensions
2. Extensions
3. Characteristics
Tiberiu Leia: Software Engineering Java Programming Language Introduction
Java is:
a programming language,
a runtime system,
a set of development tools and
an application programming interface (API).
During 1993 Java was used for World Wide Web applications.
Sun Microsystems launched Java officially in 1995.
The Java Language Specifications in 1996 were published.
Java has similarities with C and C++, Visual Basic, Pascal and Delphi.
The drawbacks of C and C++ have been removed.
JAVA API interface is friendlier than similar components built using C++
language.
Enterprise API
JDBC (Database Connectivity)
IDL (Interface Definition Language)
RMI (Remote Method Invocation)
JDBC achieves links to DB using SQL (Structured Query Language).
10
Commerce API
solutions for commercial transactions implemented on Web. There are
components for:
infrastructure
information databases
payment cassettes electronic payments
11
Management API
Admin View Module (AVM) extension of Java Abstract Window Toolkit
(AWT)
Base object interfaces
Management container interfaces
Management notification interfaces
Manages date interfaces
Management protocol interfaces for Java Security API and Java RMI
Simple Network Management Protocol (SNMP) interfaces
Applet integration intefaces
12
Server API
Media API
Media Framework API
2D Graphics
Animation API
3D Graphics API
Video API
Audio API
MIDI API (Musical Instrument Digital Interface)
Share API for multiparty communication.
Telephony API
13
Security API
Cryptography
Digital signature electronic identification technique with the same
purpose as hand made signature
Embedded API
14
15
Object Oriented
JAVA is a language completely oriented on objects.
It has an automated memory management.
16
Source cod
obtained using a regular word processor text file
Compiled and interpreted
Compiler bytecode (cod de octei ). platform independent
Java interpreter = java program execution
17
Interpreter
It is a program that take sequentially the byte cod file and execute the
program It transforms the byte code in machine code.
Maina Virtual Java = Java Virtual Machine (JVM) it is only in the
computer memory.
Compilers Just-In-Time provide (when that is requested) instructions for
machine code
Operation
Edit
Compilation
Interpretation
(and execution)
Tool
Text editor
Java Compiler
Java Interpreter
Result
Source file Executable code Java program execution
(byte code)
18
Multithreading
Java programs can have multiple threads of execution = JVM can execute
concurrently multiple sequences of instructions.
19
Dynamic
Robust
The pointers cannot be controlled directly.
20
Distributed
Java programs can be interconnected using the Internet.
stand alone applications and miniaplications (or applets)
TCP/IP protocol
HTTP protocol and
FTP protocol.
Extendable
Java accepts native methods
21
*
****
***END***
****
*
22