SlideShare a Scribd company logo
Applets
 Group: Protocol Eagle eye
Content..
●   Introduction to applet.
●   Differences ; Applet & Application.
●   Life cycle of an applet..
●   signed applets & Unsigned applets.
●   Applet Security (Restrictions)..
●   Advantages & Disadvantages Of Applet..
●   Overview : Java Applet

               Group: Protocol Eagle eye     2
Pig
                            Piglet




Group: Protocol Eagle eye      3
Application
                            (App.)




                       Applet




Group: Protocol Eagle eye            4
What is an Applet..
●   An Applet is any small application that
    performs one specific task that runs within
    the scope of a larger program ,often as a
    plug-in.

●   An Applet typically refers to java applets.




              Group: Protocol Eagle eye       5
Java Applet..
●   Java applet is a program, that can be
    embedded into HTML pages.
●   Java applets run on java enable web
    browsers,such as Mozilla and Internet explorer.
●   Applet is designed to run remotely on the client
    browser, so there are some restrictions on it.
●   Applets are used to make web site more
    dynamic and entertaining.

                Group: Protocol Eagle eye       6
How to run remotely with client browser.




         Group: Protocol Eagle eye   7
Relationships of Applet..




    Group: Protocol Eagle eye   8
Examples for Java Applets..
●   The smiley applet.
●   The pie chart applet.
●   The chess game applet.
●   The swatch applet.
●   Computing prime classes
●   The sound player applet.



                Group: Protocol Eagle eye   9
Differences ; Applet & Application.

    Applets
●   (usually) small
●   must extend java.applet.Applet
●   have no main() method
●   run inside a limited environment, usually a
    web browser
●   are started and stopped by the browser
●



               Group: Protocol Eagle eye      10
Differences (cont..)

    Application
●   have more access to their host environment.
●   usually larger and more capable
●   are run by the end user (i.e. you!)




                  Group: Protocol Eagle eye   11
Life cycle of an applet..
●   An applet can react to major events in the
    following way.
           It can initialize it self.
           It can start running.
           It can stop running.
           It can preform a final cleanup (Destroy) in
               preparation for being unloaded.




                   Group: Protocol Eagle eye          12
Group: Protocol Eagle eye   13
Signed applets vs. Unsigned applets.
●   Applets can be signed using a security
    certificate to indicate that they come from
    a trusted source which capabilities to
    access the client.
●   unsigned applets launched using Java
    Network Launch Protocol (JNLP) can
    safely access the client with the user's
    permission.



              Group: Protocol Eagle eye        14
Applet Security (Restrictions).
●   An applet is prevented to write anything on the
    computer that is executing on
●   It can read only documents located in web
    space.
●   It can't close down the web browser it is
    executing in.
●   It can't make network connection exceptions
    to the server host from which is originated


               Group: Protocol Eagle eye        15
Advantages Of Applet..
●   are cross platform and can run on windows,
    Mac OS and Linux
●   can work all the version of java plug-in.
●   are supported by most web browsers.
●   are cashed in most web browsers, so will be
    quick to load when returning to a web page.
●   User can also have full access to the machine
    if user allows

               Group: Protocol Eagle eye        16
Disadvantages of Applet..
●   Java plug-in is required to run applet.
●   Java applet requires JVM, so first time it takes
    significant start-up time.
●   If applet is not already cached in the machine,
    it will be downloaded from the internet and will
    take time.
●   Some browsers, such as mobile browsers
    running ios or android don't run applet at all.

                Group: Protocol Eagle eye        17
Overview : Java Applet

Applets are used to provide interactive
features to web applications that can be
provide by HTML alone.


They can capture mouse input and also have
controls like buttons or check boxes.




           Group: Protocol Eagle eye       18
Overview (cont.)

●   An applet is a java class.
●   Its code is downloaded from a web server.
●   For security reasons,the execution of an
    applet is normally subject to restrictions.




                Group: Protocol Eagle eye         19
