7. Networked: There are two types of networks in the real world. They are
networks.First is
Un-trusted networks:
A network is called to be
connected non-autonomous architecture
network architecture, we create
runs on single server and it can be access in limited graces.
applications we may use a technology called
by small scale organization.Second is
Trusted network:
A network is said to be
autonomous architecture. Trusted network create distributed applications
and it can be access in unlimited graces.
J2SE (Core JAVA) Notes
un-trusted networks
un-trusted network in which there exists n number of
architecture. Un-trusted network is also called as
centralized applications. A centralized application
In order to develop
J2SE and these kinds of applications are preferred
trusted network in which there exists n number of
is also calledas WAN. Using this network, we can
applications. A distributed application is one which runs on
In order to develop distributed applications
and trusted
inter
LAN. Using this
is one which
centralized
Browse » Home » Archives for July 2012
Wednesday, July 4, 2012
multi threading in Java
Definitions of multithreading : . A flow of control is known as A multi threaded program . A program is said to be multi threaded program . For each sub
flow of controls are executing concurrently. Such
type of applications is known multi threaded application.
STML : The languages like C, C++ are treated as (STML). SMTL are those in which there exists single threading.MTML : The languages like JAVA (MTML). MTML are those in which there exist multithreading. Whenever we write a foreground/child thread .
A foreground thread is one which always executes user defined sub program there is a possibility of existing n number of program Distributed: A service is a said to be a can be accessed by n number of clients across the globe. In order to develop applications we must require architecture called applications we require a technology called scale organizations.
Distributed: A service is a said to be a can be accessed by n number of clients across the globe. In order to develop applications we must require architecture called applications we require a technology called scale organizations.
There are two kind of languages1. STML2. MTML
.A background thread is one which always monitors the status of and every JAVA program . Hence background thread is distributed.
STML : The languages like C, C++ are treated as (STML). SMTL are those in which there exists single threading.MTML : The languages like JAVA (MTML). MTML are those in which there exist multithreading. Whenever we write a foreground/child thread .
A foreground thread is one which always executes user defined sub program there is a possibility of existing n number of program Distributed: A service is a said to be a can be accessed by n number of clients across the globe. In order to develop applications we must require architecture called applications we require a technology called scale organizations.
Distributed: A service is a said to be a can be accessed by n number of clients across the globe. In order to develop applications we must require architecture called applications we require a technology called scale organizations.
There are two kind of languages1. STML2. MTML
.A background thread is one which always monitors the status of and every JAVA program . Hence background thread is distributed.
Feature Of Java
FEATURES OF JAVA:
- The main features of java are
- 1. Simple
- 2. Platform independent
- 3. Architectural neutral
- 4. Portable
- 5. Multi threading
- 6. Distributed
- 7. Networked
- 8. Robust
- 9. Dynamic
- 10. Secured
- 11. High performance
- 12. Interpreted
- 13. Object Oriented Programming Language
J2SE (Core JAVA) Notes
1. Simple: These reason makes java simple:
i. JAVA is free from the pointers hence it take less development time and less
less
execution time [whenever we write a JAVA program we write
without pointers and
internally it is converted into the equivalent pointer program].
ii. Rich set of API (application protocol interface) is available to develop any
complex application.
complex application.
iii. The software JAVA contains a program called garbage collector which is always used
to collect unreferenced (unused) memory location for improving performance of a
JAVA
program. [Garbage collector is the system JAVA program which runs in the background
along with regular JAVA program to collect unreferenced memory
locations by running
at periodical interval of times for improving performance java of applications.
iv. JAVA contains user friendly syntax’s for developing applications.
2. Platform Independent:
A program or technology is said to be platform independent if and only if which can run on
all available operating systems.
The languages like C, Cpp are treated as platform dependent languages since these
languages are taking various amount of memory spaces on various operating systems [the
operating system dos understands everything in the form of its native format called Mozart (MZ)
whereas the operating system Unix understands everything in its negative format called
embedded linking format (elf). When we write a C or Cpp program on dos operating and if we
try to transfer that program to Unix operating system, we are unable to execute since the format
of these operating systems are different and more over the C, Cpp software does not contain
any special programs which converts one format of one operating system to another format of
other operating system].
The language like JAVA will have a common data types and the common memory spaces on
all operating systems and the JAVA software contains the special programs which converts the
format of one operating system to another format of other operating system. Hence JAVA
language is treated as platform independent language.
History Of Java
Microsoft System has developed this technology known JAVA.
The technology is called DOT NET
Microsoft (as on today). That is why DOT NET
technology called JAVA will run on all operating system’s irrespective of their providers therefore
it is called platform independent technology
The slogan of JAVA is “Write One’s Reuse/Run Anywhere
J2SE (Core JAVA) Notes
applications, two software companies came up
Sun Micro System.
DOT NET and Sun
JAVA. Both this technologies are known or called distributed technologies
will run only on that operating system’s which are provided by
technology is platform dependent technology
technology.
(WORA)”.
and server
whose
Micro System has
technologies.
form technology. Whereas, the
JAVA
J2SE (Core JAVA) Notes
By Mr. K.V.R Page 3
DOT NET technology is not freely downloadable where as JAVA freely downloadable.so java is a freeware. DOT
NET supports Microsoft developed design patterns (general designed patterns are not supported)
whereas JAVA supports all the design patterns which are available in IT.
Design pattern is a predefined and proved rule by third party industry experts to avoid the
receiving problems which are occurring in software development.
History of JAVA: JAVA is a distributed technology developed by James Gosling, Patric Naugton, etc., at Sun Micro System has released lot of rules for JAVA and those rules are implemented by JavaSoft Inc, USA (which is the software division of Sun Micro System) in the year 1990. The original name of JAVA is OAK (which is a tree name). In the year 1995, OAK was revised and developed software called JAVA (which is a coffee seed name). JAVA released to the market in three categories J2SE (JAVA 2 Standard Edition), J2EE (JAVA 2 Enterprise Edition) and J2ME (JAVA 2 Micro/Mobile Edition). i. J2SE is basically used for developing client side applications/programs. ii. J2EE is used for developing server side applications/programs. iii. J2ME is used for developing server side applications/programs. If you exchange the data between client and server programs (J2SE and J2EE), by default JAVA is having on internal support with a protocol called http. J2ME is used for developing mobile applications and lower/system level applications. To develop J2ME applications we must use a protocol called WAP (Wireless Applications Protocol).
History of JAVA: JAVA is a distributed technology developed by James Gosling, Patric Naugton, etc., at Sun Micro System has released lot of rules for JAVA and those rules are implemented by JavaSoft Inc, USA (which is the software division of Sun Micro System) in the year 1990. The original name of JAVA is OAK (which is a tree name). In the year 1995, OAK was revised and developed software called JAVA (which is a coffee seed name). JAVA released to the market in three categories J2SE (JAVA 2 Standard Edition), J2EE (JAVA 2 Enterprise Edition) and J2ME (JAVA 2 Micro/Mobile Edition). i. J2SE is basically used for developing client side applications/programs. ii. J2EE is used for developing server side applications/programs. iii. J2ME is used for developing server side applications/programs. If you exchange the data between client and server programs (J2SE and J2EE), by default JAVA is having on internal support with a protocol called http. J2ME is used for developing mobile applications and lower/system level applications. To develop J2ME applications we must use a protocol called WAP (Wireless Applications Protocol).
Introduction of Java
In IT we develop two types of applications. They are
applications.
A stand alone application
applications are not sharable. System software
applications.
• System software is used for developing functionality of hardware devices. Examples are C
and ALP (Assembly Language Programming).
• Application software is used for developing organizations oriented applications. This is also
known as backend software’s
released till now.
• Internet software is used for developing
A distributed application is one which can be
is also one which runs in the contest of the
must use client-server architecture
In client-server architecture
server program. A client program
server. A server program is one which will do three operations
processing the client request and
All the above three operations are performed by the server
the data between client and server we must use a protocol called
J2SE (Core JAVA) Notes
stand alone applications
is one which runs in the context of local disk.
and application software comes under
software’s. Examples are dbase, dbase III plus, FoxPro, oracle versions
distributed applications.
accessed across the globe. Distributed application
World Wide Web. To develop distributed applications
architecture.
we must hare at least two programs they are
is one which always makes a request to get the service from the
receiving the request from client,
sending the response to the client.
rations concurrently. In order to exchange
http (hypertext transfer protocol
and distributed
All stand alone
stand alone
we
client program and
protocol).
Protocol is a set of values which are defined to exchange the data between client an
either locally or remotely.
In order to develop distributed applications
names are Microsoft System and Microsoft System has developed a technology called
developed a technology called JAVA
The technology DOT NET
Microsoft (as on today). Hence DOT NET
technology called JAVA will run on all operating system’s irrespective of their providers hence
is called platform independent technology
The slogan of JAVA is “Write One’s Reuse/Run Anywhere
J2SE (Core JAVA) Notes
applications, two software companies came forward
Sun Micro System.
Subscribe to:
Posts (Atom)