Tag: services

  • How to use services in Java Modules?

    Java 9 came up with the module system. This post gives a minimalist explanation of how to create modules in java. Let’s say you have decided to use modules in your application. And you are going to buy and sell coconuts using these modules as done in the post highlighted. And so you have created…

  • How to communicate between angular components through a shared service?

    In the previous post I showed how to interact between angular components using @Input and @Output annotations. A parent component can pass data to child component using @Input annotation. A child component can emit an event (with data if required) to parent using @Output annotation The link is here : How do components communicate in…