Breaking

JIT(Just In Time), Unified classes, webservices and COM(Component Object Model) in C#



                             Just In Time(JIT) In C#

  • JIT is a compiler.
  • JIT compiler enables in browsers by default.
  • JIT compile bite code into machine code.
  • It is faster in comparision to state compilation.
  • This allows the late binding of data type and enforces the security in better means.
  •  Application of JIT is Java and .Net framework. 
JIT is basically three types

Pre JIT- Pre JIT is used to compile the source code when program is a compilation. It is also used at the movement of deployment.

Econo JIT- Econo JIT compile only runtime methods.

Normal JIT- It is also compiled only runtime methods and it is store compiled code into a cache memory. When if this is called again, it is executed cache store code.

                           Unified Classes(Base class library) 

  • The unified class is a set of classes that provides the useful functionality to CLR programmers.
  •  The .Net framework class library is based on features like runtime environment support and simplifies the development of the .net base application.
  •  Unified classes provide the foundation which builds of our application the regardless of a language used.
  •  Unified classes provide the consistency technique for accessing the platform functionality.
  •  In addition to the above point, a developer can extend classes but creating their own library classes.
  •  In .Net framework all application access the same .Net framework class library which is held in same namespaces.
  •  In .Net framework programming languages(VB, C#, .Net etc) from various vendors utilize them .Net services and feature through a common set of unified classes. 
  • .Net framework is developed by the Microsoft.
  •  Unified classes are predefined classes which are created by C#.net developers.

                              Application of unified classes

  • Classes for XML support.
  •  Classes for data handling.
  • Classes for web services. 

                          Web services in c#

  • By using web services we can reuse some business logic instead of replicating it.
  • This technique is similar to work, programmers currently do with the library of API, DLL or plugins. 
  • The main difference between API and web services is, web services can be invoked from a remote location(because web services can be stored at a remote location)
  • When HTML pages are rendered(loading) in a browser, web services are invoked by an application.
  • web services are cross-platform, there should be some commonly understandable language for requesting a service and getting a response from the service. such a standard common language is XML (Extensible Markup Language). That's why web services are built on an XML based standard for exchanging the data.
  • As a limitation, the web services are limited to use to recognize a set of the data type.
  • Web services are not limited to .Net framework. These standards what define before .Net was released and supported by renders other than Microsoft.

                             COM(Component Object Model)

  • COM is used for creating the software component which is platform independent, distributed and object-oriented.
  • COM is a foundation technology of Microsoft.
  • COM is used or created in various programming languages such as c++.
  • These objects are called as a single process or can be called in another process.
  • COM makes the component reusable.
  • All the ActiveX component are by default COM component.
  • COM is a concept where the implementation of COM is done through ActiveX.