How two Java Bean Communicate at runtime?
1 posts in topic
Flat View  Flat View

Posted By:   Amin_Nurul
Posted On:   Sunday, August 25, 2002 02:23 AM

I need a source code where two indivitual java bean
can communicate each other. As like they can send any varible value/array to other Bean & that bean also send
any varibale value / array to that bean. If only way to communicate two java bean at run time is using customize event handling then how I can send my data one bean to another using customize event handling? Should I send any value as a parameter of event handler...

Re: How two Java Bean Communicate at runtime?

Posted By:   Lance_Walton  
Posted On:   Monday, August 26, 2002 09:57 AM


JavaBeans are simply classes that have the following properties:

  • They are serializable
  • They follow the naming conventions for accessors/mutators
  • They implement the JavaBean event model

There is nothing stopping you using a bean's methods to communicate just as you would for an instance of a non-JavaBean class (i.e. the normal message passing mechanism).

Hope that helps.




Lance Walton - lance@teaminabox.co.uk

Team In A Box - Software without Tragedy


About | Sitemap | Contact