• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

<applet> deprecated ?!

 
Vinoth Kumar Kannan
Ranch Hand
Posts: 276
Chrome Java Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
are applets still used?
i recently discovered that the <applet> tag is depricated..doesnt that mean applets are not used widely nowadays?
ajax can do something like an applet over a specific area in the browser without refreshes,right?
then why do we need applets specifically?
 
Mark Waes
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The <applet> tag was deprecated in favour of the <object> tag which is supposed to do the same thing while being more flexible for future technologies and other objects other than applets.

My understanding is that the <applet> tag tends to be implemented better on a wide range of browsers (particularly older ones), while the <object> tag is slowly being correctly implemented by the browser vendors.

This might be useful:
http://www.w3schools.com/TAGS/tag_object.asp wrote:
The <object> tag is used to include objects such as images, audio, videos, Java applets, ActiveX, PDF, and Flash.

The object element was intended to replace the img and applet elements. However, because of bugs and a lack of browser support this has not happened.

The object support in browsers depend on the object type. Unfortunately, the major browsers use different codes to load the same object type.

Luckily, the object element provides a solution. If the object element is not displayed, the code between the <object> and </object> tags will be executed. This way we can have several nested object elements (one for each browser).


Thanks

M
 
Vinoth Kumar Kannan
Ranch Hand
Posts: 276
Chrome Java Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
<object> tag seems good...but how to use it in different contexts(applets,videos..etc)?

what about AJAX as a replacement to applets..?
both refreshes only particular part of a page!!
 
Ulf Dittmer
Rancher
Pie
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
My impression matches Mark's - "applet" is preferable to "object" and "embed", neither of which is as widely supported.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic