Base Mura Objects / Beans - Mura Docs v6

Base Mura Objects / Beans

The term "bean" is borrowed from the Java programming language. According to Wikipedia, JavaBeans are reusable software components. They are used to encapsulate many objects into a single object (the bean), so that they can be passed around as a single bean object instead of multiple individual objects.

In CFML, a bean can be a ColdFusion Component (CFC). However, there are a couple of characteristics that the CFC must have to differentiate itself from other types of CFCs:

  1. Serializable
  2. A no-argument constructor
  3. Allows access to properties using getter and setter methods