A Simple gRPC CRUD Example with Java

This is in continuation of the my previous post on gRPC with Java. This post shares a simple and complete gRPC CRUD example with Java.

  • You can find the complete source here: https://github.com/jobinesh/cloud-native-applications/tree/master/grpc-hr-example
  • The following APIs are exposed by the gRPC server used in this example:
  •   rpc createDepartment (Department) returns (Department) {};
      rpc updateDepartment (Department) returns (Department) {};
      rpc findDepartmentsByFilter(DepartmentFilter) returns (DepartmentList) {};
      rpc deleteDepartment(google.protobuf.Int64Value) returns (google.protobuf.Empty) {};
      rpc findDepartmentById (google.protobuf.Int64Value) returns (Department) {};
      rpc findAllDepartments(google.protobuf.Empty) returns (stream Department) {};
      rpc updateDepartmentsInBatch(stream Department) returns (stream Department){};
  • The README.md  has the detailed steps for running the example. Enjoy !


  1. Hey Nice Blog!!! Thank you for sharing the information. Wonderful blog & good post.Its really helpful for me, waiting for a more new post. Keep Blogging!!!I want to share about about apache kafka training

  2. The development of artificial intelligence (AI) has propelled more programming architects, information scientists, and different experts to investigate the plausibility of a vocation in machine learning. Notwithstanding, a few newcomers will in general spotlight a lot on hypothesis and insufficient on commonsense application. machine learning projects for final year In case you will succeed, you have to begin building machine learning projects in the near future.

    Projects assist you with improving your applied ML skills rapidly while allowing you to investigate an intriguing point. Furthermore, you can include projects into your portfolio, making it simpler to get a vocation, discover cool profession openings, and Final Year Project Centers in Chennai even arrange a more significant compensation.

    Data analytics is the study of dissecting crude data so as to make decisions about that data. Data analytics advances and procedures are generally utilized in business ventures to empower associations to settle on progressively Python Training in Chennai educated business choices. In the present worldwide commercial center, it isn't sufficient to assemble data and do the math; you should realize how to apply that data to genuine situations such that will affect conduct. In the program you will initially gain proficiency with the specialized skills, including R and Python dialects most usually utilized in data analytics programming and usage; Python Training in Chennai at that point center around the commonsense application, in view of genuine business issues in a scope of industry segments, for example, wellbeing, promoting and account.

    The Nodejs Training Angular Training covers a wide range of topics including Components, Angular Directives, Angular Services, Pipes, security fundamentals, Routing, and Angular programmability. The new Angular TRaining will lay the foundation you need to specialise in Single Page Application developer. Angular Training

  3. Great job for publishing such a nice article. Your article isn’t only useful but it is additionally really informative. Thank you because you have been willing to share information with us.Buy Online Luxury Clothes for Men


Post a Comment