Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

What are the main differences between JavaBeans and applets?

0
Posted

What are the main differences between JavaBeans and applets?

0

Location: http://www.jguru.com/faq/view.jsp?EID=21311 Created: Mar 7, 2000 Modified: 2000-03-07 11:47:15.596 Author: John Mitchell (http://www.jguru.com/guru/viewbio.jsp?EID=4) Question originally posed by siyaram singh (http://www.jguru.com/guru/viewbio.jsp?EID=9747 Applets are Java programs which are meant to be run by an applet-runner (which is typically inside a web browser). By definition, applets are applets because they inherit from java.applet.Applet. Also, applets are pretty constrained in what they are/aren’t allowed to do. Traditional JavaBeans are Java software components. A bean may be a single, simple, standalone class or it may be a complicated behemoth but, as long as it follows the rules and conventions of JavaBeans, then it’s a JavaBean. Just to confuse you further, note that you can make a JavaBean an applet… Check out the “Bean” example from code examples from The Java Class Libraries: Second Edition, Volume 2 by Chan and Lee.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123