THANK YOU...




Group: Protocol Eagle eye   20

More Related Content

What's hot

27 applet programming
27  applet programming27  applet programming
27 applet programming
Ravindra Rathore
 
Lecture1 oopj
Lecture1 oopjLecture1 oopj
Lecture1 oopj
Dhairya Joshi
 
L18 applets
L18 appletsL18 applets
L18 applets
teach4uin
 
Java applet-basics
Java applet-basicsJava applet-basics
Java applet-basics
kanchanmahajan23
 
Java applet-basics
Java applet-basicsJava applet-basics
Java applet-basics
kanchanmahajan23
 
Java Applet
Java AppletJava Applet
Java applets
Java appletsJava applets
Java applets
M Vishnuvardhan Reddy
 
Applet
AppletApplet
Appletjava
AppletjavaAppletjava
Appletjava
DEEPIKA T
 
Java applets
Java appletsJava applets
Java applets
Java appletsJava applets
Java applets
lopjuan
 
Java applet - java
Java applet - javaJava applet - java
Java applet - java
Rubaya Mim
 
Applet (1)
Applet (1)Applet (1)
Applet (1)
DEEPIKA T
 
6.applet programming in java
6.applet programming in java6.applet programming in java
6.applet programming in java
Deepak Sharma
 
Java Programming- Introduction to Java Applet Programs
Java Programming- Introduction to Java Applet ProgramsJava Programming- Introduction to Java Applet Programs
Java Programming- Introduction to Java Applet Programs
Trinity Dwarka
 
Java Applets
Java AppletsJava Applets
Java Applets
Mohamed Essam
 
Class notes(week 10) on applet programming
Class notes(week 10) on applet programmingClass notes(week 10) on applet programming
Class notes(week 10) on applet programming
Kuntal Bhowmick
 
JAVA APPLETS
JAVA APPLETSJAVA APPLETS
JAVA APPLETS
Ramkrishna bhagat
 
Applet programming
Applet programming Applet programming
Applet programming
Devyani Vaidya
 
Java
JavaJava

What's hot (20)

27 applet programming
27  applet programming27  applet programming
27 applet programming
 
Lecture1 oopj
Lecture1 oopjLecture1 oopj
Lecture1 oopj
 
L18 applets
L18 appletsL18 applets
L18 applets
 
Java applet-basics
Java applet-basicsJava applet-basics
Java applet-basics
 
Java applet-basics
Java applet-basicsJava applet-basics
Java applet-basics
 
Java Applet
Java AppletJava Applet
Java Applet
 
Java applets
Java appletsJava applets
Java applets
 
Applet
AppletApplet
Applet
 
Appletjava
AppletjavaAppletjava
Appletjava
 
Java applets
Java appletsJava applets
Java applets
 
Java applets
Java appletsJava applets
Java applets
 
Java applet - java
Java applet - javaJava applet - java
Java applet - java
 
Applet (1)
Applet (1)Applet (1)
Applet (1)
 
6.applet programming in java
6.applet programming in java6.applet programming in java
6.applet programming in java
 
Java Programming- Introduction to Java Applet Programs
Java Programming- Introduction to Java Applet ProgramsJava Programming- Introduction to Java Applet Programs
Java Programming- Introduction to Java Applet Programs
 
Java Applets
Java AppletsJava Applets
Java Applets
 
Class notes(week 10) on applet programming
Class notes(week 10) on applet programmingClass notes(week 10) on applet programming
Class notes(week 10) on applet programming
 
JAVA APPLETS
JAVA APPLETSJAVA APPLETS
JAVA APPLETS
 
Applet programming
Applet programming Applet programming
Applet programming
 
Java
JavaJava
Java
 

Viewers also liked

Java Applets
Java AppletsJava Applets
Java Applets
Danial Mirza
 
Java applets
Java appletsJava applets
Java applets
Khan Mac-arther
 
