Skip to main content

Posts

Showing posts from June, 2021

consume other REST service from REST service [OR] consume 3rd party URI

[for source service]  Tools and Technologies : Oracle  Eclipse IDE Spring Data JPA Spring BOOT 2.4.8 + REST Java 8 POSTMAN  [for consuming other REST service from REST service] Tools and Technologies: Eclipse IDE Spring BOOT 2.4.8 + REST Java 8 POSTMAN  In real time most of the applications not provide DB details and you need to consume 3rd party URI. Client will give only 3rd party URI but client have may have DB  and you need to write REST service and deliver that respective stories/task. If you want consume a service that 3rd party related service must SERVER UP then only we can consume and if it is SERVER DOWN  we can't consume.        For understanding purpose Here I am creating and running 1 Rest Service and making as SERVER UP.  visit    https://start.spring.io/ give proper dependencies[WEB, DATA JPA, Oracle Driver] and select java version , maven as your comfort etc... just click on generate it will download in...