SlideShare a Scribd company logo
1 of 6
Download to read offline
www.tjprc.org editor@tjprc.org
International Journal of Computer Networking,
Wireless and Mobile Communications (IJCNWMC)
ISSN(P): 2250-1568; ISSN(E): 2278-9448
Vol. 4, Issue 2, Apr 2014, 5-10
Š TJPRC Pvt. Ltd.
A CASE STUDY: JAVA IS SECURE PROGRAMMING LANGUAGE
LAXMI JOSHI
College of Computer and Information Science, Majmaah University, Majmaah, Saudi Arabia
ABSTRACT
There are many reasons why Java is so popular and some of the reasons are javas’ strongly supports features.
These features have made Java the first application language of the World Wide Web. The main aim had to make java
simple, portable and reliable.
KEYWORDS: Platform Independent, Object Oriented, Robust, Secure, Multi-Threading, Dynamic, High Performance
INTRODUCTION
The features of Java this torrent computer-speak jargon has often been labeled the “Oop” and was doubtless
intended with tongue in cheek, it nevertheless accurately identifies many of the features of Java that they make it so
well-suited for programming internet applications. Java History: Java is a general-purpose, object-oriented programming
language developed by Sun Microsystems of USA in 1991.Originally called Oak by James Gosling (one of the inventor of
the language). Java was invented for the development of software for consumer electronic devices like TVs, toasters, etc.
The main aim had to make java simple, portable and reliable. Java is first programming language which is not attached
with any particular hardware or operating system. Program developed in Java can be executed anywhere and on any
system.
Figure 1
Features of Java are as follows:
• Compiled and Interpreted
• Platform Independent and portable
• Object- oriented
• Robust and secure
• Distributed
• Familiar, simple and small
• Multithreaded and Interactive
6 Laxmi Joshi
Impact Factor (JCC): 5.3963 Index Copernicus Value (ICV):3.0
• High performance
• Dynamic and Extensible
Interpreted & Compiled
Basically a computer language is either compiled or interpreted. Java comes together both these approach thus
making Java a two-stage system. One of the first advances, after the intention of the programs itself, was the of the
program interpreter. Like the early short –code and speed code, Java is an interpreted language. This means the Java
executable files are composed of so called byte codes that are instructions and data relating to a hypothetical computer
called Java virtual machines.
Platform Independent
Java is Platform independent. The meaning of the platform here, in the computer industry it typically means some
combination of hardware and system software. Java is compiled to an intermediate form called Java byte-code or simply
byte code Java program never really executes immediately after compilation on the host machine. Rather, this special
program called the Java interpreter or Java Virtual Machine reads the byte code, translates it into the corresponding host
machine instructions and then executes the machine instruction. A Java program can run on any computer system for
which a JVM (Java Virtual Machine) so Java is platform independent.
Object- Oriented and Portable
Java supports the feature portability. Java programs can be easily moved from one computer system to another
and anywhere. Changes and upgrades in operating systems, processors and system resources will not force any alteration in
Java programs. This is reason why Java has become a trendy language for programming on Internet which interconnects
different kind of systems worldwide. Java certifies portability in two ways. First way is, Java compiler generates the byte
code and that can be executed on any machine. Second way is, size of primitive data types are machine independent.
Robust and Secure
Java is a most strong language which provides many securities to make certain reliable code. It is design as
garbage –collected language, which helps the programmers virtually from all memory management problems. Java also
includes the concept of exception handling, which detain serious errors and reduces all kind of threat of crashing the
system. Security is an important feature of Java and this is the strong reason that programmer use this language for
programming on Internet. The absence of pointers in Java ensures that programs cannot get right of entry to memory
location without proper approval
Figure 2: Java Security Model
As a matter of fact, Java is designed from the ground up for network-based computing, and security measures are
an integral part of Java's design.
A Case Study: Java is Secure Programming Language 7
www.tjprc.org editor@tjprc.org
Distributed
Java is called as Distributed language for construct applications on networks which can contribute both data and
programs. Java applications can open and access remote objects on Internet easily. That means multiple programmers at
multiple remote locations to work together on single task.
Familiar, Simple and Small
According to Sun, Java language is simple because: syntax is based on C++ (so easier for programmers to learn it
after C++). Removed many confusing and/or rarely-used features e.g., explicit pointers, operator overloading etc. No need
to remove unreferenced objects because there is Automatic Garbage Collection in java.
Java is very small and simple language. Java does not use pointer and header files, go to statements, etc.
It eliminates operator overloading and multiple inheritance.
Example
Method overloading means method name will be same but each method should be different parameter list.
public class prg1
{
int x=5,y=10,z=0;
public void sum()
{
z=x+y;
System.out.println("Sum is "+z);
}
public void sum(int a,int b)
{
x=a;
y=b;
z=x+y;
System.out.println("Sum is "+z);
}
public int sum(int a)
{
x=a;
z=x+y;
8 Laxmi Joshi
Impact Factor (JCC): 5.3963 Index Copernicus Value (ICV):3.0
return z;
}
public static void main(String args[])
{
prg1 obj=new prg1();
obj.sum();
obj.sum(15,10);
System.out.println(+obj.sum(15));
}
}
Output :
sum is 15
sum is 25
25
High Performance
Java performance is very extraordinary for an interpreted language, majorly due to the use of intermediate byte
code. Java architecture is also designed to reduce overheads during runtime. The incorporation of multithreading execution
speed of the program. In Java first compile the program, and then execute it using the Java interpreter. In general,
interpreters are slow, because an interpreter executes program instruction by instruction while Java is a fast-interpreted
language. Java has also been designed so that the run-time system can optimize their performance by compiling byte code
to native machine code on the fly (execute immediately after compilation). Many companies are a working on a
native - machine-architecture compiler for Java. These will produce an executable code that does not require a separate
interpreter, and that is indistinguishable in speed from C++.
Dynamic and Extensible IX
Java is also dynamic language. Java is capable of dynamically linking in new class, libraries methods and objects.
Java can also establish the type of class through the query building it possible to either dynamically link or abort the
program, depending on the reply Java program is support functions written in other language such as known as native
method.
CONCLUSIONS
In this paper, I have studied the of Java and also why Java is popular language now days. Java an Object Oriented,
general-purpose programming language. After its birth it became popular because of many reasons like security, robust and
multithreadedness but mainly because of its portable and platform independent. Security is a multifaceted feature of the
Java platform. There are a number of facilities within Java that allow you to write a Java application that implements a
A Case Study: Java is Secure Programming Language 9
www.tjprc.org editor@tjprc.org
particular security policy, and this book will focus on each of those facilities in turn. The logic and magic behind its
platform independence is “byte code”.
REFERENCES
1. Stephen Gilbert and Bill McCarty. Object –Oriented Programming in Java 1st Edition, New Delhi-2: Techmedia
2. E Balagurusamy, Programming with JAVA 2nd Edition, New Delhi: Tata McGraw-Hill Publishing.
3. Herbert Schildt, the Complete Reference Java2 5th Edition McGraw-Hill/Osborne.
4. R. Nageswara Rao, Core JAVA: An Integrated Approach 1st Edition, Dreamtech Press.
5. Herb Schildt, Java: A Beginner’s Guide 5th Edition, Tata McGraw-Hill Education Pvt. Ltd.
6. Katherine Sierra, Bert Bates - SCJP Sun Certified Programmer for Java 6th Edition Tata McGraw-Hill
7. Bruce Eckel, Thinking in Java 4th Edition, Pearson.
8. Java Features available at: http://www.javatpoint.com
A CASE STUDY  JAVA IS SECURE PROGRAMMING LANGUAGE