Applet Architecture - Introducing Java Applets
Applet Architecture - Introducing Java AppletsApplet Architecture - Introducing Java Applets
Applet Architecture - Introducing Java Applets
amitksaha
 
Applet life cycle
Applet life cycleApplet life cycle
Applet life cycle
myrajendra
 
Java applets
Java appletsJava applets
Java: Java Applets
Java: Java AppletsJava: Java Applets
Java: Java Applets
Tareq Hasan
 

Viewers also liked (6)

Java Applets
Java AppletsJava Applets
Java Applets
 
Java applets
Java appletsJava applets
Java applets
 
Applet Architecture - Introducing Java Applets
Applet Architecture - Introducing Java AppletsApplet Architecture - Introducing Java Applets
Applet Architecture - Introducing Java Applets
 
Applet life cycle
Applet life cycleApplet life cycle
Applet life cycle
 
Java applets
Java appletsJava applets
Java applets
 
Java: Java Applets
Java: Java AppletsJava: Java Applets
Java: Java Applets
 

Similar to Applets

JAVA.pptx
JAVA.pptxJAVA.pptx
Chapter_7_-_EV_-_OOP[1].pdf
Chapter_7_-_EV_-_OOP[1].pdfChapter_7_-_EV_-_OOP[1].pdf
Chapter_7_-_EV_-_OOP[1].pdf
zekishamanch
 
Applets_Basic Introduction
Applets_Basic IntroductionApplets_Basic Introduction
Applets_Basic Introduction
Charulatha Jain
 
JAVA INTRODUCTION
JAVA INTRODUCTIONJAVA INTRODUCTION
JAVA INTRODUCTION
Prof Ansari
 
JAVA INTRODUCTION
JAVA INTRODUCTIONJAVA INTRODUCTION
JAVA INTRODUCTION
Prof Ansari
 
APPLET.pptx
APPLET.pptxAPPLET.pptx
APPLET.pptx
SHANMUGARAJA K
 
Applets in Java
Applets in JavaApplets in Java
Applets in Java
Gary Mendonca
 
UNIT-1-AJAVA.pdf
UNIT-1-AJAVA.pdfUNIT-1-AJAVA.pdf
UNIT-1-AJAVA.pdf
PriyanshiPrajapati27
 
Java applet
Java appletJava applet
Java applet
Elizabeth alexander
 
Jsp applet
Jsp appletJsp applet
Jsp applet
Sanoj Kumar
 
Applet Returns: The new generation of Java Plug-ins
Applet Returns: The new generation of Java Plug-insApplet Returns: The new generation of Java Plug-ins
Applet Returns: The new generation of Java Plug-ins
Serge Rehem
 
Class notes(week 10) on applet programming
Class notes(week 10) on applet programmingClass notes(week 10) on applet programming
Class notes(week 10) on applet programming
Kuntal Bhowmick
 
Applet
AppletApplet
Applet
pooja kumari
 
Kubernetes is Hard! Lessons Learned Taking Our Apps to Kubernetes by Eldad Assis
Kubernetes is Hard! Lessons Learned Taking Our Apps to Kubernetes by Eldad AssisKubernetes is Hard! Lessons Learned Taking Our Apps to Kubernetes by Eldad Assis
Kubernetes is Hard! Lessons Learned Taking Our Apps to Kubernetes by Eldad Assis
AgileSparks
 
Java applets
Java appletsJava applets
Java applets
Pihu Goel
 
Introducing Django
Introducing DjangoIntroducing Django
Introducing Django
zerok
 
Java basics notes
Java basics notesJava basics notes
Java basics notes
sanchi Sharma
 
Java basics notes
Java basics notesJava basics notes
Java basics notes
Nexus
 
