MarketXlet
Company Profile

Xlet

An Xlet is very similar to a Java applet and is originally introduced in Sun Microsystems's Java TV specification to support applications for Digital TV. Though Xlet looks superficially different from other application models in Java such as applet and MIDlet, it is actually meant to be a generalization of such models. The X in Xlet means an unknown, meaning that the Xlet framework may be used in any context rather than specific to Digital TV. Accordingly, Xlet was later re-introduced as a part of the Personal Basis Profile in the javax.microedition.xlet package, which is slightly different from the original design in the Java TV specification.

Code examples
The interface for an Xlet is defined in the javax.tv.xlet package: public interface Xlet { public void initXlet(XletContext ctx) throws XletStateChangeException; public void startXlet() throws XletStateChangeException; public void pauseXlet(); public void destroyXlet(boolean unconditional) throws XletStateChangeException; } thus an example of a stub Xlet is import javax.tv.xlet.XletStateChangeException; import javax.tv.xlet.XletContext; import javax.tv.xlet.Xlet; public class BasicXlet implements Xlet { public BasicXlet () {} public void initXlet (XletContext context) throws XletStateChangeException {} public void startXlet () throws XletStateChangeException {} public void pauseXlet () {} public void destroyXlet (boolean unconditional) throws XletStateChangeException {} } ==Notes==
tickerdossier.comtickerdossier.substack.com