Professional Documents
Culture Documents
Written by Karthik.V
Monday, 02 November 2009 17:47 - Last Updated Monday, 02 November 2009 18:00
(IT-1401)
UNIT-I
Object is a unit of instantiation, it has a unique identity. It may have state and this
1 / 50
COMPONENT BASED TECHNOLOGY
Written by Karthik.V
Monday, 02 November 2009 17:47 - Last Updated Monday, 02 November 2009 18:00
The object may be implicitly available in the form of an object that already exists.
Factory methods: Methods on objects that return freshly created other objects are another
variation.
Modules do not have a concept of instantiation whereas classes do. Modules can
be used and always and have been used to package multiple entities.
2 / 50
COMPONENT BASED TECHNOLOGY
Written by Karthik.V
Monday, 02 November 2009 17:47 - Last Updated Monday, 02 November 2009 18:00
component offers.
7. Define callback.
asynchronous events.
3 / 50
COMPONENT BASED TECHNOLOGY
Written by Karthik.V
Monday, 02 November 2009 17:47 - Last Updated Monday, 02 November 2009 18:00
cooperation.
4 / 50
COMPONENT BASED TECHNOLOGY
Written by Karthik.V
Monday, 02 November 2009 17:47 - Last Updated Monday, 02 November 2009 18:00
few key mechanisms and a fixed set of policies for mechanisms at the component level.
few key mechanisms and a fixed set of policies for mechanisms at the component level.
Middleware is a name for the set of software that sits between various operating
5 / 50
COMPONENT BASED TECHNOLOGY
Written by Karthik.V
Monday, 02 November 2009 17:47 - Last Updated Monday, 02 November 2009 18:00
software.
18. Specify the criteria that is used to fulfill the software definition.
Multiple use
Non-context specific.
Encapsulated.
6 / 50
COMPONENT BASED TECHNOLOGY
Written by Karthik.V
Monday, 02 November 2009 17:47 - Last Updated Monday, 02 November 2009 18:00
composition
They need to be positioned in such a way that they do not interfere with the unit of
BIG QUESTIONS:
7 / 50
COMPONENT BASED TECHNOLOGY
Written by Karthik.V
Monday, 02 November 2009 17:47 - Last Updated Monday, 02 November 2009 18:00
Technological feasibility
Technical problems
Role of architecture
Definition
8 / 50
COMPONENT BASED TECHNOLOGY
Written by Karthik.V
Monday, 02 November 2009 17:47 - Last Updated Monday, 02 November 2009 18:00
Diagram
Explanation
Modules
Interfaces
Software components
Objects
UNIT II
9 / 50
COMPONENT BASED TECHNOLOGY
Written by Karthik.V
Monday, 02 November 2009 17:47 - Last Updated Monday, 02 November 2009 18:00
Events
Properties
Introspection
Customization
Persistence
10 / 50
COMPONENT BASED TECHNOLOGY
Written by Karthik.V
Monday, 02 November 2009 17:47 - Last Updated Monday, 02 November 2009 18:00
paradigm
When working with java beans, most developers use an application builder tool, a
utility that enables you to configure a ser of beans , connect them together and produce a
working application.
A pallete is provided that lists all of the beans, as additional beans are
11 / 50
COMPONENT BASED TECHNOLOGY
Written by Karthik.V
Monday, 02 November 2009 17:47 - Last Updated Monday, 02 November 2009 18:00
graphical user interface. A designer may drag and drop a bean from the
8. Define property?
Property is a discrete named attribute of a bean that can affect its appearance or
12 / 50
COMPONENT BASED TECHNOLOGY
Written by Karthik.V
Monday, 02 November 2009 17:47 - Last Updated Monday, 02 November 2009 18:00
behaviour.
Simple
Indexed
Bound
Constrained
13 / 50
COMPONENT BASED TECHNOLOGY
Written by Karthik.V
Monday, 02 November 2009 17:47 - Last Updated Monday, 02 November 2009 18:00
Introspection is used to find out events mthods, properties, standard interface and
classes.
software.
14 / 50
COMPONENT BASED TECHNOLOGY
Written by Karthik.V
Monday, 02 November 2009 17:47 - Last Updated Monday, 02 November 2009 18:00
Jar tf XYZ.jar
Jar xf XYZ.jar
No Simple Indexed
1.
2.
It is a single value
properties.
No Bound Constrain
15 / 50
COMPONENT BASED TECHNOLOGY
Written by Karthik.V
Monday, 02 November 2009 17:47 - Last Updated Monday, 02 November 2009 18:00
1.
2.
It is a property change
Event.
Event.
16 / 50
COMPONENT BASED TECHNOLOGY
Written by Karthik.V
Monday, 02 November 2009 17:47 - Last Updated Monday, 02 November 2009 18:00
17 / 50
COMPONENT BASED TECHNOLOGY
Written by Karthik.V
Monday, 02 November 2009 17:47 - Last Updated Monday, 02 November 2009 18:00
o Session
Stateful
Stateless
o Entity
o Message driven
18 / 50
COMPONENT BASED TECHNOLOGY
Written by Karthik.V
Monday, 02 November 2009 17:47 - Last Updated Monday, 02 November 2009 18:00
o Create subdirectory
o Run
BIG QUESTIONS:
Running state
19 / 50
COMPONENT BASED TECHNOLOGY
Written by Karthik.V
Monday, 02 November 2009 17:47 - Last Updated Monday, 02 November 2009 18:00
Runnable state
Dead state
_ Simple
_ Indexed
_ Bound
_ Constrained
Serializable
Externalizable
Object input/stream
20 / 50
COMPONENT BASED TECHNOLOGY
Written by Karthik.V
Monday, 02 November 2009 17:47 - Last Updated Monday, 02 November 2009 18:00
Object output/stream
Example
_ Definition
_ Diagram
_ Varieties of bean
_ Entity relationship
Program
_ Definition
_ Explanation
21 / 50
COMPONENT BASED TECHNOLOGY
Written by Karthik.V
Monday, 02 November 2009 17:47 - Last Updated Monday, 02 November 2009 18:00
_ Example
UNIT III
Invocation Interfaces
22 / 50
COMPONENT BASED TECHNOLOGY
Written by Karthik.V
Monday, 02 November 2009 17:47 - Last Updated Monday, 02 November 2009 18:00
Object Adapters
3. What are the requirements need to work invocation interfaces and object
adapters?
An object adapter is responsible for which servant serves telling an ORB which
23 / 50
COMPONENT BASED TECHNOLOGY
Written by Karthik.V
Monday, 02 November 2009 17:47 - Last Updated Monday, 02 November 2009 18:00
new object.
1.
2.
Meta programming
24 / 50
COMPONENT BASED TECHNOLOGY
Written by Karthik.V
Monday, 02 November 2009 17:47 - Last Updated Monday, 02 November 2009 18:00
Binary compatibility
Security service
_ Licensing service
_ Lifecycle service
_ Relationship service
25 / 50
COMPONENT BASED TECHNOLOGY
Written by Karthik.V
Monday, 02 November 2009 17:47 - Last Updated Monday, 02 November 2009 18:00
It allows arbitrary names to be associated with an object. Names are unique within
In push model the event supplier calls a push method on the event channel, which
In pull model the consumers call the pull method of the event channel, effectively
This service supports creation, copying, moving and deletion of objects and related
26 / 50
COMPONENT BASED TECHNOLOGY
Written by Karthik.V
Monday, 02 November 2009 17:47 - Last Updated Monday, 02 November 2009 18:00
group of objects.
Ports that are classified into facets, receptacles, event sources and
event sinks.
Home interfaces
27 / 50
COMPONENT BASED TECHNOLOGY
Written by Karthik.V
Monday, 02 November 2009 17:47 - Last Updated Monday, 02 November 2009 18:00
The home interface is provided by a component, not its instances, and supports the
Primary keys which are values that instances of entity components provide to
They are described as IDL attributes with set and get operations.
28 / 50
COMPONENT BASED TECHNOLOGY
Written by Karthik.V
Monday, 02 November 2009 17:47 - Last Updated Monday, 02 November 2009 18:00
The OMG architecture board introduced a new approach called model driven
BIG QUESTIONS:
CCM components
CCM containers
29 / 50
COMPONENT BASED TECHNOLOGY
Written by Karthik.V
Monday, 02 November 2009 17:47 - Last Updated Monday, 02 November 2009 18:00
SOM
Meta programming
Binary compatibility
MDA
_ IDL interface
_ Modules
_ Data types
_ Features
_ Diagram
30 / 50
COMPONENT BASED TECHNOLOGY
Written by Karthik.V
Monday, 02 November 2009 17:47 - Last Updated Monday, 02 November 2009 18:00
UNIT-IV
1. Define COM?
language may be bound to it. COM does not specify what a component or an object is.
Client variable
31 / 50
COMPONENT BASED TECHNOLOGY
Written by Karthik.V
Monday, 02 November 2009 17:47 - Last Updated Monday, 02 November 2009 18:00
Query interface
Iunknown interface
Query interface takes the name of an interface, checks if the current COM object
The identity of the Iunknown interface can serve to identify the entire COM object
Query Interface
32 / 50
COMPONENT BASED TECHNOLOGY
Written by Karthik.V
Monday, 02 November 2009 17:47 - Last Updated Monday, 02 November 2009 18:00
AddRef
AddRelease
Interface node
OP1
OP2
OPn
Component
33 / 50
COMPONENT BASED TECHNOLOGY
Written by Karthik.V
Monday, 02 November 2009 17:47 - Last Updated Monday, 02 November 2009 18:00
before handling out a first reference. Each time a copy of a reference is created the count
must be incremented (AddRef). Each time a reference is given up, the count must be
decremented (Release).
Containment
Aggregation
technique. One object holds an exclusive reference to another. Here the call is forwarded
34 / 50
COMPONENT BASED TECHNOLOGY
Written by Karthik.V
Monday, 02 November 2009 17:47 - Last Updated Monday, 02 November 2009 18:00
inner object’s interface reference could be handed out directly to another object’s client.
Aggregation is only useful where the outer object does not wish to intercept calls
DCOM transparently expands the concepts and services of COM. DCOM builds
on the client-side proxy objects and the server side stub objects already present in COM.
35 / 50
COMPONENT BASED TECHNOLOGY
Written by Karthik.V
Monday, 02 November 2009 17:47 - Last Updated Monday, 02 November 2009 18:00
IConnectionPointContainer
IConectionPoint
outgoing and incoming interfaces are matched, the propagation can take the form of
36 / 50
COMPONENT BASED TECHNOLOGY
Written by Karthik.V
Monday, 02 November 2009 17:47 - Last Updated Monday, 02 November 2009 18:00
19. Specify the policies that are used to determine the shared assemblies in GAC.
Publisher policy
Application policy
Machine policy
The CLR execution engine partitions a process into one or more AppDomains. An
AppDomain isolates sets of object from all objects in other appdomain, but is more light
37 / 50
COMPONENT BASED TECHNOLOGY
Written by Karthik.V
Monday, 02 November 2009 17:47 - Last Updated Monday, 02 November 2009 18:00
The CLI reflection support grants full access to the type structure of loaded
The CLI remoting support combines context and reflection infrastructure with
flexible support for proxies, channels and messages provide building blocks for a wide
BIG QUESTIONS:
Dispatch interfaces
Connectable objects
38 / 50
COMPONENT BASED TECHNOLOGY
Written by Karthik.V
Monday, 02 November 2009 17:47 - Last Updated Monday, 02 November 2009 18:00
Controls-ActiveXcontrols
Assemblies
Single application
Shared application
Policies
AppDomains
o Loading
o Unloading
Contexts
39 / 50
COMPONENT BASED TECHNOLOGY
Written by Karthik.V
Monday, 02 November 2009 17:47 - Last Updated Monday, 02 November 2009 18:00
o Context bound
o Context Agile
Reflection
Remoting
o Dual interface
_ Idispatch method
_ DispID
o Outgoing interface
_ IConnectionPointContainer
_ IConnectionPoint
40 / 50
COMPONENT BASED TECHNOLOGY
Written by Karthik.V
Monday, 02 November 2009 17:47 - Last Updated Monday, 02 November 2009 18:00
UNIT V
41 / 50
COMPONENT BASED TECHNOLOGY
Written by Karthik.V
Monday, 02 November 2009 17:47 - Last Updated Monday, 02 November 2009 18:00
reconfiguration.
transaction control
42 / 50
COMPONENT BASED TECHNOLOGY
Written by Karthik.V
Monday, 02 November 2009 17:47 - Last Updated Monday, 02 November 2009 18:00
Value types
Pass-by-value type
Pass-by-reference type
Context-bound type
Context bound types always reside inside a context that is equipped with
Appropriate properties. All other objects reside outside of any context and so are context
agile
43 / 50
COMPONENT BASED TECHNOLOGY
Written by Karthik.V
Monday, 02 November 2009 17:47 - Last Updated Monday, 02 November 2009 18:00
The black box component frame work is part of the black box component
supporting the standard object model of the underlying platform, most prominently COM
on windows platforms
solutions
44 / 50
COMPONENT BASED TECHNOLOGY
Written by Karthik.V
Monday, 02 November 2009 17:47 - Last Updated Monday, 02 November 2009 18:00
Polymorphism
Modular encapsulation
Safety
Is the area that benefits from language support is that of interfece definitions .
Involved
14. Specify the two different intensions that are used in caller encapsulation.
Exposed interface
45 / 50
COMPONENT BASED TECHNOLOGY
Written by Karthik.V
Monday, 02 November 2009 17:47 - Last Updated Monday, 02 November 2009 18:00
over the same state space. The resulting increase in complexity over sequential
programming is substantial.
46 / 50
COMPONENT BASED TECHNOLOGY
Written by Karthik.V
Monday, 02 November 2009 17:47 - Last Updated Monday, 02 November 2009 18:00
18. What are the two strategies used in component testing tool?
A rule of thumb is that most errors that can be caught using automated runtime
debugging aids could be statically avoided , had a better language been chosen for the
implementation.
47 / 50
COMPONENT BASED TECHNOLOGY
Written by Karthik.V
Monday, 02 November 2009 17:47 - Last Updated Monday, 02 November 2009 18:00
necessary to assemble individual instances repeatedly –the entire assembled product can
instead be cloned
BIG QUESTIONS:
Problems of asynchrony
Multithreading
Nutshell classes
Language support
48 / 50
COMPONENT BASED TECHNOLOGY
Written by Karthik.V
Monday, 02 November 2009 17:47 - Last Updated Monday, 02 November 2009 18:00
Caller encapsulation
Direct-to-COM
OLE
49 / 50
COMPONENT BASED TECHNOLOGY
Written by Karthik.V
Monday, 02 November 2009 17:47 - Last Updated Monday, 02 November 2009 18:00
Portos IDE
Cross-development tools
50 / 50