Java programming basics notes for beginners(java programming tutorials)
Java programming basics notes for beginners(java programming tutorials)Java programming basics notes for beginners(java programming tutorials)
Java programming basics notes for beginners(java programming tutorials)
Daroko blog(www.professionalbloggertricks.com)
 
JavaYDL18
JavaYDL18JavaYDL18
JavaYDL18
Terry Yoast
 

Similar to Applets (20)

JAVA.pptx
JAVA.pptxJAVA.pptx
JAVA.pptx
 
Chapter_7_-_EV_-_OOP[1].pdf
Chapter_7_-_EV_-_OOP[1].pdfChapter_7_-_EV_-_OOP[1].pdf
Chapter_7_-_EV_-_OOP[1].pdf
 
Applets_Basic Introduction
Applets_Basic IntroductionApplets_Basic Introduction
Applets_Basic Introduction
 
JAVA INTRODUCTION
JAVA INTRODUCTIONJAVA INTRODUCTION
JAVA INTRODUCTION
 
JAVA INTRODUCTION
JAVA INTRODUCTIONJAVA INTRODUCTION
JAVA INTRODUCTION
 
APPLET.pptx
APPLET.pptxAPPLET.pptx
APPLET.pptx
 
Applets in Java
Applets in JavaApplets in Java
Applets in Java
 
UNIT-1-AJAVA.pdf
UNIT-1-AJAVA.pdfUNIT-1-AJAVA.pdf
UNIT-1-AJAVA.pdf
 
Java applet
Java appletJava applet
Java applet
 
Jsp applet
Jsp appletJsp applet
Jsp applet
 
Applet Returns: The new generation of Java Plug-ins
Applet Returns: The new generation of Java Plug-insApplet Returns: The new generation of Java Plug-ins
Applet Returns: The new generation of Java Plug-ins
 
Class notes(week 10) on applet programming
Class notes(week 10) on applet programmingClass notes(week 10) on applet programming
Class notes(week 10) on applet programming
 
Applet
AppletApplet
Applet
 
Kubernetes is Hard! Lessons Learned Taking Our Apps to Kubernetes by Eldad Assis
Kubernetes is Hard! Lessons Learned Taking Our Apps to Kubernetes by Eldad AssisKubernetes is Hard! Lessons Learned Taking Our Apps to Kubernetes by Eldad Assis
Kubernetes is Hard! Lessons Learned Taking Our Apps to Kubernetes by Eldad Assis
 
Java applets
Java appletsJava applets
Java applets
 
Introducing Django
Introducing DjangoIntroducing Django
Introducing Django
 
Java basics notes
Java basics notesJava basics notes
Java basics notes
 
Java basics notes
Java basics notesJava basics notes
Java basics notes
 
Java programming basics notes for beginners(java programming tutorials)
Java programming basics notes for beginners(java programming tutorials)Java programming basics notes for beginners(java programming tutorials)
Java programming basics notes for beginners(java programming tutorials)
 
JavaYDL18
JavaYDL18JavaYDL18
JavaYDL18
 

Recently uploaded

Wound healing PPT
Wound healing PPTWound healing PPT
Wound healing PPT
Jyoti Chand
 
PCOS corelations and management through Ayurveda.
PCOS corelations and management through Ayurveda.PCOS corelations and management through Ayurveda.
PCOS corelations and management through Ayurveda.
Dr. Shivangi Singh Parihar
 
South African Journal of Science: Writing with integrity workshop (2024)
South African Journal of Science: Writing with integrity workshop (2024)South African Journal of Science: Writing with integrity workshop (2024)
South African Journal of Science: Writing with integrity workshop (2024)
Academy of Science of South Africa
 
How to Setup Warehouse & Location in Odoo 17 Inventory
How to Setup Warehouse & Location in Odoo 17 InventoryHow to Setup Warehouse & Location in Odoo 17 Inventory
How to Setup Warehouse & Location in Odoo 17 Inventory
Celine George
 
