If you are given a choice to have a functionality shared either through dependency or through a Web service, which one will you choose ?
Javasearch.buggybread.com
Share

Search Interview Questions


 3356 questions in repository.
 There are more than 200 unanswered questions.
Click here and help us by providing the answer.
 Have a video suggestion.
Click Correct / Improve and please let us know.
Label / Company      Label / Company / Text

   



Java - Interview Questions and Answers

 Q1. If you are given a choice to have a functionality shared either through dependency or through a Web service, which one will you choose ?Solution2016-06-13 10:38:53

Ans. Web Service promotes looser coupling but with comes with coding and performance overheads. Jars provide better performance and may be lesser coding but are problematic with update distribution. If the situation doesn't require frequent dependency updates and if it's only read operation of persistence, Having dependencies should be a better choice , otherwise web service.

 Help us improve. Please let us know the company, where you were asked this question :   

   Like         Discuss         Correct / Improve     Design  Web Service vs Jar


Related Questions

  What are RESTful Web Services ?
 Difference between GET and POST Requests ?
 What is the relationship between VPC and subnet ? Can you tell with an example ?
 Why is cloud infrastructure so powerful ?
  Which markup languages can be used in restful web services ?
  Why Web services use HTTP as the communication protocol ?
  Name some Java REST services frameworks ?
  In Spring , Which class handles the Http requests for RESTful web services ?
 Can we send a request body with the Get Request ? If not, What is the alternate to pass message to the Get Request ?




Subscribe to Java News and Posts. Get latest updates and posts on Java from Buggybread.com
Enter your email address:
Delivered by FeedBurner



comments powered by Disqus
 

Help us and Others Improve. Please let us know the questions asked in any of your previous interview.

Any input from you will be highly appreciated and It will unlock the application for 10 more requests.

Company Name:
Questions Asked:
         

X Close this