SlideShare uma empresa Scribd logo
1 de 20
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

Mais conteúdo relacionado

Mais procurados (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
 

Destaque

Destaque (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
 

Semelhante a Applets

Chapter_7_-_EV_-_OOP[1].pdf
Chapter_7_-_EV_-_OOP[1].pdfChapter_7_-_EV_-_OOP[1].pdf
Chapter_7_-_EV_-_OOP[1].pdfzekishamanch
 
Applets_Basic Introduction
Applets_Basic IntroductionApplets_Basic Introduction
Applets_Basic IntroductionCharulatha Jain
 
JAVA INTRODUCTION
JAVA INTRODUCTIONJAVA INTRODUCTION
JAVA INTRODUCTIONProf Ansari
 
JAVA INTRODUCTION
JAVA INTRODUCTIONJAVA INTRODUCTION
JAVA INTRODUCTIONProf Ansari
 
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-insSerge 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 programmingKuntal Bhowmick
 
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 AssisAgileSparks
 
Java applets
Java appletsJava applets
Java appletsPihu Goel
 
Introducing Django
Introducing DjangoIntroducing Django
Introducing Djangozerok
 
Java basics notes
Java basics notesJava basics notes
Java basics notesNexus
 

Semelhante a 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 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)
 
Java basics notes
Java basics notesJava basics notes
Java basics notes
 
JavaYDL18
JavaYDL18JavaYDL18
JavaYDL18
 

Último

Karra SKD Conference Presentation Revised.pptx
Karra SKD Conference Presentation Revised.pptxKarra SKD Conference Presentation Revised.pptx
Karra SKD Conference Presentation Revised.pptxAshokKarra1
 
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptxMULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptxAnupkumar Sharma
 
Science 7 Quarter 4 Module 2: Natural Resources.pptx
Science 7 Quarter 4 Module 2: Natural Resources.pptxScience 7 Quarter 4 Module 2: Natural Resources.pptx
Science 7 Quarter 4 Module 2: Natural Resources.pptxMaryGraceBautista27
 
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...JhezDiaz1
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
ENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choomENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choomnelietumpap1
 
Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Celine George
 
DATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersDATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersSabitha Banu
 
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdfInclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdfTechSoup
 
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)lakshayb543
 
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITYISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITYKayeClaireEstoconing
 
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...Nguyen Thanh Tu Collection
 
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdfAMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdfphamnguyenenglishnb
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTiammrhaywood
 
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTSGRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTSJoshuaGantuangco2
 
Grade 9 Q4-MELC1-Active and Passive Voice.pptx
Grade 9 Q4-MELC1-Active and Passive Voice.pptxGrade 9 Q4-MELC1-Active and Passive Voice.pptx
Grade 9 Q4-MELC1-Active and Passive Voice.pptxChelloAnnAsuncion2
 

Último (20)

Karra SKD Conference Presentation Revised.pptx
Karra SKD Conference Presentation Revised.pptxKarra SKD Conference Presentation Revised.pptx
Karra SKD Conference Presentation Revised.pptx
 
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptxMULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
 
Science 7 Quarter 4 Module 2: Natural Resources.pptx
Science 7 Quarter 4 Module 2: Natural Resources.pptxScience 7 Quarter 4 Module 2: Natural Resources.pptx
Science 7 Quarter 4 Module 2: Natural Resources.pptx
 
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
 
ENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choomENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choom
 
YOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptx
YOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptxYOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptx
YOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptx
 
Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17
 
DATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersDATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginners
 
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdfInclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
 
YOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptx
YOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptxYOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptx
YOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptx
 
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
 
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITYISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
 
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
 
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdfAMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
 
Raw materials used in Herbal Cosmetics.pptx
Raw materials used in Herbal Cosmetics.pptxRaw materials used in Herbal Cosmetics.pptx
Raw materials used in Herbal Cosmetics.pptx
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
 
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTSGRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
 
Grade 9 Q4-MELC1-Active and Passive Voice.pptx
Grade 9 Q4-MELC1-Active and Passive Voice.pptxGrade 9 Q4-MELC1-Active and Passive Voice.pptx
Grade 9 Q4-MELC1-Active and Passive Voice.pptx
 
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
 

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

Notas do Editor

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