Lecture notes
| Hosted at: |
|
||
|---|---|---|---|
| Available formats: |
|
||
Source code provided at https://gitlab.mi.hdm-stuttgart.de/goik/GoikLectures |
|||
| Published under the terms of the Creative Commons Attribution 4.0 International Public License. | |||
Table of Contents
- Preface
- 113105 Software development 1
-
- Getting started
- Language Fundamentals
- Statements
- Arrays
- Objects and Classes
- Core Classes
- Inheritance
- Error Handling
- Working with Numbers
- Advanced topics
- Appendix
- List of software development 1 lecture exercises
- 113492 Technical Documentation
- 113473 Database and application development
-
- Database features
- Selected database products overview
- JDBC: Accessing Relational Data
- JPA
- Project ideas
- List of Database and application development lecture exercises
- 113475 Software defined Infrastructure
- Common topics
- 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.classexecution - 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
intliteral 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.
floatanddouble - 93. Four ways representing 35
- 94. Choose your output representation
- 95. Know your limits!
- 96. Literal examples
- 97.
intliterals - 98. Just kidding ...
- 99. Strange things I
- 100. Strange things II
- 101. Limited floating point arithmetic precision
- 102. Nearest
floatto 0.1F - 103.
FloatConverter - 104. Integer division: Take care!
- 105. Widening from
bytetoshort - 106. Narrowing from
intliteral tocharvariable - 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.
intexpression 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.
ifsyntax - 151.
if...else - 152.
if ... elsesyntax - 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 ... elsesyntax - 158. User input recipe
- 159. Using a
Scannerclass collecting user input. - 160. Converting numbers to day's names
- 161. Numbers to day's names: The hard way
- 162. Better: Using
switch - 163.
switchSyntax - 164. Switching on strings
- 165.
switchexpressions - 166. Assigning
switchexpressions - 167. Allowed types for
switchstatements - 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
whileloop - 176. Combining increment and termination condition
- 177.
whilesyntax - 178. Empty
whilebody - 179. A
do ... whileloop - 180.
do ... whilevs.while - 181.
do ... whilesyntax - 182. Frequent usage of
while - 183. Replacing
while(...) byfor(...;...;...) - 184.
forsyntax - 185.
forvariable scope - 186.
forvariable scope equivalence - 187.
forvs. while relationship - 188. Nested loops 1
- 189. Nested loops 2
- 190. Better readability:
rowandcolumnin favour ofiandj - 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:
intarray 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
staticmodifier 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
newoperator: 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.
privatemodifier 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.
Employeeexample package hierarchy - 284.
Circleand variable scopes - 285.
Documenting classes and methods - 286.
Generated Javadoc - 287.
Refactoring «r» ⇒ «radius» - 288.
Scope assignment problem - 289.
thisoverriding 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
- 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.xmlcontent 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
@Testannotation - 375. The
Assertionsclass - 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
intargument - 398. One, two or three
intarguments 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(...)andArrays.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
intrepresentation - 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.
switchno longer works - 444. Re-writing
getPrice() - 445. Pitfall: Creating an undesired instance
- 446. Define a
privateDayconstructor - 447. Preventing undesired
Dayinstance creation - 448. Adding a day name attribute
- 449.
enumDayreplacingpublic class Day - 450.
switchstatements working again - 451.
enumconstructor being implicitlyprivate - 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
Shapehierarchy - 471. Creating instances
- 472.
Shapeconstructor - 473. Creating
Rectangleinstances - 474.
Rectangleconstructor - 475.
Shape.equals() - 476.
Rectangle.equals() - 477. Printing a
Shape's info - 478. Overwriting
toString() - 479.
ShapeextendingObject - 480. Logging
Rectangleinstances - 481. Overriding
toString()inRectangle. - 482.
RectangleextendingShape - 483. Implementing
Circle.toString() - 484.
ShapeandtoString() - 485. Moving
Shapeinstances - 486. Implementing
Shapemovements - 487. Fools are everywhere!
- 488. Solution: final prevents overriding
- 489. Calculating a shape's area
- 490. Desired: Polymorphic
getArea()call - 491. Problems:
- 492.
abstractmethodgetArea() - 493.
abstractmethodgetArea() - 494. What's a “shape” anyway?
- 495. No instances of
abstractclasses. - 496. Mandatory
getArea()implementation. - 497. Facts about abstract fields, methods and classes.
- 498. Moving shapes
- 499.
protectedaccess - 500.
finalclasses - 501.
finalclasses rationale - 502. “Defeating” polymorphism
- 503. Defining
equals(...): Expectations - 504. Defining
equals(...)ofShapeinstances - 505. Comparing center coordinates
- 506. Implementing
Rectangle.equals() - 507. Implementing
Circle.equals() - 508. Testing equality of
Shapeobjects - 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.
NullPointerExceptionis 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, nocatch - 528.
try-with-resources(Java™ 7) - 529. Scanner implementing
AutoCloseable - 530. No
close()method in e.g.classString - 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.
Stackof integer values - 541. Java™ collection features
- 542. Behind the scenes
- 543. Boxing and unboxing
- 544. Boxing syntax comparison
- 545. Parsing
Integeruser input - 546. Parsing binary representation
- 547. Standard parse methods
- 548. Excerpt from
java.util.Locale - 549.
Localeproperties - 550. Get a
NumberFormatinstance - 551. Create a custom formatter
- 552. Polymorphic number parsing
- 553. Limited
floatprecision - 554. Limited
doubleprecision - 555. Using
BigDecimal - 556. Chaining
BigDecimaloperations - 557.
BigDecimalfeatures - 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
Text2Fileerrors: - 565. Employ “try-with-resources”
- 566.
interfacesyntax - 567. The
AutoCloseablepromise - 568.
abstractclass replacement - 569.
interfacevs.abstractclass - 570.
interfaceMyAutoCloseable - 571. Extending
MyAutoCloseableto flush - 572. Using
MyFlushable - 573. Inheritance hierarchy
- 574. Upcoming topics
- 575. Interfaces implemented by class
String - 576. The
Comparableinterface - 577. class
StringandComparable - 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.
Comparatorin 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.gzproviding 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.classandPrint.class. - 653.
Math.class,Print.classand 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.javamanually - 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:idand 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
Userinstances - 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.
Connectioninterface - 898.
Statementinterface - 899. JDBC™ instances and relationships.
- 900. Important
Connectionmethods - 901. Important
Statementmethods - 902. JDBC™ and threading.
- 903. JDBC™ connection pooling
- 904.
pom.xmldriver runtime scope - 905.
Persontable - 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.propertiesstring 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.
PreparedStatementprinciple. - 944. Three phases using parameterized queries
- 945.
PreparedStatementexample - 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
ResultSetstates - 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:
nullvalue ambiguity - 962. Resolving
nullvalue 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.xmlJPA configuration file. - 972. JPA persistence provider
- 973. Mapping
hibintro.v1.model.Userinstances to a database. - 974. A basic
Userclass. - 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.Userinstances 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.
.debpackages - 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.templatefile - 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
.envfile - 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_hostsentry 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.jsonand 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_challengeprovider - 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
inetOrgPersonbyposixAccount - 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
List of Tables
