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

What's hot

Apache Kafka and ksqlDB in Action: Let's Build a Streaming Data Pipeline! (Ro...
Apache Kafka and ksqlDB in Action: Let's Build a Streaming Data Pipeline! (Ro...Apache Kafka and ksqlDB in Action: Let's Build a Streaming Data Pipeline! (Ro...
Apache Kafka and ksqlDB in Action: Let's Build a Streaming Data Pipeline! (Ro...confluent
 
LinkedInSaxoBankDataWorkbench
LinkedInSaxoBankDataWorkbenchLinkedInSaxoBankDataWorkbench
LinkedInSaxoBankDataWorkbenchSheetal Pratik
 
How to migrate workloads to the google cloud platform
How to migrate workloads to the google cloud platformHow to migrate workloads to the google cloud platform
How to migrate workloads to the google cloud platformactualtechmedia
 
Example Mapping in the Wild
Example Mapping in the WildExample Mapping in the Wild
Example Mapping in the WildCeri Shaw
 
Spring GraphQL
Spring GraphQLSpring GraphQL
Spring GraphQLVMware Tanzu
 
Decision making in JAVA
Decision making in JAVADecision making in JAVA
Decision making in JAVAHamna_sheikh
 
Java 8 - An Overview
Java 8 - An OverviewJava 8 - An Overview
Java 8 - An OverviewIndrajit Das
 
Microservices Platform with Spring Boot, Spring Cloud Config, Spring Cloud Ne...
Microservices Platform with Spring Boot, Spring Cloud Config, Spring Cloud Ne...Microservices Platform with Spring Boot, Spring Cloud Config, Spring Cloud Ne...
Microservices Platform with Spring Boot, Spring Cloud Config, Spring Cloud Ne...Tin Linn Soe
 
Azure data factory security
Azure data factory securityAzure data factory security
Azure data factory securityMikeBrassil1
 
All about paas_iaas_saas_29.01.2015
All about paas_iaas_saas_29.01.2015All about paas_iaas_saas_29.01.2015
All about paas_iaas_saas_29.01.2015mihaiburada
 
Ingestion in data pipelines with Managed Kafka Clusters in Azure HDInsight
Ingestion in data pipelines with Managed Kafka Clusters in Azure HDInsightIngestion in data pipelines with Managed Kafka Clusters in Azure HDInsight
Ingestion in data pipelines with Managed Kafka Clusters in Azure HDInsightMicrosoft Tech Community
 
Introduction to Functional Programming with Scala
Introduction to Functional Programming with ScalaIntroduction to Functional Programming with Scala
Introduction to Functional Programming with Scalapramode_ce
 
Intro to Airflow: Goodbye Cron, Welcome scheduled workflow management
Intro to Airflow: Goodbye Cron, Welcome scheduled workflow managementIntro to Airflow: Goodbye Cron, Welcome scheduled workflow management
Intro to Airflow: Goodbye Cron, Welcome scheduled workflow managementBurasakorn Sabyeying
 
Introduction to java
Introduction to javaIntroduction to java
Introduction to javaSaba Ameer
 

What's hot (20)

Apache Kafka and ksqlDB in Action: Let's Build a Streaming Data Pipeline! (Ro...
Apache Kafka and ksqlDB in Action: Let's Build a Streaming Data Pipeline! (Ro...Apache Kafka and ksqlDB in Action: Let's Build a Streaming Data Pipeline! (Ro...
Apache Kafka and ksqlDB in Action: Let's Build a Streaming Data Pipeline! (Ro...
 
Introduction to Scala
Introduction to ScalaIntroduction to Scala
Introduction to Scala
 
LinkedInSaxoBankDataWorkbench
LinkedInSaxoBankDataWorkbenchLinkedInSaxoBankDataWorkbench
LinkedInSaxoBankDataWorkbench
 
How to migrate workloads to the google cloud platform
How to migrate workloads to the google cloud platformHow to migrate workloads to the google cloud platform
How to migrate workloads to the google cloud platform
 
Example Mapping in the Wild
Example Mapping in the WildExample Mapping in the Wild
Example Mapping in the Wild
 
Spring GraphQL
Spring GraphQLSpring GraphQL
Spring GraphQL
 
Decision making in JAVA
Decision making in JAVADecision making in JAVA
Decision making in JAVA
 
DATADOG TIPS #1
DATADOG TIPS #1DATADOG TIPS #1
DATADOG TIPS #1
 
Kotlin Coroutines - the new async
Kotlin Coroutines - the new asyncKotlin Coroutines - the new async
Kotlin Coroutines - the new async
 
Java 8 - An Overview
Java 8 - An OverviewJava 8 - An Overview
Java 8 - An Overview
 
Microservices Platform with Spring Boot, Spring Cloud Config, Spring Cloud Ne...
Microservices Platform with Spring Boot, Spring Cloud Config, Spring Cloud Ne...Microservices Platform with Spring Boot, Spring Cloud Config, Spring Cloud Ne...
Microservices Platform with Spring Boot, Spring Cloud Config, Spring Cloud Ne...
 
Azure data factory security
Azure data factory securityAzure data factory security
Azure data factory security
 
All about paas_iaas_saas_29.01.2015
All about paas_iaas_saas_29.01.2015All about paas_iaas_saas_29.01.2015
All about paas_iaas_saas_29.01.2015
 
Ingestion in data pipelines with Managed Kafka Clusters in Azure HDInsight
Ingestion in data pipelines with Managed Kafka Clusters in Azure HDInsightIngestion in data pipelines with Managed Kafka Clusters in Azure HDInsight
Ingestion in data pipelines with Managed Kafka Clusters in Azure HDInsight
 
Introduction to Functional Programming with Scala
Introduction to Functional Programming with ScalaIntroduction to Functional Programming with Scala
Introduction to Functional Programming with Scala
 
Clean code and code smells
Clean code and code smellsClean code and code smells
Clean code and code smells
 
Java Programming
Java ProgrammingJava Programming
Java Programming
 
Intro to Airflow: Goodbye Cron, Welcome scheduled workflow management
Intro to Airflow: Goodbye Cron, Welcome scheduled workflow managementIntro to Airflow: Goodbye Cron, Welcome scheduled workflow management
Intro to Airflow: Goodbye Cron, Welcome scheduled workflow management
 
Introduction to java
Introduction to javaIntroduction to java
Introduction to java
 
Code quality for Terraform
Code quality for TerraformCode quality for Terraform
Code quality for Terraform
 

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

DATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersDATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersSabitha Banu
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxNirmalaLoungPoorunde1
 
History Class XII Ch. 3 Kinship, Caste and Class (1).pptx
History Class XII Ch. 3 Kinship, Caste and Class (1).pptxHistory Class XII Ch. 3 Kinship, Caste and Class (1).pptx
History Class XII Ch. 3 Kinship, Caste and Class (1).pptxsocialsciencegdgrohi
 
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdfFraming an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdfUjwalaBharambe
 
Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxthorishapillay1
 
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxiammrhaywood
 
Pharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdfPharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdfMahmoud M. Sallam
 
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
 
EPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptxEPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptxRaymartEstabillo3
 
Capitol Tech U Doctoral Presentation - April 2024.pptx
Capitol Tech U Doctoral Presentation - April 2024.pptxCapitol Tech U Doctoral Presentation - April 2024.pptx
Capitol Tech U Doctoral Presentation - April 2024.pptxCapitolTechU
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatYousafMalik24
 
Hierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of managementHierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of managementmkooblal
 
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...M56BOOKSTORE PRODUCT/SERVICE
 
Presiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsPresiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsanshu789521
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Educationpboyjonauth
 
MARGINALIZATION (Different learners in Marginalized Group
MARGINALIZATION (Different learners in Marginalized GroupMARGINALIZATION (Different learners in Marginalized Group
MARGINALIZATION (Different learners in Marginalized GroupJonathanParaisoCruz
 
Painted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of IndiaPainted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of IndiaVirag Sontakke
 
How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17Celine George
 

Recently uploaded (20)

DATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersDATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginners
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptx
 
History Class XII Ch. 3 Kinship, Caste and Class (1).pptx
History Class XII Ch. 3 Kinship, Caste and Class (1).pptxHistory Class XII Ch. 3 Kinship, Caste and Class (1).pptx
History Class XII Ch. 3 Kinship, Caste and Class (1).pptx
 
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdfFraming an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
 
Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptx
 
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
 
9953330565 Low Rate Call Girls In Rohini Delhi NCR
9953330565 Low Rate Call Girls In Rohini  Delhi NCR9953330565 Low Rate Call Girls In Rohini  Delhi NCR
9953330565 Low Rate Call Girls In Rohini Delhi NCR
 
Pharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdfPharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdf
 
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
 
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
 
EPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptxEPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptx
 
Capitol Tech U Doctoral Presentation - April 2024.pptx
Capitol Tech U Doctoral Presentation - April 2024.pptxCapitol Tech U Doctoral Presentation - April 2024.pptx
Capitol Tech U Doctoral Presentation - April 2024.pptx
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice great
 
Hierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of managementHierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of management
 
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
 
Presiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsPresiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha elections
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Education
 
MARGINALIZATION (Different learners in Marginalized Group
MARGINALIZATION (Different learners in Marginalized GroupMARGINALIZATION (Different learners in Marginalized Group
MARGINALIZATION (Different learners in Marginalized Group
 
Painted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of IndiaPainted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of India
 
How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17
 

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