SlideShare ist ein Scribd-Unternehmen logo
1 von 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

Weitere ähnliche Inhalte

Was ist angesagt? (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
 

Andere mochten auch

Andere mochten auch (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
 

Ähnlich wie 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
 

Ähnlich wie 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
 

Kürzlich hochgeladen

AUDIENCE THEORY -CULTIVATION THEORY - GERBNER.pptx
AUDIENCE THEORY -CULTIVATION THEORY -  GERBNER.pptxAUDIENCE THEORY -CULTIVATION THEORY -  GERBNER.pptx
AUDIENCE THEORY -CULTIVATION THEORY - GERBNER.pptxiammrhaywood
 
Food processing presentation for bsc agriculture hons
Food processing presentation for bsc agriculture honsFood processing presentation for bsc agriculture hons
Food processing presentation for bsc agriculture honsManeerUddin
 
Concurrency Control in Database Management system
Concurrency Control in Database Management systemConcurrency Control in Database Management system
Concurrency Control in Database Management systemChristalin Nelson
 
Full Stack Web Development Course for Beginners
Full Stack Web Development Course  for BeginnersFull Stack Web Development Course  for Beginners
Full Stack Web Development Course for BeginnersSabitha Banu
 
Music 9 - 4th quarter - Vocal Music of the Romantic Period.pptx
Music 9 - 4th quarter - Vocal Music of the Romantic Period.pptxMusic 9 - 4th quarter - Vocal Music of the Romantic Period.pptx
Music 9 - 4th quarter - Vocal Music of the Romantic Period.pptxleah joy valeriano
 
Daily Lesson Plan in Mathematics Quarter 4
Daily Lesson Plan in Mathematics Quarter 4Daily Lesson Plan in Mathematics Quarter 4
Daily Lesson Plan in Mathematics Quarter 4JOYLYNSAMANIEGO
 
Karra SKD Conference Presentation Revised.pptx
Karra SKD Conference Presentation Revised.pptxKarra SKD Conference Presentation Revised.pptx
Karra SKD Conference Presentation Revised.pptxAshokKarra1
 
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...Postal Advocate Inc.
 
ROLES IN A STAGE PRODUCTION in arts.pptx
ROLES IN A STAGE PRODUCTION in arts.pptxROLES IN A STAGE PRODUCTION in arts.pptx
ROLES IN A STAGE PRODUCTION in arts.pptxVanesaIglesias10
 
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptxINTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptxHumphrey A Beña
 
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
 
How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17Celine George
 
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATIONTHEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATIONHumphrey A Beña
 
ICS2208 Lecture6 Notes for SL spaces.pdf
ICS2208 Lecture6 Notes for SL spaces.pdfICS2208 Lecture6 Notes for SL spaces.pdf
ICS2208 Lecture6 Notes for SL spaces.pdfVanessa Camilleri
 
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptx
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptxQ4-PPT-Music9_Lesson-1-Romantic-Opera.pptx
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptxlancelewisportillo
 
4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptx4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptxmary850239
 
Active Learning Strategies (in short ALS).pdf
Active Learning Strategies (in short ALS).pdfActive Learning Strategies (in short ALS).pdf
Active Learning Strategies (in short ALS).pdfPatidar M
 
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
 

Kürzlich hochgeladen (20)

AUDIENCE THEORY -CULTIVATION THEORY - GERBNER.pptx
AUDIENCE THEORY -CULTIVATION THEORY -  GERBNER.pptxAUDIENCE THEORY -CULTIVATION THEORY -  GERBNER.pptx
AUDIENCE THEORY -CULTIVATION THEORY - GERBNER.pptx
 
Food processing presentation for bsc agriculture hons
Food processing presentation for bsc agriculture honsFood processing presentation for bsc agriculture hons
Food processing presentation for bsc agriculture hons
 
Concurrency Control in Database Management system
Concurrency Control in Database Management systemConcurrency Control in Database Management system
Concurrency Control in Database Management system
 
Full Stack Web Development Course for Beginners
Full Stack Web Development Course  for BeginnersFull Stack Web Development Course  for Beginners
Full Stack Web Development Course for Beginners
 
Music 9 - 4th quarter - Vocal Music of the Romantic Period.pptx
Music 9 - 4th quarter - Vocal Music of the Romantic Period.pptxMusic 9 - 4th quarter - Vocal Music of the Romantic Period.pptx
Music 9 - 4th quarter - Vocal Music of the Romantic Period.pptx
 
Daily Lesson Plan in Mathematics Quarter 4
Daily Lesson Plan in Mathematics Quarter 4Daily Lesson Plan in Mathematics Quarter 4
Daily Lesson Plan in Mathematics Quarter 4
 
Karra SKD Conference Presentation Revised.pptx
Karra SKD Conference Presentation Revised.pptxKarra SKD Conference Presentation Revised.pptx
Karra SKD Conference Presentation Revised.pptx
 
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
 
ROLES IN A STAGE PRODUCTION in arts.pptx
ROLES IN A STAGE PRODUCTION in arts.pptxROLES IN A STAGE PRODUCTION in arts.pptx
ROLES IN A STAGE PRODUCTION in arts.pptx
 
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptxINTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
 
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
 
How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17
 
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATIONTHEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
 
ICS2208 Lecture6 Notes for SL spaces.pdf
ICS2208 Lecture6 Notes for SL spaces.pdfICS2208 Lecture6 Notes for SL spaces.pdf
ICS2208 Lecture6 Notes for SL spaces.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
 
LEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptx
LEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptxLEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptx
LEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptx
 
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptx
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptxQ4-PPT-Music9_Lesson-1-Romantic-Opera.pptx
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptx
 
4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptx4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptx
 
Active Learning Strategies (in short ALS).pdf
Active Learning Strategies (in short ALS).pdfActive Learning Strategies (in short ALS).pdf
Active Learning Strategies (in short ALS).pdf
 
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
 

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

Hinweis der Redaktion

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