More Related Content

Similar to A CASE STUDY JAVA IS SECURE PROGRAMMING LANGUAGE

Similar to A CASE STUDY JAVA IS SECURE PROGRAMMING LANGUAGE (20)

0f0cef_1dac552af56c4338ab0672859199e693.pdf
0f0cef_1dac552af56c4338ab0672859199e693.pdf0f0cef_1dac552af56c4338ab0672859199e693.pdf
0f0cef_1dac552af56c4338ab0672859199e693.pdf
 
Java1
Java1Java1
Java1
 
Java
Java Java
Java
 
CORE JAVA
CORE JAVACORE JAVA
CORE JAVA
 
Java and its features
Java and its featuresJava and its features
Java and its features
 
Java ms harsha
Java ms harshaJava ms harsha
Java ms harsha
 
1.INTRODUCTION TO JAVA_2022 MB.ppt .
1.INTRODUCTION TO JAVA_2022 MB.ppt      .1.INTRODUCTION TO JAVA_2022 MB.ppt      .
1.INTRODUCTION TO JAVA_2022 MB.ppt .
 
java introduction.docx
java introduction.docxjava introduction.docx
java introduction.docx
 
Java session2
Java session2Java session2
Java session2
 
Java 2 computer science.pptx
Java 2 computer science.pptxJava 2 computer science.pptx
Java 2 computer science.pptx
 
