Breaking News: Grepper is joining You.com. Read the official announcement!
Check it out

Developing and implementing microservices

Pragya Keshap answered on February 19, 2023 Popularity 7/10 Helpfulness 1/10

Contents


More Related Answers

  • When to choose Microservice?
  • Learn: Microservices Architecture
  • What are the best practices to design Microservices?
  • what is microservice
  • Best practices you should consider when implementing the microservice architecture diagram
  • In what kind of application we should use microservices?
  • When Not to Use Microservices Architectures ?
  • microservices meaning
  • Principles Used to Design Microservice Architecture
  • How to deploy Microservice?
  • What is the role of a service registry in a microservices architecture?
  • What are microservices?
  • What are the characteristics of Microservices?
  • Explain the working of Microservice Architecture.
  • Write main features of Microservices
  • Write main components of Microservices
  • What are the fundamental characteristics of a microservices design?
  • In which cases microservice architecture best suited?
  • How do microservices relate to the business
  • name some design patterns and tools we use in developing microservices
  • Creating Microservices
  • Configuration management architecture inside microservices
  • Which of the following technologies are commonly used to implement microservices?
  • Under which condition the developers should use microservices?
  • Microservice Strategies
  • Introduction - Microservices architecture
  • Decomposition of Microservices Architecture
  • Breaking Down Application into Microservices
  • What are some examples of orchestrators for microservices deployments ?
  • What are the drawbacks of Microservice architectures?

  • Developing and implementing microservices

    0

    We will use the domain-driven implementation and approach we described in the last chapter to implement the microservices using Spring Cloud. Let's revisit the key artifacts:

    Entities: These are categories of objects that are identifiable and remain the same throughout the states of the product/services. These objects are not defined by their attributes, but by their identities and threads of continuity. Entities have traits such as identity, a thread of continuity, and attributes that do not define their identity.

    Value objects (VOs): These just have the attributes and no conceptual identity. A best practice is to keep VOs as immutable objects. In the Spring Framework, entities are pure POJOs; therefore, we'll also use them as VOs.

    Service objects: These are common in technical frameworks. These are also used in the domain layer in DDD. A service object does not have an internal state; the only purpose of it is to provide the behavior to the domain. Service objects provide behaviors that cannot be related with specific entities or VOs. Service objects may provide one or more related behaviors to one or more entities or VOs. It is a best practice to define the services explicitly in the domain model.

    Repository objects: A repository object is a part of the domain model that interacts with storage, such as databases, external sources, and so on, to retrieve the persisted objects. When a request is received by the repository for an object reference, it returns the existing object reference. If the requested object does not exist in the repository, then it retrieves the object from storage.

    https://medium.com/swlh/the-principles-of-planning-and-implementing-microservices-3cb0eb76c172

    Popularity 7/10 Helpfulness 1/10 Language whatever
    Source: Grepper
    Link to this answer
    Share Copy Link
    Contributed on Feb 19 2023
    Pragya Keshap
    0 Answers  Avg Quality 2/10


    X

    Continue with Google

    By continuing, I agree that I have read and agree to Greppers's Terms of Service and Privacy Policy.
    X
    Grepper Account Login Required

    Oops, You will need to install Grepper and log-in to perform this action.