How to Fix the Import Error in the Odoo 17
How to Fix the Import Error in the Odoo 17How to Fix the Import Error in the Odoo 17
How to Fix the Import Error in the Odoo 17
Celine George
 
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdfবাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
eBook.com.bd (প্রয়োজনীয় বাংলা বই)
 
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
National Information Standards Organization (NISO)
 
How to deliver Powerpoint Presentations.pptx
How to deliver Powerpoint  Presentations.pptxHow to deliver Powerpoint  Presentations.pptx
How to deliver Powerpoint Presentations.pptx
HajraNaeem15
 
Hindi varnamala | hindi alphabet PPT.pdf
Hindi varnamala | hindi alphabet PPT.pdfHindi varnamala | hindi alphabet PPT.pdf
Hindi varnamala | hindi alphabet PPT.pdf
Dr. Mulla Adam Ali
 
LAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UP
LAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UPLAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UP
LAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UP
RAHUL
 
Your Skill Boost Masterclass: Strategies for Effective Upskilling
Your Skill Boost Masterclass: Strategies for Effective UpskillingYour Skill Boost Masterclass: Strategies for Effective Upskilling
Your Skill Boost Masterclass: Strategies for Effective Upskilling
Excellence Foundation for South Sudan
 
NEWSPAPERS - QUESTION 1 - REVISION POWERPOINT.pptx
NEWSPAPERS - QUESTION 1 - REVISION POWERPOINT.pptxNEWSPAPERS - QUESTION 1 - REVISION POWERPOINT.pptx
NEWSPAPERS - QUESTION 1 - REVISION POWERPOINT.pptx
iammrhaywood
 
The basics of sentences session 6pptx.pptx
The basics of sentences session 6pptx.pptxThe basics of sentences session 6pptx.pptx
The basics of sentences session 6pptx.pptx
heathfieldcps1
 
clinical examination of hip joint (1).pdf
clinical examination of hip joint (1).pdfclinical examination of hip joint (1).pdf
clinical examination of hip joint (1).pdf
Priyankaranawat4
 
Présentationvvvvvvvvvvvvvvvvvvvvvvvvvvvv2.pptx
Présentationvvvvvvvvvvvvvvvvvvvvvvvvvvvv2.pptxPrésentationvvvvvvvvvvvvvvvvvvvvvvvvvvvv2.pptx
Présentationvvvvvvvvvvvvvvvvvvvvvvvvvvvv2.pptx
siemaillard
 
Pengantar Penggunaan Flutter - Dart programming language1.pptx
Pengantar Penggunaan Flutter - Dart programming language1.pptxPengantar Penggunaan Flutter - Dart programming language1.pptx
Pengantar Penggunaan Flutter - Dart programming language1.pptx
Fajar Baskoro
 
MARY JANE WILSON, A “BOA MÃE” .
MARY JANE WILSON, A “BOA MÃE”           .MARY JANE WILSON, A “BOA MÃE”           .
MARY JANE WILSON, A “BOA MÃE” .
Colégio Santa Teresinha
 
writing about opinions about Australia the movie
writing about opinions about Australia the moviewriting about opinions about Australia the movie
writing about opinions about Australia the movie
Nicholas Montgomery
 
BBR 2024 Summer Sessions Interview Training
BBR  2024 Summer Sessions Interview TrainingBBR  2024 Summer Sessions Interview Training
BBR 2024 Summer Sessions Interview Training
Katrina Pritchard
 
Beyond Degrees - Empowering the Workforce in the Context of Skills-First.pptx
Beyond Degrees - Empowering the Workforce in the Context of Skills-First.pptxBeyond Degrees - Empowering the Workforce in the Context of Skills-First.pptx
Beyond Degrees - Empowering the Workforce in the Context of Skills-First.pptx
EduSkills OECD
 

Recently uploaded (20)

Wound healing PPT
Wound healing PPTWound healing PPT
Wound healing PPT
 