Java Programming
Java ProgrammingJava Programming
Java Programming
 
Introduction to Java Programming.pdf
Introduction to Java Programming.pdfIntroduction to Java Programming.pdf
Introduction to Java Programming.pdf
 
Java-Unit-I.ppt
Java-Unit-I.pptJava-Unit-I.ppt
Java-Unit-I.ppt
 
JAVA PROGRAMMING-Unit I - Final PPT.pptx
JAVA PROGRAMMING-Unit I - Final PPT.pptxJAVA PROGRAMMING-Unit I - Final PPT.pptx
JAVA PROGRAMMING-Unit I - Final PPT.pptx
 
TechSearchWeb.pdf
TechSearchWeb.pdfTechSearchWeb.pdf
TechSearchWeb.pdf
 
Technology Tutorial.pdf
Technology Tutorial.pdfTechnology Tutorial.pdf
Technology Tutorial.pdf
 
Sybsc cs sem 3 core java
Sybsc cs sem 3 core javaSybsc cs sem 3 core java
Sybsc cs sem 3 core java
 
Java Lecture 1
Java Lecture 1Java Lecture 1
Java Lecture 1
 
Java Tutorial to Learn Java Programming
Java Tutorial to Learn Java ProgrammingJava Tutorial to Learn Java Programming
Java Tutorial to Learn Java Programming
 
Unit-IV_Introduction to Java.pdf
Unit-IV_Introduction to Java.pdfUnit-IV_Introduction to Java.pdf
Unit-IV_Introduction to Java.pdf
 

More from Nathan Mathis

Page Borders Design, Border Design, Baby Clip Art, Fre
Page Borders Design, Border Design, Baby Clip Art, FrePage Borders Design, Border Design, Baby Clip Art, Fre
Page Borders Design, Border Design, Baby Clip Art, FreNathan Mathis
 
How To Write Your Essays In Less Minutes Using This Website Doy News
How To Write Your Essays In Less Minutes Using This Website Doy NewsHow To Write Your Essays In Less Minutes Using This Website Doy News
How To Write Your Essays In Less Minutes Using This Website Doy NewsNathan Mathis
 
Lined Paper For Beginning Writers Writing Paper Prin
Lined Paper For Beginning Writers Writing Paper PrinLined Paper For Beginning Writers Writing Paper Prin
Lined Paper For Beginning Writers Writing Paper PrinNathan Mathis
 
Term Paper Example Telegraph
Term Paper Example TelegraphTerm Paper Example Telegraph
Term Paper Example TelegraphNathan Mathis
 
Unusual How To Start Off A Compare And Contrast Essay
Unusual How To Start Off A Compare And Contrast EssayUnusual How To Start Off A Compare And Contrast Essay
Unusual How To Start Off A Compare And Contrast EssayNathan Mathis
 
How To Write A Methodology Essay, Essay Writer, Essa
How To Write A Methodology Essay, Essay Writer, EssaHow To Write A Methodology Essay, Essay Writer, Essa
How To Write A Methodology Essay, Essay Writer, EssaNathan Mathis
 
Recolectar 144 Imagem Educational Background Ex
Recolectar 144 Imagem Educational Background ExRecolectar 144 Imagem Educational Background Ex
Recolectar 144 Imagem Educational Background ExNathan Mathis
 
