How can a JavaBean be used as a distributed object in RMI or CORBA?

khaal geigh

A JavaBean is only a Java object that, by reflection, exports properties that a JavaBean container uses. Considering that, there's no restrictions about what, let's say 'inside methods', a JavaBean object can do. That is, a JavaBean can be integrated on a distributed platform using RMI or CORBA.