Skip to main content

Difference between Micro Service and Web Services

Micro web services and Web services are two different concepts of application development architecture, Which can be differentiated from it's development style and layered architecture.In This article I will explain the difference between Web Services and Micro Services

Web Services ?

Web services are services that are made available from a business's Web server for Web users or other Web-connected programs. it is a way to expose the functionality of an application to other application, without a user interface. It is a service which exposes an API over HTTP.
Web Services allow applications developed in different technologies to communicate with each other through a common format like XML, Jason, etc. 
Web services are not tied to any one operating system or programming language. For example, an application developed in Java can be used in C#, Android, Php etc., and vice versa. 
Web Service is a connection technology, a way to connect services together into a Service Oriented Architecture (SOA).

Micro Services ?

Micro Service is independently deployable service. It is a method of breaking large software applications into loosely coupled modules, in which each service runs a unique process and communicates through APIs. It can be developed using messaging or event-driven APIs, or using non-HTTP backed RPC mechanisms.
Microservices allow large systems to be built up from a number of collaborating components.
Micro Services are designed to cope with failure and breakdowns of large applications. Since multiple unique services are communicating together, it may happen that a particular service fails, but the overall larger applications remain unaffected by the failure of a single module.

For example imagine an online shop with separate microservices for user-accounts, product-catalog, order-processing and shopping carts.

Comments

  1. The content you've posted here is fantastic because it provides some excellent information that will be quite beneficial to me. Thank you for sharing that. Keep up the good work. web development company in chennai

    ReplyDelete
  2. You have done a good job by publishing this article about digital strategic planner for business I appreciate your efforts which you have put into this article, It is a beneficial article for us. Thanks for sharing such informative thoughts.

    ReplyDelete
  3. I am very thankful to you for sharing this best knowledge with us. This information is helpful for everyone. So please always share this kind of knowledge with everyone. Thanks. Read more info about custom logo maker

    ReplyDelete
  4. It is what I was searching for is really informative. Graphic Designing Services It is a significant and useful article for us. Thankful to you for sharing an article like this.

    ReplyDelete
  5. You've provided quite good information here. This is fantastic since it expands our knowledge and is also beneficial to us hong kong web design company. Thank you for sharing this piece of writing.

    ReplyDelete
  6. Using this tool, you could know the no. of inbound & outbound links, indexed pages, nofollow attributes, Page Rank, and much more of a particular web page. orangutan org

    ReplyDelete
  7. Those estimates may be unattainable—honestly, that’s kind of the point of putting them out there—but you can’t ignore the chasm between our current policy and something resembling a reasonable Insurance Policy. What Is Cgs Health Insurance

    ReplyDelete
  8. Excellent job, this is great information which is shared by you. This info is meaningful and factual for us to increase our knowledge about it. about social marketing campaign for recycling So please always keep sharing this type of information.

    ReplyDelete
  9. I am very thankful to you that you have shared this information with us. Read more info about web developers in dubai. I got some different kind of knowledge from your web page, and it is really helpful for everyone. Thanks for share it.

    ReplyDelete
  10. It is truly a well-researched content and excellent wording. I got so engaged in this material that I couldn’t wait to read. I am impressed with your work and skill. Thanks. Read more info about UX Design Tool Service in India

    ReplyDelete

Post a Comment

Thanks for your concern.

Popular posts from this blog

JAVA_OPTS Variable Details

Memory Available to the Java JVM Increasing the memory available to the Java JVM JAVA_OPTS="-Xmx1024m -Xms256m" export JAVA_OPT Options description: -Xmx sets the maximum amount of memory that can be allocated to the JVM heap; here it is being set to 1024 megabytes. -Xms sets the initial amount of memory allocated to the JVM heap; here it is being set to 256 megabytes. Run Java JVM in Server Mode The Java JVM can optimize a number of things for server environments. You can explicitly select the Java HotSpot Server VM with the -server option. JAVA_OPTS="-Xmx1024m -Xms256m -server" export JAVA_OPT What the option means: -server instructs the launcher to use the Java HotSpot Server VM. PermGen Memory If you start getting java.lang.OutOfMemoryError: PermGen space error messages. You may want to include a "-XX:MaxPermSize" option in your JAVA_OPTS. JAVA_OPTS="-Xmx1024m -Xms256m -server -XX:MaxPermSize=128m" export

Why Dozer Framework (Bean Manipulation)

Why Dozer ? Let us think about a situation that you have a source bean which contains lot of fields and the source bean belongs to a different project or module. Now you want to expose the bean to  the outside world as a part of your web service REST service development. It is not advisable to do it. There may be the following reasons. The source bean is not serialized and a final class. The source system does not allow doing it because of security breach. The source bean is very heavy and contains lot of nested beans. The source bean has fields of different types which may not be required for other system. The source bean has lot of fields; some of them are not required. Scenario to use Dozer Suppose You want to make a REST call or web service call to get the minimal account details of a person. But the source system has a bean called “Acc0untBean” which contains many sensitive information like person’s internet banking passw0rd, PAN no or social securit