Microsoft Word Lined Paper Template
Microsoft Word Lined Paper TemplateMicrosoft Word Lined Paper Template
Microsoft Word Lined Paper TemplateNathan Mathis
 
Owl Writing Paper
Owl Writing PaperOwl Writing Paper
Owl Writing PaperNathan Mathis
 
The Essay Writing Process Essays
The Essay Writing Process EssaysThe Essay Writing Process Essays
The Essay Writing Process EssaysNathan Mathis
 
How To Make A Cover Page For Assignment Guide - As
How To Make A Cover Page For Assignment Guide - AsHow To Make A Cover Page For Assignment Guide - As
How To Make A Cover Page For Assignment Guide - AsNathan Mathis
 
Awesome Creative Writing Essays Thatsnotus
Awesome Creative Writing Essays ThatsnotusAwesome Creative Writing Essays Thatsnotus
Awesome Creative Writing Essays ThatsnotusNathan Mathis
 
Sites That Write Papers For You. Websites That Write Essays For You
Sites That Write Papers For You. Websites That Write Essays For YouSites That Write Papers For You. Websites That Write Essays For You
Sites That Write Papers For You. Websites That Write Essays For YouNathan Mathis
 
4.4 How To Organize And Arrange - Hu
4.4 How To Organize And Arrange - Hu4.4 How To Organize And Arrange - Hu
4.4 How To Organize And Arrange - HuNathan Mathis
 
Essay Written In First Person
Essay Written In First PersonEssay Written In First Person
Essay Written In First PersonNathan Mathis
 
My Purpose In Life Free Essay Example
My Purpose In Life Free Essay ExampleMy Purpose In Life Free Essay Example
My Purpose In Life Free Essay ExampleNathan Mathis
 
The Structure Of An Outline For A Research Paper, Including Text
The Structure Of An Outline For A Research Paper, Including TextThe Structure Of An Outline For A Research Paper, Including Text
The Structure Of An Outline For A Research Paper, Including TextNathan Mathis
 
What Are Some Topics For Exemplification Essays - Quora
What Are Some Topics For Exemplification Essays - QuoraWhat Are Some Topics For Exemplification Essays - Quora
What Are Some Topics For Exemplification Essays - QuoraNathan Mathis
 
Please Comment, Like, Or Re-Pin For Later Bibliogra
Please Comment, Like, Or Re-Pin For Later BibliograPlease Comment, Like, Or Re-Pin For Later Bibliogra
Please Comment, Like, Or Re-Pin For Later BibliograNathan Mathis
 
Ide Populer Word In English, Top
Ide Populer Word In English, TopIde Populer Word In English, Top
Ide Populer Word In English, TopNathan Mathis
 

More from Nathan Mathis (20)

Page Borders Design, Border Design, Baby Clip Art, Fre
Page Borders Design, Border Design, Baby Clip Art, FrePage Borders Design, Border Design, Baby Clip Art, Fre
Page Borders Design, Border Design, Baby Clip Art, Fre
 
How To Write Your Essays In Less Minutes Using This Website Doy News
How To Write Your Essays In Less Minutes Using This Website Doy NewsHow To Write Your Essays In Less Minutes Using This Website Doy News
How To Write Your Essays In Less Minutes Using This Website Doy News
 
Lined Paper For Beginning Writers Writing Paper Prin
Lined Paper For Beginning Writers Writing Paper PrinLined Paper For Beginning Writers Writing Paper Prin
Lined Paper For Beginning Writers Writing Paper Prin
 
Term Paper Example Telegraph
Term Paper Example TelegraphTerm Paper Example Telegraph
Term Paper Example Telegraph
 
Unusual How To Start Off A Compare And Contrast Essay
Unusual How To Start Off A Compare And Contrast EssayUnusual How To Start Off A Compare And Contrast Essay
Unusual How To Start Off A Compare And Contrast Essay
 
How To Write A Methodology Essay, Essay Writer, Essa
How To Write A Methodology Essay, Essay Writer, EssaHow To Write A Methodology Essay, Essay Writer, Essa
How To Write A Methodology Essay, Essay Writer, Essa
 
