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