Table of Contents
Preface
113105 Software development 1
Getting started
Lecture related resources
Using the exercises
Related resources
Coached exercises
Using plain Java
Using Intellij IDEA
Play!
Hello, World and friends.
Simple calculations
A conditional
A loop
Language Fundamentals
Integer, ASCII and Unicode
Primitive types
Variables
Literals
Arithmetic limitations
Conversions
Operators and expressions
Arithmetic and logical operators
Assignment operators
Unary operators
Operator precedence
Comments
Statements
The if conditional statement
if-then-else
Using else if
The switch statement
Loops
while
do ... while
for
Logic related external exercises
Using automated tests.
Objects and Classes
Static methods
Working with objects
Packages
Object methods
Encapsulation and access control
Getter and setter methods
Signatures
Method overloading
Constructors
Scopes
Class members and methods
A mathematical table.
Interest calculations
Programmer's favourite expression
Lotteries revisited
The greatest common divisor and the common multiple
Maven project dependencies
Maven command line usage
Intellij IDEA on top of Maven
Building a library of mathematical functions.
Maximum and absolute value
Factorial, the direct way
Factorial, the recursive way
Binomials, the recursive way
Implementing exponentials.
Adding sine
Strange things happen
Unit testing
Tests and implementation
Improving the algorithm
Parameterized testing
Helpful Junit methods
Technical details
Example: A class representing fractions
Value types and reference types
Method calls, the details
Enumerations (enum)
Enumeration by integer representation
Enumeration by dedicated class
Defining a private constructor
enum replacing class
Using git
Working with git locally.
Shared development with centralized remote.
Conflicts
Core Classes
Using class Math
String exercises
Analyzing file pathnames
Arrays
Reconsidering System.out.format().
java.util.Arrays helpers
Extending arrays
Storing integer values
Understanding static public int main(String[] args)
Multi-dimensional arrays
Tic-tac-toe
Tic-tac-toe using a two-dimensional array
Changing the game's internal representation
Tic-tac-toe, Computer vs. human
Providing statistical data
Prime numbers revisited
A simple algorithm
Improving performance
The median of a given sample.
Plotting functions
Inheritance
Overriding equals() and hashCode()
Overriding toString()
final methods
Abstract methods
Geometry classes reconsidered
protected access
final classes
The instanceof operator
The @Override annotation.
Runtime polymorphism
Error Handling
Checked vs unchecked exceptions
Exceptions and Junit
Variants
Class java.lang.Exception
Working with Numbers
Boxing and unboxing
Number Parsing
Number Formatting
Working with Money
Generating Random Numbers
interface definitions and abstract Classes
Interfaces and sorting
A nonsense generator
An interface based plotter
Application deployment I
Preparations
Exercises
Part II, Exercises
Reading character streams
Preparations
Exercises
Collections
Preparations
Collections I, Exercises
A Set of Strings
A List of Strings
Defining a Coordinate class
A Set of Coordinate instances
Collections I, Exercises
Getting a Set of strings from a text file
Result string ordering
Sorting strings in an unusual way
Result string ordering
Collections III, Exercises
Collections IV, Exercises
Maps 1, Preparations
Exercises
Towns and country names
Creating an overview of grades
Appendix
Examination bonus point projects
Weather forecast
Reverse Polish notation (RPN) calculator
Currency converter, Summer 2017
An address database, Winter 2016
Poor man's UNIX grep, Summer 2016
Project Euler's sieve, Winter 2015
Exercising past examinations
Starting an exam
Implementing the project skeleton
Finish the exam
Examination hints
Past Software Development 1 examinations
SD1 examination summer 2025
SD1 examination winter 2024
SD1 examination summer 2024
SD1 examination winter 2023
SD1 examination summer 2023
Sd1 examination winter 2022
SD1 examination winter 2021
SD1 examination summer 2021
SD1 examination winter 2020/1
SD1 examination winter 2020/2
SD1 examination summer 2020
SD1 examination winter 2019
SD1 examination summer 2019
SE1 Klausur Winter 2018
SE1 Klausur Sommer 2018
SE1 Klausur Winter 2017
SD1 Klausur 2017
SE1 Exam winter 2015
SE1 Klausur Sommer 2015
SE1 Klausur Winter 2014
Past Software Development 1 exam preparing tests
Test 01
Test 02
Test 03
Test 04
Test 05
Working with git
Apache Maven
The project object model pom.xml
Plugins
Dependencies
Lifecycle, phases and goals
List of Exercises
113492 Technical Documentation
Software independent considerations
General remarks
Common building blocks
Block level elements
Docbook
Target formats
Selected elements
Schematron
Customizing
Assemblies
Styling the editor application
Modular documents
RelaxNG Schema
Transforming documents
Target format HTML
Target format print
Software
Frontends
Backends
TeX / LaTeX
Docbook
Exercises
LaTeX
LaTeX hello,... world
Important elements
Macro
A complete document
Docbook
Project proposals
Building a reveal.js editor
Authoring journey descriptions
Gitlab pages integration of Docbook
Codingbat reloaded
XML based exercise compilations
Past projects
List of Exercises
113473 Database and application development
Database features
Selected database products overview
Openldap
Installation
Features
Exercises
Mongodb
Installation
Features
High performance sharding cluster
Exercises
JDBC: Accessing Relational Data
Persistence in Object Oriented languages
Introduction to JDBC
Write access, principles
Write access, coding!
JDBC™ and security
Read Access
Dynamically load a JDBC™ driver
Handling surrogate keys
Transactions
JPA
Configuring a Maven based Eclipse Java™ project with Hibernate
Creating a JPA configuration
A round trip working with objects
Persisting objects
Loading Objects by primary key
Loading objects by queries
Criteria based queries
Mapping single entities and database tables
Transient properties
Properties and NULL values
Defining keys
Composed keys
Indexes (non-unique)
Renaming tables and attributes
Changing the default type mapping
Object states and transitions
XML to JPA using JAXB
Inheritance
Single table per class hierarchy
Joined subclasses
Table per concrete class
Mapping related Components and entities
Primary keys revisited
Entity and value types
Mapping components
Caching
orphanRemoval vs. CascadeType.DELETE
Project ideas
Extending UNIX grep to databases
Database copy tool
Database schema evolution tool
List of Exercises
113475 Software defined Infrastructure
Manual server management
Documentation guidelines
Hetzner cloud administration GUI
Using ssh
Public / private key pair
Pass phrases and ssh agent
Agent forwarding
Port forwarding
X11 forwarding
Network data transfer using scp, rsync and ssh
Prerequisites
Ubuntu / Debian Package management
Prerequisites
Cloud provider
Working with Terraform
Cloud-init
Terraform modules
Volumes
Terraform loops
Terraform and DNS
Generating web SSL certificates
Terraform states
Private networks
Appendix
DNS
Preliminaries
Exercises
LDAP
Recommended Preparations
Exercises
Apache web server
Preliminaries
Exercises
File cloud
Exercises
Network file systems served by Samba
Prerequisites
Samba server installation
Mail
Recommended Preparations
Exercises
Docker
Introduction
Exercises
Icinga
Functional checks
SNMP based checks
ssh based checks
List of Exercises
Common topics
Project documentation
Bibliographic links
Glossary
List of Figures
1. Temporary PC pool workaround
2. How much time to invest?
3. Your biggest enemies
4. German humour
5. 4 most imperative study objectives
6. Tuition attendance and exam results summer 2025
7. Moodle and tuition groups
8. Recommended reading resources I
9. Recommended reading resources II
10. Online tutorials
11. Unix and the terminal
12. Online programming, automated feedback
13. Online programming I
14. Online programming II
15. Choosing the SD1 bwLehrpool VM
16. Intellij IDEA IDE
17. Live lecture additions
18. Virtualbox / VMware player based virtual Linux image
19. Virtualbox™ settings
20. Embedded exercises
21. Using the exercises
22. HdM mail server
23. Configure MI VPN client access
24. MI Cloud server
25. MI File server
26. MI Git versioning server
27. Coached exercises
28. Bonus points
29. Seminar rules and bonus points
30. Presenting exercise solutions
31. Edit - compile - execute
32. Editing Java™ files
33. Defining class HelloWorld
34. Compiling Java™ file
35. Command line Java™ file compilation
36. Java byte code file HelloWorld.class
37. Source code vs. bytecode
38. Executing byte code file HelloWorld.class
39. Command line byte code file HelloWorld.class execution
40. Intellij IDEA requires a JDK
41. Intellij IDEA installation
42. Idea »Ultimate« license types
43. Alternative: Using the HdM license server
44. Creating a new Java project
45. Getting first Java™ impressions
46. Manual calculation: Abacus
47. Mechanical calculation: Cash register
48. Electromechanical calculation: Zuse Z3
49. Vacuum Tube: Eniac
50. Transistor: Microprocessor ICs
51. Z80 8-bit data bus
52. Progress in hardware 1
53. Progress in hardware 2
54. Simple facts:
55. Unsigned 3 bit integer representation
56. Binary system addition
57. 3 bit two-complement representation
58. 3 bit two complement rationale: Usual addition
59. Signed 8 bit integer binary representation
60. 7-bit ASCII
61. 7-bit ASCII with even parity bit
62. Western European characters: ISO Latin 1 encoding
63. Unicode UTF-8 samples
64. Java types
65. Java signed integer primitive types
66. Four int literal representations of decimal 29
67. Java unsigned integer, floating point and boolean primitive types
68. Variables: Handles to memory
69. Local variable declaration
70. Declare, assign and use
71. Combining declaration and initialization
72. Compound declarations
73. Identifier in Java™:
74. Identifier name examples:
75. Java™ keywords.
76. Variable naming conventions
77. Constant variables
78. Case sensitivity
79. Define before use
80. Type safety
81. Compile time analysis
82. Type inference (JDK™ 10)
83. Forcing conversions by cast
84. Watch out!
85. Casting long to int
86. Casting double to short
87. «C» programming language liberal assignment policy:
88. Consequences
89. From the report
90. Dynamic typing in PERL
91. Dynamic typing in PERL, part 2
92. Using final
93. Reference type examples
94. float and double
95. Four ways representing 35
96. Choose your output representation
97. Know your limits!
98. Literal examples
99. int literals
100. Just kidding ...
101. Strange things I
102. Strange things II
103. Limited floating point arithmetic precision
104. Nearest float to 0.1F
105. FloatConverter
106. Widening from byte to short
107. Narrowing from int literal to char variable
108. A widening «ladder»
109. A narrowing «ladder»
110. The binary plus operator
111. Binary operator output type
112. Detecting arithmetic overflow (Java 8+)
113. Dividing by zero
114. Generic binary operator
115. The modulus operator %
116. Binary operator type examples
117. No binary + operator yielding byte
118. int expression assignment
119. Constant expression assignment
120. The logical and operator &
121. The += operator
122. The &= operator
123. Arithmetic assignment operators
124. Logical assignment operators
125. Increment operator ++
126. Different range behaviour!
127. Cast required
128. Prefix and postfix notation
129. Operator examples
130. Operator precedence examples
131. Operator precedence references
132. Java™ comment flavors
133. Inline comments
134. Javadoc™ comments
135. Statements: General syntax
136. Statement examples: Declaring and assigning variables
137. Expression vs. statement
138. Multiple statements per line
139. Debugging multiple statements per line
140. Method local variable scope
141. Nested blocks and variable scopes
142. Block purposes
143. Principle of swapping two variables
144. Swapping two variables
145. Swapping two variables using a block
146. Conditional block execution
147. if syntax
148. if ... else
149. if ... else syntax
150. Best practices comparing for equality
151. Single statement branches
152. Nested if ... else
153. Enhanced readability: if ... else if ... else
154. if ... else if ... else syntax
155. User input recipe
156. Using a Scanner class collecting user input.
157. Converting numbers to day's names
158. Numbers to day's names: The hard way
159. Better: Using switch
160. switch Syntax
161. Switching on strings
162. switch expressions
163. Assigning switch expressions
164. Allowed types for switch statements
165. Allowed labels
166. Why loops?
167. Number of repetitions given by user input
168. A while loop
169. Combining increment and termination condition
170. while syntax
171. Empty while body
172. A do ... while loop
173. do ... while syntax
174. Frequent usage of while
175. Replacing while(...) by for(...;...;...)
176. for syntax
177. for variable scope
178. for variable scope equivalence
179. for vs. while relationship
180. Nested loops 1
181. Nested loops 2
182. Better readability: row and column in favour of i and j
183. Calculating values
184. Response to coding errors
185. Unit test concept
186. alarmClock(...) with errors
187. Testing alarmClock(...)
188. Testing alarmClock(...) details
189. A method adding two values
190. Syntax of method definition
191. The static modifier matters!
192. Documentation: Javadoc™ is your friend!
193. Separating usage and definition
194. Instances of a Class
195. General class structure
196. What's a class anyway?
197. Rectangle objects
198. A class describing rectangles
199. Rectangle class and instances
200. Generated diagrams
201. The new operator: Creating rectangle instances
202. Syntax creating instances
203. Assigning attribute values to class instances
204. Instance memory representation
205. References and null
206. Checking for object presence
207. Why packages ?
208. Rules and conventions
209. Fully qualified class name vs. import
210. Don't be too lazy!
211. Special: Classes in package java.lang
212. Class, package and file system
213. Source hierarchy view
214. Object methods
215. Get a rectangle's area
216. Get a rectangle area method coding
217. Scaling a rectangle
218. Scaling method implementation
219. Scaling method signature
220. Using the scale(...) method
221. Method definition syntax
222. A rectangle's perimeter
223. getPerimeter() method implementation
224. Using Rectangle.getPerimeter()
225. Access control: Overall objectives
226. Example: Two ways implementing a day's time
227. private modifier access violation
228. Absent access modifier, access violation
229. Access rules
230. Tips on Choosing an Access Level
231. Direct access vs. setter method
232. Why adding setter methods?
233. Implementation change: Minutes only, no hours
234. Defining type signatures
235. Type signature examples
236. Defining method signatures
237. Method signature examples: Ignore return type!
238. Method overloading: Same name, different signature
239. Overloading, alternate names
240. No overloading in »C«
241. »C« requires unique function names
242. No distinction on return type
243. Method signatures rationale
244. Method signatures rationale
245. Example: System.out.print(...)
246. Creating and initializing rectangles
247. Defining a constructor
248. Constructor syntax
249. Constructors
250. Multiple overloaded constructors
251. Constructor calls within constructor
252. Instances by overloaded constructors
253. No constructor vs. default constructor
254. Non - default constructor, but no default constructor
255. Employee example package hierarchy
256. Circle and variable scopes
257. Documenting classes and methods
258. Generated Javadoc
259. Refactoring «r» ⇒ «radius»
260. Scope assignment problem
261. this overriding method scope
262. Why do we require an instance?
263. Solution: Replace instance method by class method using static
264. Club membership objectives
265. Step 1: Implementing club member names.
266. Showing membership info.
267. Step 2: Adding membership numbers.
268. Showing membership numbers.
269. Member creation steps
270. Accessing the club's overall member count?
271. Accessing the club's member count
272. Syntax accessing class members
273. static / non-static wrap up
274. Finally understanding System.out.print(ln)
275. Newton's letter to Robert Hooke
276. Application execution prerequisites
277. Why Maven project management?
278. Example: Creating PDF using iText7
279. Maven iText library pom.xml definition
280. Itext transitive dependencies
281. Class location in iText library
282. Class location in iText library
283. Maven repositories
284. Maven archetypes
285. Project «lottery» depending on «common»
286. Providing project «common»
287. Publish project «Common»'s library
288. Content of archive common-1.0.jar
289. Consuming project «lottery»
290. External libraries view
291. Using Helper.factorial(...) computing ( n k ) = n ! k ! ( n - k ) !
292. Maven artifact dependency.
293. Using the MI Sd1 project template
294. CLI example
295. Supplementary MI Maven archetypes
296. CLI testing mi-maven-archetype-quickstart
297. CLI archetype details
298. Generated project layout
299. Maven compile
300. Compilation file view
301. Maven package
302. Executing Java™ archive second-0.9.jar
303. Maven javadoc:javadoc
304. Maven clean
305. Intellij IDEA Maven support
306. Adding MI Maven server
307. New MI archetype project
308. pom.xml content changes
309. Intellij IDEA generating Javadoc
310. Pascal's triangle representing binomial coefficients.
311. An implementation sketch for the exponential
312. Comparing exponential and approximation
313. Comparing sin(x) and its approximation.
314. Recommended reading
315. Test categories
316. Example: Computing prime numbers
317. Unit test principle
318. Test driven development
319. Steps in Unit Testing
320. Step 1 + 2: Specify method, write skeleton
321. Execution yet being flawed
322. Sample test data
323. Step 3: Junit based specification test
324. Junit skeleton test result (Maven CLI)
325. Junit skeleton test result (IDE)
326. Providing explanatory failure messages:
327. Step 3: Providing more prime tests
328. Step 3: Prime mass testing
329. Step 4: Implement skeleton
330. Step 5: Testing our first implementation
331. Implementation observation
332. Changing the implementation
333. Regression test
334. Systematic error debugging
335. Error correction in detail
336. Parameterized tests
337. CSV parameter testing
338. CSV parameter testing results
339. CSV parameter file based testing
340. Available comparison methods
341. Caution comparing float / double !!
342. Weird arithmetics?
343. Limited representation precision
344. Solving the issue
345. The @Test annotation
346. The Assertions class
347. Importing dependencies
348. Dependency archive content
349. Value vs. reference type variables
350. Different behaviour!
351. Value variable Details
352. Reference variable Details
353. Only «call-by-value» in Java
354. «call-by-value» details
355. «call-by-reference» for objects?
356. «call-by-reference» details
357. No «call-by-reference» in Java™!
358. No «call-by-reference» details
359. C++ reference operator &
360. C++ offers «call-by-reference» by virtue of &
361. C++ «call-by-reference» details
362. Method calling
363. Three variable scopes
364. Scope lifetimes
365. Two runtime memory categories
366. Stack: Four operations
367. Example: Storing integer values
368. Method calling
369. Call stack trace
370. IDE debugger
371. Motivation
372. Weekly offered lectures
373. Weekly offered lectures by simple numbers
374. Weekdays int representation
375. Weekly offered lectures using constants
376. Converting index values to day names
377. Providing lecture info
378. Sample lectures
379. Pitfall #1 of 2: Bogus day index value
380. Pitfall #2 of 2: Method argument order mismatch
381. Enumeration by class instances
382. Class instance per enumeration value
383. switch no longer works
384. Re-writing getPrice()
385. Pitfall: Creating an undesired instance
386. Define a private Day constructor
387. Preventing undesired Day instance creation
388. Adding a day name attribute
389. enum Day replacing public class Day
390. switch statements working again
391. enum constructor being implicitly private
392. From https://www.urbandictionary.com
393. Useful links
394. Initialize git project
395. Configure author related data.
396. Adding resources to project index and staging area
397. Committing change set
398. Project versioning status
399. Adding a comment
400. git diff tracing changes
401. Reverting individual file.
402. Compiling, Math.class and Print.class.
403. Math.class, Print.class and versioning.
404. Show project's log
405. Switch to an older revision ...
406. ... and forth to current master's HEAD
407. Centralized remote repository
408. Step 1: Create remote repository
409. Step 2: Retrieve remote repository address
410. Step 2: Connect to remote repository
411. Step 3: Push local to remote
412. Step 3: Pull remote to local
413. Alternative: Create remote, then clone
414. Conflicting changes
415. Commit schedule
416. User B: git push fails
417. User B: git pull fails as well
418. Merge conflict details
419. Struggling for resolution
420. Merging Print.java manually
421. Commit and push merge
422. Openjdk source code repository
423. Java Visualizer
424. Superclass Object
425. String literals
426. OpenJDK String implementation
427. String copy constructor
428. Copy constructor and heap
429. Operator == and equals()
430. Remarks == vs. equals()
431. Operator == and equals() implications
432. equals() is being defined within respective class!
433. Math.sin(double x)
434. Motivating Arrays
435. Per member repeating tasks
436. Example: int array of primes
437. Loop prime values
438. Mind the limit!
439. Safer: Using length
440. Even better: for-each style loop
441. Mind the limit, part two
442. Primitive data one step initialization
443. Reference data one step initialization
444. Array
445. Two syntax variants
446. Array instances are special!
447. Array creation details
448. Array parameter passing
449. Parameter passing details
450. Value and reference types
451. Arrays.toString(...) and Arrays.sort(...)
452. Arrays.binarySearch(...)
453. Arrays.fill(...)
454. Arrays.copyOfRange(...)
455. Arrays.equals(...)
456. Lack of extendability
457. Extending an array
458. Extension result
459. Using Arrays.copyOf()
460. public static void main(String[] args)
461. Intellij IDEA run configuration
462. Intellij IDEA run configuration
463. Creating executable jar
464. Two-dimensional arrays
465. Behind the scenes
466. Memory allocation
467. Nested array initialization
468. Nested »ragged« array initialization
469. Two Tic-tac-toe players fighting each other.
470. Two Tic-tac-toe players fighting each other.
471. Guess who's inheriting the money
472. Biology and inheritance
473. Duplicate code
474. Idea: Centralize common code
475. Common and specific properties
476. Basic shape inheritance
477. Inheritance
478. Implementing Shape hierarchy
479. Creating instances
480. Shape constructor
481. Creating Rectangle instances
482. Rectangle constructor
483. Shape.equals()
484. Rectangle.equals()
485. Printing a Shape's info
486. Overwriting toString()
487. Shape extending Object
488. Logging Rectangle instances
489. Override toString() in class Rectangle.
490. Rectangle extending Shape
491. Implementing Circle.toString()
492. Shape and toString()
493. Moving Shape instances
494. Implementing Shape movements
495. Fools are everywhere!
496. Solution: final prevents overriding
497. Calculating a shape's area
498. Desired: Polymorphic getArea() call
499. Problems:
500. abstract method getArea()
501. abstract method getArea()
502. What's a shape anyway?
503. No instances of abstract classes.
504. Mandatory getArea() implementation.
505. Facts about abstract fields, methods and classes.
506. Moving shapes
507. protected access
508. final classes
509. final classes rationale
510. Defeating polymorphism
511. Defining equals(...): Expectations
512. Defining equals(...) of Shape instances
513. Comparing center coordinates
514. Implementing Rectangle.equals()
515. Implementing Circle.equals()
516. Testing equality of Shape objects
517. Overriding Object.toString()
518. @Override: Easy compile time error detection
519. Meta info of an instance
520. Getting instance meta info
521. Implementing getArea()
522. Polymorphic getArea() call
523. Runtime polymorphic dispatch
524. Compile- and runtime errors
525. NullPointerException (NPE for short)
526. NullPointerException is a class
527. Throwing an exception
528. Catching an exception by try {...} catch {...}
529. try {...} catch {...} syntax
530. Checked and unchecked exceptions
531. Checked and unchecked exceptions
532. Expected exceptions in Junit
533. Just finally, no catch
534. try-with-resources (Java™ 7)
535. Scanner implementing AutoCloseable
536. No close() method in e.g. class String
537. Method printStackTrace()
538. Ascending inheritance ordering
539. Wrong ordering
540. Implementing convert
541. Problem: Silent errors
542. Step 1: Find exception base class
543. Step 2: Derive CardinalException
544. Step 3: Throwing CardinalException
545. Step 4: Unit test throwing CardinalException
546. Stack of integer values
547. Java™ collection features
548. Behind the scenes
549. Boxing and unboxing
550. Boxing syntax comparison
551. Parsing Integer user input
552. Parsing binary representation
553. Standard parse methods
554. Excerpt from java.util.Locale
555. Locale properties
556. Get a NumberFormat instance
557. Create a custom formatter
558. Polymorphic number parsing
559. Limited float precision
560. Limited double precision
561. Using BigDecimal
562. Chaining BigDecimal operations
563. BigDecimal features
564. Using static double random​()
565. Seeding a pseudo random generator
566. Interface examples
567. Observations
568. Writing strings to file
569. Using Text2File
570. Possible Text2File errors:
571. Employ try-with-resources
572. interface syntax
573. The AutoCloseable promise
574. abstract class replacement
575. interface vs. abstract class
576. interface MyAutoCloseable
577. Extending MyAutoCloseable to flush
578. Using MyFlushable
579. Inheritance hierarchy
580. Upcoming topics
581. Interfaces implemented by class String
582. The Comparable interface
583. class String and Comparable
584. Comparison examples
585. Ascending and descending names
586. API requirements
587. Sorting strings alphabetically
588. Situation dependent sorting criteria
589. Implementing flexible sorting
590. Comparator in action
591. Case insensitive sort
592. Sort descending by lambda expression
593. What's the use of hashing anyway?
594. Account hierarchy
595. Students and lecturers
596. An array of strings
597. An associative array describing month lengths
598. Grouping towns by country names
599. Collaborative efforts
600. Project rules
601. Internal code documentation
602. Internal code documentation hints
603. Javadoc™ mismatches
604. (Automated) tests
605. Deployment and execution
606. Marking criteria
607. Sample forecast session
608. Sample forecast invocation
609. Underlying data provider
610. cities.list.json.gz providing cities
611. ma/Copy URL result to file
612. Parse city data
613. Parse weather data
614. Requirements
615. Logging
616. Minimalist token scanner
617. Scanner output -1.34 0.34 + sqrt
618. Adding error detection
619. Error message
620. Running the currency converter terminal application.
621. Exam training by Guacamole
622. Environment hints:
623. Preparing an examination
624. Generating Javadoc™.
625. Programming hints
626. The implement - test - implement cycle
627. Finishing the exam
628. Personal examination cheat sheets
629. Unit tests in examinations
630. Example interface definition
631. Corresponding test
632. Don't cheat!
633. Unit tests strategy in examinations
634. Steps creating a new project
635. Creating a project at MI gitlab
636. Cloning a git project
637. Enter project folder, add Readme.md
638. Committing change set
639. Push to upstream repository
640. Inserting a Maven project
641. git status 1
642. Adding Maven files to repository
643. git status 2
644. Commit Maven project files
645. git status 3
646. Push to upstream again
647. Reverting changes
648. Pull changes from upstream
649. Maven: Recommended reading
650. What is Maven anyway?
651. Maven: Facts and benefits
652. Convention Over Configuration
653. Maven project layout
654. The project object model file
655. pom.xml characteristics
656. pom.xml vs. Makefile
657. «Hello, world» pom.xml
658. Executing «compile» phase
659. Examining the Java™ version culprit
660. Resolving encoding / Java™ version issues
661. POM inheritance
662. The Super POM
663. pom-4.0.0.xml content
664. Favour https in ~/.m2/settings.xml
665. Resolving to effective pom.xml
666. Plugin architecture
667. Sample plugins
668. Example: The maven-javadoc-plugin
669. Adding test capabilities
670. Dependency listing
671. Absence of hamcrest in pom.xml
672. ~/.m2/repository/junit/junit/4.12/junit-4.12.pom
673. Transitive dependencies
674. Oblivious to test implementation: TestNG
675. Phases
676. Maven lifecyles and phases
677. hooking into phase
678. Why XML based publishing?
679. XML features
680. Editors, compositors, designers ...
681. Promises in publishing
682. Publishing reality
683. Single source publishing
684. Separating Structure, content and format
685. Separating concerns
686. Content
687. Hierarchical structure
688. Hierarchical structure, XML source
689. Presentation
690. Example 1: HTML 5, pure structure
691. Example 2: TeX / LaTeX
692. Separating structure and presentation(s)
693. Sample technical document
694. Observations
695. Pros and cons of TeX / LaTeX
696. Tools of the trade
697. Inline formatting
698. Paragraphs
699. Lists
700. Tables
701. Images
702. Mathematical formulas
703. Cross references
704. Document sectioning
705. Modular document components
706. What is Docbook?
707. Authoring and publishing
708. Document representation
709. Software centric schema
710. Document targets
711. Docbook components
712. Target format overview
713. Tooling / Software
714. Different schema languages
715. Plain HTML
716. Web help
717. Eclipse help
718. Printed output
719. Paragraph
720. Itemized list
721. Ordered list
722. Glossary list
723. Nested lists
724. Reference
725. A table
726. A MathML equation
727. A TeX equation
728. Reference
729. Figure
730. Image map + calloutlist
731. Video
732. A warning
733. Reference
734. Recursive sections
735. Non-recursive sections
736. Two different link flavours
737. Choosing a top level element
738. Allowed 5.1 top level elements
739. Schematron on top of RelaxNG
740. Example: xml:id and permalink
741. Using Display #Anchors
742. Considerations author based permalink
743. Schematron permalink rule
744. HTML customization overview
745. Target specific configuration
746. Link stability
747. use.id.as.filename = 1
748. Parameter: use.id.as.filename
749. Customization parameter ulink.target
750. callout.unicode / callout.graphics
751. Links
752. Hooking into XSL
753. Categories
754. Example: videos
755. Links
756. Customize by CSS
757. Example CSS modifications
758. Styling the editor
759. Motivating modular documents
760. Monolithic document problems
761. Document decomposition
762. A monolithic document
763. Decomposing documents
764. XML grammar defining languages
765. Address list schema
766. Format conversion problem
767. XSL template rules
768. Example: Formatting <title> elements
769. Basic FO introduction
770. XMLMind Editor
771. Oxygenxml Author
772. Vendor links
773. Inverse editing
774. Document representation
775. Components
776. BibTeX
777. Makeindex example
778. Makeindex work flow
779. Extension example: MusiXTeX
780. Flavours
781. Components
782. Editors
783. reveal.js authoring tools: Principle
784. reveal.js features #1 of 3
785. reveal.js features #2 of 3
786. reveal.js features #3 of 3
787. reveal.js observations
788. Authoring tool project goals
789. Principle
790. Required / to be acquired skills
791. Principle
792. Codingbat: Desired features
793. Desired features
794. CRUD operation
795. Query
796. Schema
797. Procedures / triggers
798. Transactions / recovery
799. Data access control
800. API support
801. Installing Docker
802. Why LDAP?
803. LDAP introduction
804. Running a Docker container
805. Using docker-compose
806. Installing Apache Directory Studio
807. Administrator access to your DIT
808. Administrator access to your server's data tree
809. Administrator access to your server's configuration
810. Terminology
811. Adding an entry
812. Adding a new attribute
813. Replacing an attribute value
814. Deleting an attribute entirely
815. Multi valued attributes
816. Set semantics of multivalued attributes
817. Deleting selected attribute values
818. Query scope
819. Query filter
820. Schema support
821. Implementations
822. Implementations
823. Exercises
824. Why MongoDB?
825. Running a Docker container
826. Using docker-compose
827. Manual user creation
828. Log in as user explorer
829. Using IntelliJ
830. Idea show all databases
831. Terminology / Hierarchy
832. Adding a document
833. Updating attributes
834. Deleting a document
835. Deleting multiple documents
836. Multi valued attributes
837. Set semantics of multivalued attributes
838. Deleting selected attribute values
839. Deleting an attribute
840. Query filter
841. Schema validation support
842. Violating required field
843. Schema types
844. Enforcing unique keys
845. On the downside
846. Implementations
847. Implementations
848. Sharding rationale
849. Sharding rationale
850. Exercises
851. Prerequisite knowledge
852. Persistence [Bauer2015]
853. Java™ transient instances
854. RDBMS persistent records
855. Persisting transient User instances
856. Observations
857. Networking between clients and database server
858. JDBC™ features
859. JDBC™ in a three-tier application
860. JDBC™ connecting application server and database.
861. JDBC™ connection parameter
862. Components of a JDBC™ URL
863. IETF Uniform Resource Identifier
864. URL examples
865. Sub protocol examples
866. No standard port assignments ...
867. ... but Postgresql made it into Linux
868. JDBC™ architecture
869. DriverManager: Bootstrapping connections
870. Example: Mysql connection implementation
871. Driver libraries
872. Driver libraries by Maven
873. Driver unavailable
874. Connection interface
875. Statement interface
876. JDBC™ instances and relationships.
877. Important Connection methods
878. Important Statement methods
879. JDBC™ and threading.
880. JDBC™ connection pooling
881. pom.xml driver runtime scope
882. Person table
883. Objective: insert person record
884. JDBC™ backed data insert
885. Result
886. Two JDBC™ configurations
887. Figure 884, “JDBC™ backed data insert ” deficiencies
888. Why properties?
889. message.properties string externalization
890. Properties code sketch
891. Intellij IDEA settings, preconditions
892. Database related unit test phases
893. Implementing unit tests
894. Spring is your friend
895. Project layout
896. Closing connections
897. Employ AutoCloseable
898. Sniffing a JDBC™ connection by an intruder.
899. Setting up Wireshark
900. Capturing results
901. Mysql™ security
902. Mysql™ security
903. Assembling SQL
904. SQL injection principle
905. Preventing traffic tickets
906. Trouble at school
907. SQL injection impact
908. SQL injection relevance, [Clarke2009]
909. Handling injection attacks, part 1
910. Handling injection attacks, part 2
911. Input filtering
912. Validating user input prior to dynamically composing SQL statements.
913. Error message being presented to the user.
914. SQL statements in Java™ applications get parsed at the database server
915. Two questions
916. Addressing performance
917. Addressing performance mitigation
918. Restating the SQL injection problem
919. Solution: Use java.sql.PreparedStatement
920. PreparedStatement principle.
921. Three phases using parameterized queries
922. PreparedStatement example
923. Injection attempt example
924. Limitation: No dynamic table support!
925. JDBC™ read and write
926. Server / client object's life cycle
927. JDBC™ record container
928. Reading data from a database server.
929. Names and birth dates of friends
930. Accessing friend's database records
931. Important ResultSet states
932. JDBC™ to Java™ type conversions
933. Java™ to JDBC™ type conversions
934. Error prone type accessors!
935. Polymorphic accessor
936. Access by column name
937. Access by column index
938. Problem: null value ambiguity
939. Resolving null value ambiguity
940. Problem: Dynamic driver configuration
941. Shim driver (facade)
942. Users and groups
943. Isolation level
944. JDBC™ Isolation level
945. Setting the isolation level
946. Reasons for using Maven
947. Transitive dependencies
948. A basic persistence.xml JPA configuration file.
949. JPA persistence provider
950. Mapping hibintro.v1.model.User instances to a database.
951. A basic User class.
952. Mapping properties to attributes.
953. Annotating integrity constraints
954. Database schema mapping instances of hibintro.v1.model.User.
955. Loading a single object by a primary key value.
956. Retrieving hibintro.v1.model.User instances by HQL.
957. Business rules for projects
958. Persistence related object states
959. Introducing inheritance mapping
960. Modelling payment.
961. A single relation mapping.
962. Mapping the inheritance hierarchy.
963. Inserting payment information
964. Figure subclasses
965. Joined subclass mapping.
966. Implementing Object.equals(Object) by natural keys
967. JPA caches.
968. Common project steps #1/3
969. Common project steps #2/3
970. Common project steps #3/3
971. UNIX grep sample
972. Database grep requirements
973. Connection profile handling
974. Search level specification
975. Property based searches
976. Documentation content
977. Code structure
978. The env.template file
979. Online documentation samples
980. Create and publish a Hetzner account
981. Your cloud project
982. Server creation prerequisite: A Firewall
983. Your first server
984. Server access by ssh
985. No ssh password based login
986. Server access by web gui
987. Current server security flaws
988. Safety considerations
989. ssh-keygen for elliptic key creation
990. An elliptic ssh public / private key pair
991. Result of ssh-keygen execution (client side)
992. Transfer public key from client to server
993. Cleaning up!
994. Tedious: Passphrase required for each remote login
995. Solving the passphrase issue
996. Behind the scenes: How does it work?
997. Intermediate host hopping
998. Intermediate host hopping fails
999. Intermediate host hopping options
1000. Enable ssh agent forwarding
1001. Forwarding port 80 to 2000 at localhost
1002. Frequent use e.g. connecting to remote database server
1003. X11 browser application forwarding
1004. Network file copy using scp
1005. Network file copy using rsync and ssh.
1006. Shell / Bash
1007. Choosing a text editor
1008. Secure Shell
1009. Working with files
1010. Network
1011. Processes handling
1012. Suggested readings:
1013. .deb packages
1014. The dpkg command
1015. The apt command
1016. Rationale using PPA's
1017. What's it all about?
1018. Terraform resources
1019. Creating databases
1020. Creating cloud resources
1021. Getting started: The Hetzner API token
1022. Minimal Terraform configuration
1023. Terraform init
1024. Terraform plan
1025. Terraform apply
1026. A word on storing secrets
1027. Credentials by E-Mail
1028. Problems: 😟
1029. ssh access, firewall
1030. ssh access, public key
1031. Apply ssh key access
1032. Output data details #1/2
1033. Output data details #2/2
1034. Problem 2: VCS and visible provider API token 😱
1035. Solution by variable
1036. Solution by file
1037. Introduction and reference
1038. In a nutshell
1039. Configuration options
1040. Bash DIY
1041. Terraform interface to Cloud Init
1042. Using template files
1043. cloud-init file validation
1044. Yaml syntax quirk 1: Missing indentation
1045. Yaml missing indentation resolution
1046. Yaml syntax quirk 2: Wrong indentation
1047. Solving Yaml quirks using yamlencode / JSON
1048. Cloud-init configuration file validation
1049. Watch out for your enemies!
1050. Problem: Duplicate known_hosts entry on re-creating server
1051. Solution: Generating known_hosts ...
1052. ... and ssh wrapper
1053. Failsafe console login
1054. Avoiding Yaml parsing issues
1055. Terraform module Documentation
1056. Example: Creating a JSON host meta data file
1057. Parent module / sub module layout
1058. Parent module implementation
1059. Sub module implementation
1060. Sub module, JSON template file Tpl/hostdata.json and result
1061. Parent module vs. sub module context
1062. A volume: The easy way
1063. Unix mount
1064. Volume details
1065. Providing a mount point's name
1066. De-coupling server and volume creation
1067. Loop documentation
1068. Using count
1069. Subdomain per group
1070. Key file location
1071. Querying DNS by zone transfer
1072. Creating an »A« record with TTL=10
1073. Modify by delete/create
1074. Mind record caching
1075. Bind server ns1.hdm-stuttgart.cloud
1076. DNS provider
1077. DNS provider configuration
1078. Defining an A record
1079. Understanding web certificates
1080. Certificate trust level
1081. Certificates by Terraform
1082. dns_challenge provider
1083. rfc2136 provider configuration
1084. Bind server log file
1085. Private subnet overview
1086. Terraform network and subnetwork creation
1087. Gateway: External and internal interface
1088. intern host
1089. Lack of internet access
1090. Possible solutions
1091. http proxy apt-cacher-ng
1092. Cloud-init problem
1093. Service ready query script
1094. Terraform service ready dependency hook
1095. Documentation links
1096. DNS query commands
1097. DNS forward lookup
1098. Display A-record result only
1099. Important record types
1100. Name Servers: Query type NS
1101. Recommended readings
1102. Openldap server documentation
1103. What is LDAP anyway?
1104. LDAP Server cli bind
1105. Document Information Tree (DIT)
1106. Relative and absolute DNs
1107. User example
1108. objectClass
1109. objectClass clarifications
1110. Augmenting inetOrgPerson by posixAccount
1111. Structural objectClass definitions
1112. Search scopes
1113. Predicate based queries
1114. LDAP bind types
1115. LDIF exchange format
1116. LDIF sample
1117. OpenLdap server architecture
1118. An example LDAP Tree
1119. External documentation
1120. URI to filesystem mapping
1121. Virtual hosting
1122. Implementing virtual hosting
1123. IP based virtual hosting
1124. IP based, pros / cons
1125. Name based virtual hosting
1126. Name based, pros / cons
1127. LDAP backed authentication
1128. PHP FPM server
1129. File services
1130. Customer demands
1131. Driving factors
1132. Selected cloud file services
1133. Selected self hosting products
1134. Nextcloud features
1135. Lightning integration
1136. Installation
1137. Docker hub
1138. Search images
1139. Pull image using CLI
1140. Pull Nextcloud image
1141. Nextcloud based on Alpine
1142. Inspect image
1143. Search an image's tags
1144. Nextcloud image by version
1145. List images by CLI
1146. Nextcloud latest image
1147. Duplicate Nextcloud images
1148. Maven ringing a bell?
1149. Un tag image by version
1150. Remove image by version
1151. Starting Nextcloud container
1152. List running containers
1153. Enter running container
1154. Remove container
1155. List volumes
1156. List orphaned volumes
1157. Remove volumes
1158. Technical features
1159. Documentation tool chain proposal