Recolectar 144 Imagem Educational Background Ex
Recolectar 144 Imagem Educational Background ExRecolectar 144 Imagem Educational Background Ex
Recolectar 144 Imagem Educational Background Ex
 
Microsoft Word Lined Paper Template
Microsoft Word Lined Paper TemplateMicrosoft Word Lined Paper Template
Microsoft Word Lined Paper Template
 
Owl Writing Paper
Owl Writing PaperOwl Writing Paper
Owl Writing Paper
 
The Essay Writing Process Essays
The Essay Writing Process EssaysThe Essay Writing Process Essays
The Essay Writing Process Essays
 
How To Make A Cover Page For Assignment Guide - As
How To Make A Cover Page For Assignment Guide - AsHow To Make A Cover Page For Assignment Guide - As
How To Make A Cover Page For Assignment Guide - As
 
Awesome Creative Writing Essays Thatsnotus
Awesome Creative Writing Essays ThatsnotusAwesome Creative Writing Essays Thatsnotus
Awesome Creative Writing Essays Thatsnotus
 
Sites That Write Papers For You. Websites That Write Essays For You
Sites That Write Papers For You. Websites That Write Essays For YouSites That Write Papers For You. Websites That Write Essays For You
Sites That Write Papers For You. Websites That Write Essays For You
 
4.4 How To Organize And Arrange - Hu
4.4 How To Organize And Arrange - Hu4.4 How To Organize And Arrange - Hu
4.4 How To Organize And Arrange - Hu
 
Essay Written In First Person
Essay Written In First PersonEssay Written In First Person
Essay Written In First Person
 
My Purpose In Life Free Essay Example
My Purpose In Life Free Essay ExampleMy Purpose In Life Free Essay Example
My Purpose In Life Free Essay Example
 
The Structure Of An Outline For A Research Paper, Including Text
The Structure Of An Outline For A Research Paper, Including TextThe Structure Of An Outline For A Research Paper, Including Text
The Structure Of An Outline For A Research Paper, Including Text
 
What Are Some Topics For Exemplification Essays - Quora
What Are Some Topics For Exemplification Essays - QuoraWhat Are Some Topics For Exemplification Essays - Quora
What Are Some Topics For Exemplification Essays - Quora
 
Please Comment, Like, Or Re-Pin For Later Bibliogra
Please Comment, Like, Or Re-Pin For Later BibliograPlease Comment, Like, Or Re-Pin For Later Bibliogra
Please Comment, Like, Or Re-Pin For Later Bibliogra
 
Ide Populer Word In English, Top
Ide Populer Word In English, TopIde Populer Word In English, Top
Ide Populer Word In English, Top
 

Recently uploaded

POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxSayali Powar
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionSafetyChain Software
 
JAPAN: ORGANISATION OF PMDA, PHARMACEUTICAL LAWS & REGULATIONS, TYPES OF REGI...
JAPAN: ORGANISATION OF PMDA, PHARMACEUTICAL LAWS & REGULATIONS, TYPES OF REGI...JAPAN: ORGANISATION OF PMDA, PHARMACEUTICAL LAWS & REGULATIONS, TYPES OF REGI...
JAPAN: ORGANISATION OF PMDA, PHARMACEUTICAL LAWS & REGULATIONS, TYPES OF REGI...anjaliyadav012327
 
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...Sapna Thakur
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdfQucHHunhnh
 
Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpinRaunakKeshri1
 
Disha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfDisha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfchloefrazer622
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfsanyamsingh5019
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactdawncurless
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Krashi Coaching
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxheathfieldcps1
 
social pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajansocial pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajanpragatimahajan3
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Celine George
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfJayanti Pande
 
Advance Mobile Application Development class 07
Advance Mobile Application Development class 07Advance Mobile Application Development class 07
Advance Mobile Application Development class 07Dr. Mazin Mohamed alkathiri
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdfSoniaTolstoy
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAssociation for Project Management
 

Recently uploaded (20)

POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory Inspection
 
