Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Introduction of web services

ymkocv
September 22, 2016

Introduction of web services

Introduction before demo

ymkocv

September 22, 2016
Tweet

More Decks by ymkocv

Other Decks in Technology

Transcript

  1. What is back end  A "front-end" application is one

    that application users interact with directly.  A "back-end" application or program serves indirectly in support of the front- end services, usually by being closer to the required resource or having the capability to communicate with the required resource
  2. Web service  A Web service is a service offered

    by an electronic device to another electronic device, communicating with each other via the World wide web. In a web service, web technology such as the HTTP, originally designed for human-to-machine communication, is utilized for machine-to-machine communication, more specifically for transferring machine readable file formats such as XML and JSON.
  3. SOAP  Simple Object Access Protocol  WSDL (Web Service

    Definition Language)  Based on XML
  4. HTTP Methods  GET  POST  PUT  PATCH

     DELETE  READ  CREATE  UPDATE  UPDATE  DELETE  See the user  Register user  Update all information  Update part  Delete information
  5. Assertions  assertion is a statement that a predicate (Boolean-valued

    function, a true– false expression) is expected to always be true at that point in the code. If an assertion evaluates to false at run time, an assertion failure results, which typically causes the program to crash, or to throw an assertion exception.
  6. HTTPS Codes  1xx: Informational (100 Continue)  2xx: Success

    (200 OK, 202 Accepted)  3xx: Redirection (300 Multiple Choices)  4xx: Client Error (400 Bad Request, 404 Not Found)  5xx: Server Error (500 Internal Server Error)
  7. Groovy  Groovy is a powerful, optionally typed and dynamic

    language, with static- typing and static compilation capabilities, for the Java platform aimed at improving developer productivity thanks to a concise, familiar and easy to learn syntax. It integrates smoothly with any Java program, and immediately delivers to your application powerful features, including scripting capabilities, Domain-Specific Language authoring, runtime and compile- time meta-programming and functional programming.