Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

2.web

5 views

Published on

Waltz (ex. TangoWebapp) workshop @SOLARIS. Web

Published in: Software
  • Be the first to comment

  • Be the first to like this

2.web

  1. 1. WHAT ISWHAT IS WEBWEB??????
  2. 2. 04/07/18 Igor Khokhriakov & Olga Merkulova 2
  3. 3. 04/07/18 Igor Khokhriakov & Olga Merkulova 3
  4. 4. Apache Tomcat* -Apache Tomcat* - Servlet** engineServlet** engine *Apache Tomcat – a Java HTTP web server environment. **Servlet – a Java program that extends the capabilities of a server.
  5. 5. WHAT ISWHAT IS REST APIREST API??????
  6. 6. 04/07/18 Igor Khokhriakov & Olga Merkulova 6 ● Uses structured requests: – http://{host}/{app}/{api}/{version}/{collection} e.g. http://localhost:8080/my-app/users – http://{host}/{app}/{api}/{version}/{collection}/{item} e.g. http://localhost:8080/my-app/users/123 – http://{host}/{app}/{api}/{version}/{collection}/{item}/{sub-collection} ● Adds semantic to HTTP methods: – GET → get resource – POST → create new resource – PUT → update resource – DELETE → remove resource
  7. 7. JAX-RS –JAX-RS – Java framework* forJava framework* for server/client side RESTserver/client side REST implementationimplementation
  8. 8. WHAT ISWHAT IS Tango REST APITango REST API??????
  9. 9. 04/07/18 Igor Khokhriakov & Olga Merkulova 9 ● Tango REST API – RESTful view on Tango Controls http://{host}/{app}/{api}/{version}/{collection}/{item}/{sub-collection} → http://host/tango/rest/rc4/hosts/tango_host/10000/devices Tango REST API is just a SPECIFICATION!!!
  10. 10. 04/07/18 Igor Khokhriakov & Olga Merkulova 10
  11. 11. Putting it all togetherPutting it all together mTangoREST.server Waltz (ex. TangoWebapp)

×