Never confuse education with intelligence, you can have a PhD and still be an idiot.
- Richard Feynman -

Misc:Extra lectures

From Juneday education
Revision as of 04:00, 24 December 2018 by Rikard (Talk | contribs) (Classloading)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search


Here we'll list slides for extra or "on demand" lectures which don't really fit into a book (not yet at least).

For occasions when we lack material because the students are quicker than we expected. So, bonus lectures so to speak.

Slides and/or Videos



Make Java lecture showing: Chat_client in C, JNI and C


Moved to More_programming_with_Java

New stuff added to Java 7

Addresses Try-with-resources, multiple catch, Autoclosable, Paths, Files, etc.


  • ...


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)
  • 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.
  • Introduction to Servlets (PDF) Servlet workshop slides


  • TODO: Find the webservice with RMI/Soap and add here

Moved lectures

JAR files

Moved to More programming with Java

XML parsing

Moved to Java_Web_programming.

Static vs Non static

Moved to More programming

Data structures

Moved to More programming with Java

Strings and IO

Moved to More programming with Java

Equals vs ==

Moved to More programming with Java

Ternary operator ? :

Moved to More_programming_with_Java

Comparable vs Comparator

Moved to More_programming_with_Java


Moved to More_programming_with_Java

Development tips

Moved to More programming with Java


Moved to More programming with Java


Moved to More_programming_with_Java and created a wiki page for it.

Static of non-static?

Moved to More_programming_with_Java and created a wiki page for it.

Java's new Date/Time API

Moved to More_programming_with_Java and created a wiki page for it.


Videos: Git:Introduction (Full playlist) | Git introduction | Git introduction - Live 01 | Live 02 | Live 03 | Using git (PDF)


Emacs basics

Emacs - Basics (Full playlist) | Emacs - Basics - 1 - buffers | Emacs - Basics - 2 - Start pause exit | Emacs - Basics - 3 - Searching | Emacs - Basics - 4 - mark cut paste | Emacs - Basics - 5 - Moving in the buffer | Emacs - Basics - 6 - File management | Emacs - Basics - 6 - Window management


SSH Basics

Ssh - basics (Full playlist) | Ssh - basics - 1 - login, transfer key | Ssh - basics - 2 - using keys, non-interactive


New page: Legal

Open data

  • ...

[Open] standards

  • ...


  • ...


Chat client

Depends on: Networking (and web)




  • Lecture slides for the lecture Minimal introduction to AJAX (12 pages) MinimalIntroductionToAjax.pdf (PDF, English)
  • Lecture slides for the lecture on Ajax with XML for dynamically building an HTML table with student data. 10 pages. Ajax and XML (PDF, English)

Source code for the AJAX-examples can be found here in our github repository java-web.



Code examples for PHP (DISCLAIMER: they all need to be improved but work as proof of concepts, no security etc here!):

  • Upload image (php script acceping a POST with a file, saves it with a new name based on the session, also a shell script to upload a file to the php script)
  • Minimal login example (html form with two options; login or create new account, php scripts for new user and for login check, shell scripts for testing the login.php and also for inserting new users into the database)
  • Small image processing-exempel (imagemagick in bash) for generating thumbnails, creating HTML from a script with a loop


  • ...


  • ...


  • ...


  • ...