Rules of Creating Beans

Hi All,--Can any one tell me the Rules of Bean creation--Also can we put some database connections in setter methods of beans--and If we have not used setter methods and directly used its getter methods what will happen.Thanks ,Mahesh.
[277 byte] By [MaheshPa] at [2007-11-26 13:26:33]
# 1
The most fundamental of bean rules--thou shalt have no arguments for bean creation.The rest are "guide lines".
morgalra at 2007-7-7 20:26:03 > top of Java-index,Desktop,Developing for the Desktop...