IT arhitektuur
e. graphical user interfaces
sometimesalso denoted as wizards.
·What about the packaging of beans ?
Beans are delivered using compressed archive files (JARfiles).
JAR files contain the class files of beans as well asresource files such as images, sounds,
videos.
·Inaddition, a manifestfile describes the contents of thearchive.
Problems:
·Security:Since beans run in the same address spaceas their container, the same security
restrictionsapply. Never assume a specific trust level for yourbean.
·Multi-threading:Always suppose, your bean isrunning in a multi-threaded environment when
youdesign its properties, methods and event-handling.
·Constructors:Must provide a default constructor.
14. COM Architecture
COM Principles
·Rigorous Encapsulation
Black box --no leakage of implementation details
All object manipulation through strict interfaces
·Polymorphism
via multiple interfacesper class