Introduction to network

From Juneday education
Jump to: navigation, search

This is a draft/test/sketch of a future book called "Introduction to network" (intro to web)

Meta information



Check out

Networking (and web)

  • A Java Chat Server And Client 5 pages, TODO: find the chat server and client source code - you'll need it to give this lecture
  • Calling a service from a Java client Slides for a lecture on how to call a Servlet from a command line Java application, get either XML or JSON from the Servlet, and use a factory to get a parser for either XML or JSON, which creates a List<User> from the data. The main method gets the list, loops over it and prints each User to the standard out. 13 pages. (PDF, English)

Web stuff???

  • Front-end - Back-end (PDF, English) Huge lecture (83 pages) on Front-ends and back-ends in a web application. Front-ends are HTML and AJAX-based. For back-ends, Servlets are used. The protocols used are HTTP with JSON and AJAX sent from the back-end. The lecture also includes an example with sending data from an HTML form to a servlet to be saved in a database. Creating JSON and XML from the Java back-end is also described in the lecture. 83 pages. Some parts of the lecture is specific to a guest lecture on the SysVP course on UX on Göteborg University. Technologies/key words: AJAX, XML, JavaScript, HTML, Web, Java, Servlet, JDBC, Dynamic content etc
  • ServerBackends in Java Lecture slides for the Server Back-ends in Java lecture. Addresses: HTML form used to query a servlet, CSV as a data type, Java client code accessing a web server (URLConnection etc), JAX-WS/SOAP. 32 pages. (PDF, English) Needs source code and a test-run.