0% found this document useful (0 votes)
31 views

By: Akanksha Yadav

Sun Microsystems was founded in 1982 by Stanford graduate students and employees to commercialize the Stanford University Network (SUN). The company's name and stock symbol reflect this origin. James Gosling led the team that developed the Java programming language at Sun. Java was initially intended for client-side applets but has been more successful for server-side internet applications. It is an object-oriented language that is compiled to bytecode and run on a Java Virtual Machine, providing portability and security.

Uploaded by

Abhishek Nagaraj
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
31 views

By: Akanksha Yadav

Sun Microsystems was founded in 1982 by Stanford graduate students and employees to commercialize the Stanford University Network (SUN). The company's name and stock symbol reflect this origin. James Gosling led the team that developed the Java programming language at Sun. Java was initially intended for client-side applets but has been more successful for server-side internet applications. It is an object-oriented language that is compiled to bytecode and run on a Java Virtual Machine, providing portability and security.

Uploaded by

Abhishek Nagaraj
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPT, PDF, TXT or read online on Scribd
You are on page 1/ 15

By: Akanksha Yadav

Slogan : The Network Is The Computer


Type: Public (NASDAQ, SUNW)
Founded: 1982
Headquarters: Santa Clara, California, USA
Industry: Computer Hardware, Software
Products: Computer servers and workstations and
supporting software, Java Language
Revenue: $11.07 billion (2005)
Website: www.sun.com
In February 1982, Bechtolsheim, fellow Stanford graduate students
Vinod Khosla and Scott McNealy, and Bill Joy founded the company
now known as Sun Microsystems.

The company name is derived from the initials for Stanford


University Network, also reflected in the company's stock symbol,
SUNW, which now stands for Sun Worldwide.

Other Sun luminaries include early employees John Gilmore and


James Gosling.

James Gosling led the team which developed the Java programming
language.
HISTORY OF JAVA:
• At first glance, it may appear that Java was developed specifically
for the world wide web.
• OAK
• JAVA - James Gosling, Arthur Van Hoff, Andy Bechtolsheim
• Reliability : motivation for several important modification to C++
• Security : security is of great concern in a networked environment
thus concept of pointers was excluded.
• Turning point for Java
JAVA LANGUAGE
• Object – Oriented Language
• Java source code files compiled into a format called bytecode
• Change of format so that it can be executed by Java interpreter
• Java Virtual Machines (VMs)
• Bytecode can be directly converted to machine language by
Just-In-Time Compiler (JIT)
• Java is well suited for use on World Wide Web
• Unsafe features like pointers and operator overloading removed
from Java
• Backed with massive class library
• Call upon large set of GUI, mathematical and Internet access
codes
• Java initially promoted as platform for client-side applets
• Platform has been more successful on server-side of
internet
• Platform consists of 3 major parts :
1. Java Programming Language
2. Java Virtual Machine (JVM)
3. Java Application Programming Interface (API)
• Design of Java Platform controlled by vendor through Java
Community Process (JCP)
• Java exists in form of 3 editions :
1. Standard Edition (Java SE)
2. Enterprise Edition (Java EE)
3. Micro Edition (Java ME)
PORTABILITY
• The language is completely specified
• Java class library is available on any machine with a Java runtime
system
• Java programs translated into machine-independent bytecode

SECURITY
• In Java very difficult to write incorrect codes or virus that can
steal/corrupt data
• Two main lines of defense – Interpreter, and Browser level (applets)
Interpreter :
No pointer arithmetic
Garbage collection
Array bounds checking
No illegal data conversion
Browser (applies to applets only) :
No local file I/O
Sockets back to host only
No calls to native methods

JAVA PROGRAM STRUCTURE


• File containing Java source code is called a compilation unit
• Compilation unit contains a set of classes and, optionally, a
package definition to group related classes together
• Class contains – data and method members
• Java programs come in 2 flavours :
1. Standalone applications – Which have no initial context such
as pre existing main window
2. Applets for WWW programming
• Applets are not allowed to use file I/O and sockets
• Applet must be a subclass of Java ‘Applet’ class
• Applications can have menu
• Applets need to respond to predefined life cycle
• Java supports multiple inheritance
• Java supports overloading and over-riding
APPLET EXECUTION
• Applet is a Java program that runs within a Java-compatible www
browser or an appletviewer
• Predefined methods automatically invoked by the runtime system :
init( )
start( )
paint(Graphics g)
stop( )
destroy( )
PRIMITIVE TYPES

Primitive type Description


boolean true/false
byte 8 bits
char 16 bits
short 16 bits
int 32 bits
long 64 bits
float 32 bits
double 64 bits
OTHER DETAILS

• All Java objects reside in a heap, no objects are stored in a stack


• Java strings are real objects, not pointers to memory
• Java arrays are objects that know the number and type of their
elements
• To allocate an array, the ‘new’ operator is used
• Java language has ‘reference semantics’
TECHNOLOGY VALUES
• Richer user experience - The unique blend of mobility and security
in Java technology makes it the ideal development and deployment
vehicle for mobile and wireless solutions.
• The Ideal Execution Environment for Web Services - The Java and
XML languages are the two most extensible and widely accepted
computing languages, providing maximum reach to everyone,
everywhere, every time, to every device and platform.
• Enabling Business from End to End - Java technology offers a
single, unifying programming model that can connect all elements of
a business infrastructure.

You might also like