Answer:
Java applets are the small programs written in java language.It is usually present on the web page .It has the also the property of working on HTML page and is client side based program which helps in making any website more attracting and active.
Example-the applet which is running a particular window can be overwritten in other window as well.
Java Beans are the type of class that are used for encapsulating the other object in it.The execution and use of java beans can be don by using builder tools. It follows the getter and setter technique that help in providing the value of different properties of by getting and setting it.
Example- AWT classes, Swing