IT arhitektuur
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
"Discoverable": QueryInterface
What is ActiveX?
·A marketing name for a set of technologies and services, all based on COM (the model, the
"ORB", and the services)