Applets

521 views

Published on

Published in: Education
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
521
On SlideShare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
38
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide
  • An end user of a computer system or software is someone who uses it.
  • JVM :
  • Applets

    1. 1. Applets Group: Protocol Eagle eye
    2. 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. 3. Pig PigletGroup: Protocol Eagle eye 3
    4. 4. Application (App.) AppletGroup: Protocol Eagle eye 4
    5. 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. 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. 7. How to run remotely with client browser. Group: Protocol Eagle eye 7
    8. 8. Relationships of Applet.. Group: Protocol Eagle eye 8
    9. 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. 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. 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. 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
    13. 13. Group: Protocol Eagle eye 13
    14. 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 users permission. Group: Protocol Eagle eye 14
    15. 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 cant close down the web browser it is executing in.● It cant make network connection exceptions to the server host from which is originated Group: Protocol Eagle eye 15
    16. 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. 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 dont run applet at all. Group: Protocol Eagle eye 17
    18. 18. Overview : Java AppletApplets are used to provide interactivefeatures to web applications that can beprovide by HTML alone.They can capture mouse input and also havecontrols like buttons or check boxes. Group: Protocol Eagle eye 18
    19. 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
    20. 20. THANK YOU...Group: Protocol Eagle eye 20

    ×