Tuesday, June 2, 2015

Interview Question on SOA




What is SOA ? Services and messages?
Services - Self contained, Communicate using messages and orchestration
+
Messages – follow industry standards, Cross platform, Asynchronous, reliable, secured and describe and discover services
= SOA: is architecture style for building business applications using loosely coupled services.

What is difference between service and component?
Services enable u r component to go across any heterogeneous platform while component work within programming boundary 

What are Endpoints, Address Contracts and bindings?
Address (where)
Binding  (How)
Contracts (what)

Logging Application block?
In order log error we need understand 3 important things.
Source :  EventLog, file, email and Database etc..
Trace Listener : will pass the error to the respective source
Formater : how do you want this trace listerner want to write data the format of data into the source
                    Custom, binary and Text 

What is factory Pattern?
Its type of creational pattern and it constructs and create objects            
We avoid two things using this.
  • Lot of new keywords scattered
  • Client aware of all concrete classes
What is Command Design pattern?
It belongs to behavioral category
Command pattern allows a request to exist as an object
When you want your request as class or objects then go command design pattern

What is proto type pattern?
Its type of creational pattern and it will create new objects from existing instance of object. In one sentence we clone existing object with its data. by cloning it doesn’t  affect the original object.

What is builder Pattern?
Its type of creational category and it helps us to separate the construction of complex objects from its representation so that the same construction process can create different representation.

  • Builder : define construction process for individual parts. Builder has those individual process to initialize and configure the product.
  • Director :  takes those individual processes from the builder and defines the sequence to build product.
  • Product : is the final object which is produced from builder and director coordination.


No comments:

Post a Comment

Note: Only a member of this blog may post a comment.