JAPAN: ORGANISATION OF PMDA, PHARMACEUTICAL LAWS & REGULATIONS, TYPES OF REGI...
JAPAN: ORGANISATION OF PMDA, PHARMACEUTICAL LAWS & REGULATIONS, TYPES OF REGI...JAPAN: ORGANISATION OF PMDA, PHARMACEUTICAL LAWS & REGULATIONS, TYPES OF REGI...
JAPAN: ORGANISATION OF PMDA, PHARMACEUTICAL LAWS & REGULATIONS, TYPES OF REGI...
 
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 
Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpin
 
Disha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfDisha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdf
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdf
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impact
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
 
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptxINDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
 
social pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajansocial pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajan
 
CĂłdigo Creativo y Arte de Software | Unidad 1
CĂłdigo Creativo y Arte de Software | Unidad 1CĂłdigo Creativo y Arte de Software | Unidad 1
CĂłdigo Creativo y Arte de Software | Unidad 1
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdf
 
Advance Mobile Application Development class 07
Advance Mobile Application Development class 07Advance Mobile Application Development class 07
Advance Mobile Application Development class 07
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across Sectors
 

A CASE STUDY JAVA IS SECURE PROGRAMMING LANGUAGE

  • 1. www.tjprc.org editor@tjprc.org International Journal of Computer Networking, Wireless and Mobile Communications (IJCNWMC) ISSN(P): 2250-1568; ISSN(E): 2278-9448 Vol. 4, Issue 2, Apr 2014, 5-10 Š TJPRC Pvt. Ltd. A CASE STUDY: JAVA IS SECURE PROGRAMMING LANGUAGE LAXMI JOSHI College of Computer and Information Science, Majmaah University, Majmaah, Saudi Arabia ABSTRACT There are many reasons why Java is so popular and some of the reasons are javas’ strongly supports features. These features have made Java the first application language of the World Wide Web. The main aim had to make java simple, portable and reliable. KEYWORDS: Platform Independent, Object Oriented, Robust, Secure, Multi-Threading, Dynamic, High Performance INTRODUCTION The features of Java this torrent computer-speak jargon has often been labeled the “Oop” and was doubtless intended with tongue in cheek, it nevertheless accurately identifies many of the features of Java that they make it so well-suited for programming internet applications. Java History: Java is a general-purpose, object-oriented programming language developed by Sun Microsystems of USA in 1991.Originally called Oak by James Gosling (one of the inventor of the language). Java was invented for the development of software for consumer electronic devices like TVs, toasters, etc. The main aim had to make java simple, portable and reliable. Java is first programming language which is not attached with any particular hardware or operating system. Program developed in Java can be executed anywhere and on any system. Figure 1 Features of Java are as follows: • Compiled and Interpreted • Platform Independent and portable • Object- oriented • Robust and secure • Distributed • Familiar, simple and small • Multithreaded and Interactive
  • 2. 6 Laxmi Joshi Impact Factor (JCC): 5.3963 Index Copernicus Value (ICV):3.0 • High performance • Dynamic and Extensible Interpreted & Compiled Basically a computer language is either compiled or interpreted. Java comes together both these approach thus making Java a two-stage system. One of the first advances, after the intention of the programs itself, was the of the program interpreter. Like the early short –code and speed code, Java is an interpreted language. This means the Java executable files are composed of so called byte codes that are instructions and data relating to a hypothetical computer called Java virtual machines. Platform Independent Java is Platform independent. The meaning of the platform here, in the computer industry it typically means some combination of hardware and system software. Java is compiled to an intermediate form called Java byte-code or simply byte code Java program never really executes immediately after compilation on the host machine. Rather, this special program called the Java interpreter or Java Virtual Machine reads the byte code, translates it into the corresponding host machine instructions and then executes the machine instruction. A Java program can run on any computer system for which a JVM (Java Virtual Machine) so Java is platform independent. Object- Oriented and Portable Java supports the feature portability. Java programs can be easily moved from one computer system to another and anywhere. Changes and upgrades in operating systems, processors and system resources will not force any alteration in Java programs. This is reason why Java has become a trendy language for programming on Internet which interconnects different kind of systems worldwide. Java certifies portability in two ways. First way is, Java compiler generates the byte code and that can be executed on any machine. Second way is, size of primitive data types are machine independent. Robust and Secure Java is a most strong language which provides many securities to make certain reliable code. It is design as garbage –collected language, which helps the programmers virtually from all memory management problems. Java also includes the concept of exception handling, which detain serious errors and reduces all kind of threat of crashing the system. Security is an important feature of Java and this is the strong reason that programmer use this language for programming on Internet. The absence of pointers in Java ensures that programs cannot get right of entry to memory location without proper approval Figure 2: Java Security Model As a matter of fact, Java is designed from the ground up for network-based computing, and security measures are an integral part of Java's design.
  • 3. A Case Study: Java is Secure Programming Language 7 www.tjprc.org editor@tjprc.org Distributed Java is called as Distributed language for construct applications on networks which can contribute both data and programs. Java applications can open and access remote objects on Internet easily. That means multiple programmers at multiple remote locations to work together on single task. Familiar, Simple and Small According to Sun, Java language is simple because: syntax is based on C++ (so easier for programmers to learn it after C++). Removed many confusing and/or rarely-used features e.g., explicit pointers, operator overloading etc. No need to remove unreferenced objects because there is Automatic Garbage Collection in java. Java is very small and simple language. Java does not use pointer and header files, go to statements, etc. It eliminates operator overloading and multiple inheritance. Example Method overloading means method name will be same but each method should be different parameter list. public class prg1 { int x=5,y=10,z=0; public void sum() { z=x+y; System.out.println("Sum is "+z); } public void sum(int a,int b) { x=a; y=b; z=x+y; System.out.println("Sum is "+z); } public int sum(int a) { x=a; z=x+y;
  • 4. 8 Laxmi Joshi Impact Factor (JCC): 5.3963 Index Copernicus Value (ICV):3.0 return z; } public static void main(String args[]) { prg1 obj=new prg1(); obj.sum(); obj.sum(15,10); System.out.println(+obj.sum(15)); } } Output : sum is 15 sum is 25 25 High Performance Java performance is very extraordinary for an interpreted language, majorly due to the use of intermediate byte code. Java architecture is also designed to reduce overheads during runtime. The incorporation of multithreading execution speed of the program. In Java first compile the program, and then execute it using the Java interpreter. In general, interpreters are slow, because an interpreter executes program instruction by instruction while Java is a fast-interpreted language. Java has also been designed so that the run-time system can optimize their performance by compiling byte code to native machine code on the fly (execute immediately after compilation). Many companies are a working on a native - machine-architecture compiler for Java. These will produce an executable code that does not require a separate interpreter, and that is indistinguishable in speed from C++. Dynamic and Extensible IX Java is also dynamic language. Java is capable of dynamically linking in new class, libraries methods and objects. Java can also establish the type of class through the query building it possible to either dynamically link or abort the program, depending on the reply Java program is support functions written in other language such as known as native method. CONCLUSIONS In this paper, I have studied the of Java and also why Java is popular language now days. Java an Object Oriented, general-purpose programming language. After its birth it became popular because of many reasons like security, robust and multithreadedness but mainly because of its portable and platform independent. Security is a multifaceted feature of the Java platform. There are a number of facilities within Java that allow you to write a Java application that implements a
  • 5. A Case Study: Java is Secure Programming Language 9 www.tjprc.org editor@tjprc.org particular security policy, and this book will focus on each of those facilities in turn. The logic and magic behind its platform independence is “byte code”. REFERENCES 1. Stephen Gilbert and Bill McCarty. Object –Oriented Programming in Java 1st Edition, New Delhi-2: Techmedia 2. E Balagurusamy, Programming with JAVA 2nd Edition, New Delhi: Tata McGraw-Hill Publishing. 3. Herbert Schildt, the Complete Reference Java2 5th Edition McGraw-Hill/Osborne. 4. R. Nageswara Rao, Core JAVA: An Integrated Approach 1st Edition, Dreamtech Press. 5. Herb Schildt, Java: A Beginner’s Guide 5th Edition, Tata McGraw-Hill Education Pvt. Ltd. 6. Katherine Sierra, Bert Bates - SCJP Sun Certified Programmer for Java 6th Edition Tata McGraw-Hill 7. Bruce Eckel, Thinking in Java 4th Edition, Pearson. 8. Java Features available at: http://www.javatpoint.com