PCOS corelations and management through Ayurveda.
PCOS corelations and management through Ayurveda.PCOS corelations and management through Ayurveda.
PCOS corelations and management through Ayurveda.
 
South African Journal of Science: Writing with integrity workshop (2024)
South African Journal of Science: Writing with integrity workshop (2024)South African Journal of Science: Writing with integrity workshop (2024)
South African Journal of Science: Writing with integrity workshop (2024)
 
How to Setup Warehouse & Location in Odoo 17 Inventory
How to Setup Warehouse & Location in Odoo 17 InventoryHow to Setup Warehouse & Location in Odoo 17 Inventory
How to Setup Warehouse & Location in Odoo 17 Inventory
 
How to Fix the Import Error in the Odoo 17
How to Fix the Import Error in the Odoo 17How to Fix the Import Error in the Odoo 17
How to Fix the Import Error in the Odoo 17
 
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdfবাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
 
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
 
How to deliver Powerpoint Presentations.pptx
How to deliver Powerpoint  Presentations.pptxHow to deliver Powerpoint  Presentations.pptx
How to deliver Powerpoint Presentations.pptx
 
Hindi varnamala | hindi alphabet PPT.pdf
Hindi varnamala | hindi alphabet PPT.pdfHindi varnamala | hindi alphabet PPT.pdf
Hindi varnamala | hindi alphabet PPT.pdf
 
LAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UP
LAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UPLAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UP
LAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UP
 
Your Skill Boost Masterclass: Strategies for Effective Upskilling
Your Skill Boost Masterclass: Strategies for Effective UpskillingYour Skill Boost Masterclass: Strategies for Effective Upskilling
Your Skill Boost Masterclass: Strategies for Effective Upskilling
 
NEWSPAPERS - QUESTION 1 - REVISION POWERPOINT.pptx
NEWSPAPERS - QUESTION 1 - REVISION POWERPOINT.pptxNEWSPAPERS - QUESTION 1 - REVISION POWERPOINT.pptx
NEWSPAPERS - QUESTION 1 - REVISION POWERPOINT.pptx
 
The basics of sentences session 6pptx.pptx
The basics of sentences session 6pptx.pptxThe basics of sentences session 6pptx.pptx
The basics of sentences session 6pptx.pptx
 
clinical examination of hip joint (1).pdf
clinical examination of hip joint (1).pdfclinical examination of hip joint (1).pdf
clinical examination of hip joint (1).pdf
 
Présentationvvvvvvvvvvvvvvvvvvvvvvvvvvvv2.pptx
Présentationvvvvvvvvvvvvvvvvvvvvvvvvvvvv2.pptxPrésentationvvvvvvvvvvvvvvvvvvvvvvvvvvvv2.pptx
Présentationvvvvvvvvvvvvvvvvvvvvvvvvvvvv2.pptx
 
Pengantar Penggunaan Flutter - Dart programming language1.pptx
Pengantar Penggunaan Flutter - Dart programming language1.pptxPengantar Penggunaan Flutter - Dart programming language1.pptx
Pengantar Penggunaan Flutter - Dart programming language1.pptx
 
MARY JANE WILSON, A “BOA MÃE” .
MARY JANE WILSON, A “BOA MÃE”           .MARY JANE WILSON, A “BOA MÃE”           .
MARY JANE WILSON, A “BOA MÃE” .
 
writing about opinions about Australia the movie
writing about opinions about Australia the moviewriting about opinions about Australia the movie
writing about opinions about Australia the movie
 
BBR 2024 Summer Sessions Interview Training
BBR  2024 Summer Sessions Interview TrainingBBR  2024 Summer Sessions Interview Training
BBR 2024 Summer Sessions Interview Training
 
Beyond Degrees - Empowering the Workforce in the Context of Skills-First.pptx
Beyond Degrees - Empowering the Workforce in the Context of Skills-First.pptxBeyond Degrees - Empowering the Workforce in the Context of Skills-First.pptx
Beyond Degrees - Empowering the Workforce in the Context of Skills-First.pptx
 

