New course in portfolio
Course code: GJB_SBREST« Back

Web services REST and GraphQL in Spring Boot

  • Gopas Java Bootcamp (GJB) is a new developing area of ??Java courses in Gopas, created in response to the need to offer current Java topics. In these courses, participants can learn the most advanced programming approaches under the guidance of experienced developers. These are unauthorized courses of the highest quality. They can be identified by the GJB prefix in the course code. Currently there are three new courses in this area: GJB_SBREACT, GJB_SPRINGDB and GJB_SBREST, but we are expecting to expand this offer soon.
  • It begins with an explanation of the JavaScript Object Notation (JSON) and Extensible Markup Language (XML) data types, including Jackson Mapping and Java Architecture for XML Binding (JAXB) mapping options. In the next part, the concepts of REST architecture and its implementation in Spring Boot will be explained and documented through the Swagger library. The analysis of the advantages and disadvantages of REST is followed by the introduction of GraphQL query language from Facebook. In addition, the possibilities of retrieving data from servers that do not provide web services using Selenium will be shown. The final part will discuss ways in which these web services can be secured through Spring Security or OpenID Connect (extension over OAuth2).
  • The course does not take deep access to the database, however, for the end-to-end query for web services, the Spring Data module (an extension over JPA using the Hibernate framework) will be used.
  •  DateDurationCourse priceHandbook priceCourse languageLocation 
    5/4/2020 4 28 800 CZK - Český jazyk GOPAS Praha_GTT
     
    9/29/2020 4 28 800 CZK - Český jazyk GOPAS Praha_GTT
     
    12/8/2020 4 28 800 CZK - Český jazyk GOPAS Praha_GTT
     
    5/4/2020 4 28 800 CZK - Český jazyk GOPAS Brno_GTT
     
    9/29/2020 4 28 800 CZK - Český jazyk GOPAS Brno_GTT
     
    12/8/2020 4 28 800 CZK - Český jazyk GOPAS Brno_GTT
     
    5/4/2020 4 1 180,00 EUR - Český jazyk GOPAS Bratislava_GTT
     
    9/29/2020 4 1 180,00 EUR - Český jazyk GOPAS Bratislava_GTT
     
    12/8/2020 4 1 180,00 EUR - Český jazyk GOPAS Bratislava_GTT
     

    AffiliateDurationCatalogue priceHandbook priceITB
    Praha4 28 800 CZK included in course price 40
    Brno4 28 800 CZK included in course price 40
    Bratislava4 1 180,00 EUR included in course price 40

    Required skills:

    • Basic knowledge and experience in creating web applications
    • Basic knowledge and experience with programming in Java SE

    Teaching methods:

    • Professional explanation with practical samples and examples.

    Teaching materials:

    • Powerpoint handouts and module printouts.

    Course syllabus:

    Introduction to web services

    • Purpose
    • Comparison of REST, GraphQL, SOAP
    • Advantages and disadvantages of individual approaches

    JSON, XML

    • Comparison of XML and JSON
    • XML and namespaces
    • XML Schema (XSD, validation
    • Build an XSD from an existing XML file
    • JSON, JSON Schema
    • Jackson, ObjectMapper configuration

    REST server side

    • REST architecture
    • Spring MVC
    • RequestMapping, @GetMapping, @PostMapping, @PutMapping, @DeleteMapping, @PatchMapping
    • RestController, @Controller

    Exception Handling (@RestControllerAdvice)

    • Caching
    • Swagger documentation

    REST client side

    • Synchronous vs asynchronous calls
    • HTTP headers
    • RestTemplate
    • WebClient
    • Testing Tools (Postman, SoapUI, ...)

    GraphQL

    • Sense of GraphQL
    • Advantages and disadvantages of GraphQL
    • GraphQL Schema
    • Creating and executing queries
    • Mutation
    • Spring GraphQLQueryResolver
    • Testing tools

    Web scraping

    • What to do if no API is available?
    • HtmlUnit
    • Selenium
    • XPath

    Database access

    • JPA (design, entity mapping, querying, EntityManager)
    • Spring Data (pagination, sorting)
    • Transaction
    • Query optimization

    Web Services Security and Spring Security

    • Implementation of Web Requirements Security in Spring Framework
    • HTTP Basic authentication (username + password)
    • Storing and validating passwords in a database
    • OpenID Connect and OAuth2
    Tištěné nebo elektronické studijní materiály GOPAS

    Price:
    included in course price
    The prices are without VAT.