What are the similarities and differences between Java Applet and Java Beans and give details?

Java applet and java beans are java classes.

java applet is a mini application used to run inside a browser.

java beans is a component coded for a specfic standard.