Applets

  • 2. Content.. ● Introduction to applet. ● Differences ; Applet & Application. ● Life cycle of an applet.. ● signed applets & Unsigned applets. ● Applet Security (Restrictions).. ● Advantages & Disadvantages Of Applet.. ● Overview : Java Applet Group: Protocol Eagle eye 2
  • 3. Pig Piglet Group: Protocol Eagle eye 3
  • 4. Application (App.) Applet Group: Protocol Eagle eye 4
  • 5. What is an Applet.. ● An Applet is any small application that performs one specific task that runs within the scope of a larger program ,often as a plug-in. ● An Applet typically refers to java applets. Group: Protocol Eagle eye 5
  • 6. Java Applet.. ● Java applet is a program, that can be embedded into HTML pages. ● Java applets run on java enable web browsers,such as Mozilla and Internet explorer. ● Applet is designed to run remotely on the client browser, so there are some restrictions on it. ● Applets are used to make web site more dynamic and entertaining. Group: Protocol Eagle eye 6
  • 7. How to run remotely with client browser. Group: Protocol Eagle eye 7
  • 8. Relationships of Applet.. Group: Protocol Eagle eye 8
  • 9. Examples for Java Applets.. ● The smiley applet. ● The pie chart applet. ● The chess game applet. ● The swatch applet. ● Computing prime classes ● The sound player applet. Group: Protocol Eagle eye 9
  • 10. Differences ; Applet & Application. Applets ● (usually) small ● must extend java.applet.Applet ● have no main() method ● run inside a limited environment, usually a web browser ● are started and stopped by the browser ● Group: Protocol Eagle eye 10
  • 11. Differences (cont..) Application ● have more access to their host environment. ● usually larger and more capable ● are run by the end user (i.e. you!) Group: Protocol Eagle eye 11
  • 12. Life cycle of an applet.. ● An applet can react to major events in the following way.  It can initialize it self.  It can start running.  It can stop running.  It can preform a final cleanup (Destroy) in preparation for being unloaded. Group: Protocol Eagle eye 12
  • 14. Signed applets vs. Unsigned applets. ● Applets can be signed using a security certificate to indicate that they come from a trusted source which capabilities to access the client. ● unsigned applets launched using Java Network Launch Protocol (JNLP) can safely access the client with the user's permission. Group: Protocol Eagle eye 14
  • 15. Applet Security (Restrictions). ● An applet is prevented to write anything on the computer that is executing on ● It can read only documents located in web space. ● It can't close down the web browser it is executing in. ● It can't make network connection exceptions to the server host from which is originated Group: Protocol Eagle eye 15
  • 16. Advantages Of Applet.. ● are cross platform and can run on windows, Mac OS and Linux ● can work all the version of java plug-in. ● are supported by most web browsers. ● are cashed in most web browsers, so will be quick to load when returning to a web page. ● User can also have full access to the machine if user allows Group: Protocol Eagle eye 16
  • 17. Disadvantages of Applet.. ● Java plug-in is required to run applet. ● Java applet requires JVM, so first time it takes significant start-up time. ● If applet is not already cached in the machine, it will be downloaded from the internet and will take time. ● Some browsers, such as mobile browsers running ios or android don't run applet at all. Group: Protocol Eagle eye 17
  • 18. Overview : Java Applet Applets are used to provide interactive features to web applications that can be provide by HTML alone. They can capture mouse input and also have controls like buttons or check boxes. Group: Protocol Eagle eye 18
  • 19. Overview (cont.) ● An applet is a java class. ● Its code is downloaded from a web server. ● For security reasons,the execution of an applet is normally subject to restrictions. Group: Protocol Eagle eye 19

Editor's Notes

  1. An end user of a computer system or software is someone who uses it.
  2. JVM :