YouTube Icon

Interview Questions.

Top 100+ Com+ Interview Questions And Answers - May 28, 2020

fluid

Top 100+ Com+ Interview Questions And Answers

Question 1. Define Manageability?

Answer :

Deployment and protection of the application is as efficient and painless as possible.

Question 2. Which Namespace Do The Classes, Allowing You To Support Com Functionality, Are Located?

Answer :

System.EnterpriseServices

Javascript Objects Interview Questions
Question three. Define Security?

Answer :

The utility is in no way disrupted or compromised through the efforts of malicious or ignorant users.

Question 4. Define Availability?

Answer :

Users can rely on the use of the application when wished.

Javascript Objects Tutorial
Question five. Define Scalability?

Answer :

The utility meets its requirement for efficiency although the wide variety of users will increase.

Objective C Interview Questions
Question 6. What Is Reliability?

Answer :

The software generates correct and constant information all of the time.

Question 7. Explain Loosely Coupled Events?

Answer :

Loosely coupled activities enable an object (publisher) to publish an occasion. Other items (subscribers) can enroll in an event. 

COM+ does no longer require publishers or subscribers to understand about each different. Therefore, loosely coupled occasions significantly simplify the programming version for dispensed programs.

Objective C Tutorial JSON (JavaScript Object Notation) Interview Questions
Question eight. Explain Queued Components?

Answer :

The queued components service permits you to create additives that can execute asynchronously or in disconnected mode. 

Queued additives make certain availability of a machine even if one or more sub-structures are quickly unavailable. 

Consider a state of affairs in which salespeople take their pc computer systems to the sector and input orders at the go. 

Because they're in disconnected mode, these orders may be queued up in a message queue. When salespeople join again to the community, the orders can be retrieved from the message queue and processed by way of the order processing components on the server.

Question nine. Explain Role-based totally Security?

Answer :

In the position-based protection version, get admission to to components of an software are granted or denied based on the role to which the callers belong. 

A function defines which participants of a Windows area are allowed to work with what additives, methods, or interfaces

Object Oriented Analysis and Design Interview Questions
Question 10. What Is Jit Activation?

Answer :

The objective of JIT activation is to limit the quantity of time for which an item lives and consumes resources on the server.

With JIT activation, the customer can preserve a connection with an item at the server for a long time, however the server creates the item handiest whilst the consumer calls a method at the object. 

After the technique name is finished, the object is freed and its reminiscence is reclaimed. JIT activation allows applications to scale up because the variety of users increases.

JSON (JavaScript Object Notation) Tutorial
Question 11. What Is Object Pooling?

Answer :

With object pooling, COM+ creates objects and continues them in a pool, in which they may be prepared for use whilst the next client makes a request. 
This improves the overall performance of a server application that hosts the objects which are regularly used but are steeply-priced to create.
Object Oriented Programming in PHP Interview Questions
Question 12. What Is Durability?

Answer :

Make certain that the device can return to its unique state in case of a failure.

Javascript Objects Interview Questions
Question 13. What Is Integrity?

Answer :

Ensure facts integrity by protecting concurrent transactions from seeing or being adversely suffering from every different's partial and uncommitted outcomes.

Object Oriented Analysis and Design Tutorial
Question 14. Explain Consistency?

Answer :

We need to make sure that the device is constantly left at the ideal kingdom in case of the failure or success of a transaction.

Question 15. What Is Transaction Atomicity?

Answer :

Transaction Atomicity has 4 attributes:-ACID (atomicity, consistency, isolation, and durability) is an acronym tool for mastering and emembering the 4 number one attributes ensured to any transaction by a transaction manager (which is also called a transaction screen). These attributes are given beneath: 

Atomicity. In a transaction involving  or greater discrete portions of data, either all the portions are committed or none are. 
Consistency. A transaction either creates a brand new and valid country of statistics, or, if any failure occurs, returns all statistics to its kingdom before the transaction changed into began. 
Isolation. A transaction in process and no longer yet committed have to stay isolated from every other transaction. 
Durability. Committed records is saved by using the gadget such that, even in the event of a failure and system restart, the facts is available in its correct kingdom.
Question sixteen. How To Register Dll In Com / Com+ Application?

Answer :

You can now not deploy COM+ DLLs into the System32 folder at the server. In Windows 2003 server and beyond (such as Windows 7) when exporting COM+ bundle any DLLs registered in WindowsSystem32 (or folders below that) will not be exported. According to Microsoft Support, this is by way of design.(This data has no longer been posted publicly by means of Microsoft, so we had to open a price ticket with them to find out the issue.)

The signs and symptoms are that the exported MSI files do no longer contain the COM+ DLLs if:

the COM+ DLL is registered in System32 and
the COM+ bundle is exported on Windows 2003 or later.
The MSI could be created and will install, but the packages will now not be capable of instantiate the items due to the fact the DLL become in no way mounted. Opening the MSI with a set up editor like Wise Installation Editor will display that the DLL is not blanketed inside the MSI.

Question 17. Why We Learn The 8085? Because We Are In twenty first Century So Why We Learn 8085?

Answer :

8085 is primary microprocessor, why we're learning in 21th centuri as an example: u want lean java , earlier than have to realize a few C&C++ concepts, different clever it will difficult like that we study some fundamental after will move for advanced

Question 18. Can We Send Inputs To Visual Basic Projects Through Command Line Arguments?

Answer :

We can skip command line arguements in VB. We can specify the arguement in task homes -> make tab. 

Instead we can pass it as command line arguement. The argument might be in a object called 'command' and/or 'command$'.

Objective C Interview Questions
Question 19. Are Com Components Serializable?

Answer :

yes due to the fact when server switch information so one can in serialize and any layout they used which serialized information in com

Question 20. Explain Disadvantages Of Com Components?

Answer :

Does now not helps put into effect-inheritence
Version compatibility.
Fully dependant on registry hence doesn't paintings on non-window platforms.,
Question 21. What Are Ccw And Rcw?

Answer :

Com Callable Wrapper :

Create Assembly and assemble with sturdy name. 
Register Assembly the use of regasm <assembly name> 
Register Assembly in GAC the use of gacutil /i <assembly name> 
Use tlbexp <assemblyname.Dll> to export Assembly as Type Library for COM. 
Runtime Callable Wrapper :

Create Public Key Token document the use of sn.Exe –okay <keyfilename.Snk> 
Use tlbimp <TypeLibFileName> /keyfile: <keyfilename.Snk>
/out: <AssemblyName.Dll>
Register Imported Assembly in GAC the use of gacutil /i
<AssemblyName.Dll>
Question 22. Explain What Are Wrapper Classes?

Answer :

Wrapper training are used to encapsulate values of primitive kinds in gadgets, so that they may be exceeded around within the same manner.

Question 23. Is The Com Architecture Same As .Net Architecture? What Is The Difference Between Them?

Answer :

com structure wishes registratation & classids where as .Internet structure does now not need registration & classids

Question 24. What Is The New Three Features Of Com+ Services, Which Are Not There In Com (mts)?

Answer :

Automatic Transaction
Distributed Transactions
Object Pooling
JSON (JavaScript Object Notation) Interview Questions
Question 25. What Is Use Of Contextutil Class?

Answer :

ContextUtil is the favored magnificence to apply for obtaining COM+ context facts.

Question 26. How To Register Com+ Services?

Answer :

we acn register the Com+ offerings the use of the "regsvcs"  command

Question 27. How Does You Handle This Com Components Developed In Other Programming Languages In .Internet?

Answer :

By developing typelibraries & wrapper classes.

Object Oriented Analysis and Design Interview Questions
Question 28. What Is Ccw (com Callable Wrapper)?

Answer :

A proxy item generated by using the commonplace language runtime in order that current COM applications can use managed lessons, such as .NET Framework training, transparently.

Question 29. How To Make A Net Component Talk To A Com Component?

Answer :

To permit the conversation among COM and .NET components, the .NET Framework generates a COM Callable Wrapper (CCW).

The CCW permits communique among the calling COM code and the controlled code. It additionally handles conversion among the facts types, as well as other messages between the COM sorts and the .NET types.

Question 30. Explain Transaction With Com+ Components?

Answer :

Transaction includes group of task bind in a unmarried execution unit .When a transaction begins with particular assignment it is finished while all the announcement in devices are finished if any one produce mistakes it's going to Rollback.

So transaction have handiest  end result Success and failure. On the alternative hand COM+ components need code to transaction.Because it'll automatically participate in transaction.Its no longer require any express code to specify the start and quit of transaction.

When we create an object of COM+ it's far activated with  BeginTransaction with COM+ offerings offers.And this object is deactivated the usage of CommitTransaction or AbortTransaction technique.

Question 31. How Com+ Component Adopt Security?

Answer :

To lessen complexity COM+ used or presents function­based protection carrier it's enables in middle­tier components.

There are  kinds of rolebased security:

Declarative
Programmatic
When we applied and configure protection without using an explicit programming interface is known as declarative safety settings. On the other hand there are some situation whilst work load is heavy and secuirty is must and exchange of records throughout the network and protection measure need to be excited about programming interface and it's miles referred to as programmatic safety




CFG