• Java Applet

    Java Applet

    The Java Applets are small Java programs that are primarily used in Internet computing. They can be transported over the Internet from one computer to another and run using the Applet Viewer  or any Web Browser that supports Java. An Applet, like any application program, can do many things for us. It can perform arithmetic operations, display graphics, play sounds, accepts user input, create animation, and play interactive games.

    Although both the applets and stand-alone applications are Java programs, there are significant differences between them. Applets are not full-featured application programs. They are usually written to accomplish a small task or a component of a task. Since they are usually designed for use on the Internet, they impose certain limitations and restrictions in their design.

    Applet v/s Application

    1. Applets do not use the main() method for initiating the execution of the code. Applets, when loaded, automatically call certain methods of Applet class to start and execute the applet code.
    2. Unlike stand-alone applications, applets cannot be run independently. They are run form inside a Web page using a special feature known as HTML tag.
    3. Applets cannot read from or write to the files in the local computer.
    4. Applets cannot communicate with other servers on the network.
    5. Applets cannot run any program form the local computer.
    6. Applets are restricted from using libraries from other languages such as C or C++.
    Appreciate my work :Share on FacebookShare on Google+Tweet about this on TwitterShare on LinkedInPin on PinterestShare on RedditShare on StumbleUponShare on TumblrDigg thisShare on YummlyShare on VKFlattr the authorBuffer this page

Leave a Reply

Your email address will not be published. Required fields are marked *