The applet code is not viewable using the browser s View Source option and thus protects intellectual property. The Java .class files are very compact in size, resulting in faster downloads. The disadvantages to using applets are Within a browser session, applets are downloaded either the first time that a page using them is displayed or if the page is later refreshed. The applet code is not resident on the client machine between browser sessions. This can actually be considered as an advantage in most situations.
Applets take a long time to initialize.
An applet is just a piece of real estate on the web page and does not appear seamlessly integrated into the page contents. Cascading style sheets do not directly affect the rectangular area occupied by an applet. A quick overview of using Java applets Java applets are included in an HTML page with the applet tag. Section 13.4 of the HTML 4.01 Specification on the W3C site documents this tag in detail. The attributes used in the above example are explained below.