title: Consuming service via REST or via JNDI
body: <p>which method would give better performance?</p>
  
  <p>One method - Making HTTP URL connection to consumer REST services</p>
  
  <p>Second method - Do a JNDI lookup and then invoke the API on the object to consume the service</p>