SKILL BENCHMARK
Java Web Programming Literacy (Beginner Level)
- 10m
- 10 questions
The Java Web Programming Literacy benchmark measures your skills in the understanding and the implementation of object serialization, JSON parsing, and HTTP requests. You will be assessed on your ability to use serialization and deserialization to work with byte streams, parse JSON data to get Java objects, and work with various HTTP requests using Java's HttpClient. A learner who scores high on this benchmark demonstrates that they have the skills to handle HTTP requests and responses, which acts as the baseline for building Java web applications.
Topics covered
- describe the different methods available to access the data and metadata in an HttpResponse instance
- describe the role of a HEAD request to obtain information about a resource
- develop a program to send multiple asynchronous HTTP GET requests and process their responses once you are ready
- encode JSON data using strings and streams
- parse comma-delimited files and records using CDL
- send byte stream data over socket connections
- serialize and deserialize custom, user-defined objects
- serialize custom classes to the JSON format with org.json
- set up and send an HTTP POST request along with JSON data in the request body
- use JSON-simple to read in and write out JSON arrays