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
- Objects and Classes
- Core Classes
- Arrays
- Inheritance
- Error Handling
- Working with Numbers
interfacedefinitions andabstractClasses- Application deployment I
- Reading character streams
- Collections
- Appendix
-
- Examination bonus point projects
- Exercising past examinations
- 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
- Working with git
- Apache Maven
- List of Exercises
- 113492 Technical Documentation
- 113473 Database and application development
-
- Database features
- Selected database products overview
- JDBC: Accessing Relational Data
- JPA
- Project ideas
- List of Exercises
- 113475 Software defined Infrastructure
- Common topics
- 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.classexecution - 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
intliteral 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.
floatanddouble - 95. Four ways representing 35
- 96. Choose your output representation
- 97. Know your limits!
- 98. Literal examples
- 99.
intliterals - 100. Just kidding ...
- 101. Strange things I
- 102. Strange things II
- 103. Limited floating point arithmetic precision
- 104. Nearest
floatto 0.1F - 105.
FloatConverter - 106. Widening from
bytetoshort - 107. Narrowing from
intliteral tocharvariable - 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.
intexpression 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.
ifsyntax - 148.
if...else - 149.
if ... elsesyntax - 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 ... elsesyntax - 155. User input recipe
- 156. Using a
Scannerclass collecting user input. - 157. Converting numbers to day's names
- 158. Numbers to day's names: The hard way
- 159. Better: Using
switch - 160.
switchSyntax - 161. Switching on strings
- 162.
switchexpressions - 163. Assigning
switchexpressions - 164. Allowed types for
switchstatements - 165. Allowed labels
- 166. Why loops?
- 167. Number of repetitions given by user input
- 168. A
whileloop - 169. Combining increment and termination condition
- 170.
whilesyntax - 171. Empty
whilebody - 172. A
do ... whileloop - 173.
do ... whilesyntax - 174. Frequent usage of
while - 175. Replacing
while(...) byfor(...;...;...) - 176.
forsyntax - 177.
forvariable scope - 178.
forvariable scope equivalence - 179.
forvs. while relationship - 180. Nested loops 1
- 181. Nested loops 2
- 182. Better readability:
rowandcolumnin favour ofiandj - 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
staticmodifier 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
newoperator: 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.
privatemodifier 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.
Employeeexample package hierarchy - 256.
Circleand variable scopes - 257.
Documenting classes and methods - 258.
Generated Javadoc - 259.
Refactoring «r» ⇒ «radius» - 260.
Scope assignment problem - 261.
thisoverriding 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
- 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. Execution
- 302. Maven package
- 303. Executing Java™ archive
first-0.9.jar - 304. Maven
javadoc:javadoc - 305. Maven clean
- 306. Intellij IDEA Maven support
- 307. Adding MI Maven server
- 308. New MI archetype project
- 309.
pom.xmlcontent changes - 310. Intellij IDEA generating Javadoc™
- 311. Pascal's triangle representing binomial coefficients.
- 312. An implementation sketch for the exponential
- 313. Comparing exponential and approximation
- 314. Comparing sin(x) and its approximation.
- 315. Recommended reading
- 316. Test categories
- 317. Example: Computing prime numbers
- 318. Unit test principle
- 319. Test driven development
- 320. Steps in Unit Testing
- 321. Step 1 + 2: Specify method, write skeleton
- 322. Execution yet being flawed
- 323. Sample test data
- 324. Step 3: Junit based specification test
- 325. Junit skeleton test result (Maven CLI)
- 326. Junit skeleton test result (IDE)
- 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. CSV parameter testing
- 337. CSV parameter file based testing
- 338. Available comparison methods
- 339. Caution comparing
float/double!! - 340. Weird arithmetics?
- 341. Limited representation precision
- 342. Solving the issue
- 343. The
@Testannotation - 344. The
Assertclass - 345. Importing dependencies
- 346. Dependency archive content
- 347. Value vs. reference type variables
- 348. Different behaviour!
- 349. Value variable Details
- 350. Reference variable Details
- 351. Only «call-by-value» in Java™
- 352. «call-by-value» details
- 353. «call-by-reference» for objects?
- 354. «call-by-reference» details
- 355. No «call-by-reference» in Java™!
- 356. No «call-by-reference» details
- 357. C++ reference operator “&”
- 358. C++ offers «call-by-reference» by virtue of “&”
- 359. C++ «call-by-reference» details
- 360. Method calling
- 361. Three variable scopes
- 362. Scope lifetimes
- 363. Two runtime memory categories
- 364. Stack: Four operations
- 365. Example: Storing integer values
- 366. Method calling
- 367. Call stack trace
- 368. IDE debugger
- 369. Motivation
- 370. Weekly offered lectures
- 371. Weekly offered lectures by simple numbers
- 372. Weekdays
intrepresentation - 373. Weekly offered lectures using constants
- 374. Converting index values to day names
- 375. Providing lecture info
- 376. Sample lectures
- 377. Pitfall #1 of 2: Bogus day index value
- 378. Pitfall #2 of 2: Method argument order mismatch
- 379. Enumeration by class instances
- 380. Class instance per enumeration value
- 381.
switchno longer works - 382. Re-writing
getPrice() - 383. Pitfall: Creating an undesired instance
- 384. Define a
privateDayconstructor - 385. Preventing undesired
Dayinstance creation - 386. Adding a day name attribute
- 387.
enumDayreplacingpublic class Day - 388.
switchstatements working again - 389.
enumconstructor being implicitlyprivate - 390. From
https://www.urbandictionary.com - 391. Useful links
- 392. Initialize git project
- 393. Configure author related data.
- 394. Adding resources to project index and staging area
- 395. Committing change set
- 396. Project versioning status
- 397. Adding a comment
- 398. git diff tracing changes
- 399. Reverting individual file.
- 400. Compiling,
Math.classandPrint.class. - 401.
Math.class,Print.classand versioning. - 402. Show project's log
- 403. Switch to an older revision ...
- 404. ... and forth to current master's HEAD
- 405. Centralized remote repository
- 406. Step 1: Create remote repository
- 407. Step 2: Retrieve remote repository address
- 408. Step 2: Connect to remote repository
- 409. Step 3: Push local to remote
- 410. Step 3: Pull remote to local
- 411. Alternative: Create remote, then clone
- 412. Conflicting changes
- 413. Commit schedule
- 414. User B: git push fails
- 415. User B: git pull fails as well
- 416. Merge conflict details
- 417. Struggling for resolution
- 418. Merging
Print.javamanually - 419. Commit and push merge
- 420. Openjdk source code repository
- 421. Java Visualizer
- 422. Superclass
Object - 423. String literals
- 424. OpenJDK String implementation
- 425. String copy constructor
- 426. Copy constructor and heap
- 427. Operator == and
equals() - 428. Remarks
==vs.equals() - 429. Operator == and
equals()implications - 430.
equals()is being defined within respective class! - 431.
Math.sin(double x) - 432. Motivating Arrays
- 433. Per member repeating tasks
- 434. Example:
intarray of primes - 435. Loop prime values
- 436. Mind the limit!
- 437. Safer: Using
length - 438. Even better: “for-each” style loop
- 439. Mind the limit, part two
- 440. Primitive data one step initialization
- 441. Reference data one step initialization
- 442. Array
- 443. Two syntax variants
- 444. Array instances are special!
- 445. Array creation details
- 446. Array parameter passing
- 447. Parameter passing details
- 448. Value and reference types
- 449.
Arrays.toString(...)andArrays.sort(...) - 450.
Arrays.binarySearch(...) - 451.
Arrays.fill(...) - 452.
Arrays.copyOfRange(...) - 453.
Arrays.equals(...) - 454. Lack of extendability
- 455. Extending an array
- 456. Extension result
- 457. Using
Arrays.copyOf() - 458.
public static void main(String[] args) - 459. Intellij IDEA run configuration
- 460. Intellij IDEA run configuration
- 461.
Creating executable jar - 462.
Two-dimensional arrays - 463.
Behind the scenes - 464.
Memory allocation - 465.
Static array initialization - 466.
Static array initialization, variable lengths - 467. Two Tic-tac-toe players fighting each other.
- 468. Two Tic-tac-toe players fighting each other.
- 469. Guess who's inheriting the money
- 470. Biology and inheritance
- 471. Duplicate code
- 472. Idea: Centralize common code
- 473. Common and specific properties
- 474. Basic shape inheritance
- 475. Inheritance
- 476. Implementing
Shapehierarchy - 477. Creating instances
- 478.
Shapeconstructor - 479. Creating
Rectangleinstances - 480.
Rectangleconstructor - 481.
Shape.equals() - 482.
Rectangle.equals() - 483. Printing a
Shape's info - 484. Overwriting
toString() - 485.
ShapeextendingObject - 486. Logging
Rectangleinstances - 487. Override
toString()in classRectangle. - 488.
RectangleextendingShape - 489. Implementing
Circle.toString() - 490.
ShapeandtoString() - 491. Moving
Shapeinstances - 492. Implementing
Shapemovements - 493. Fools are everywhere!
- 494. Solution: final prevents overriding
- 495. Calculating a shape's area
- 496. Desired: Polymorphic
getArea()call - 497. Problems:
- 498.
abstractmethodgetArea() - 499.
abstractmethodgetArea() - 500. What's a “shape” anyway?
- 501. No instances of
abstractclasses. - 502. Mandatory
getArea()implementation. - 503. Facts about
abstractfields, methods and classes. - 504. Moving shapes
- 505.
protectedaccess - 506.
finalclasses - 507.
finalclasses rationale - 508. “Defeating” polymorphism
- 509. Defining
equals(...): Expectations - 510. Defining
equals(...)ofShapeinstances - 511. Comparing center coordinates
- 512. Implementing
Rectangle.equals() - 513. Implementing
Circle.equals() - 514. Testing equality of
Shapeobjects - 515. Overriding Object.toString()
- 516. @Override: Easy compile time error detection
- 517. Meta info of an instance
- 518. Getting instance meta info
- 519. Implementing
getArea() - 520. Polymorphic
getArea()call - 521. Runtime polymorphic dispatch
- 522. Compile- and runtime errors
- 523.
NullPointerException(NPE for short) - 524.
NullPointerExceptionis a class - 525. Throwing an exception
- 526. Catching an exception by
try {...} catch {...} - 527.
try {...} catch {...}syntax - 528. Checked and unchecked exceptions
- 529. Checked and unchecked exceptions
- 530. Expected exceptions in Junit
- 531. Just
finally, nocatch - 532.
try-with-resources(Java™ 7) - 533. Scanner implementing
AutoCloseable - 534. No
close()method in e.g.classString - 535. Method
printStackTrace() - 536. Ascending inheritance ordering
- 537. Wrong ordering
- 538. Implementing
convert - 539. Problem: “Silent” errors
- 540. Step 1: Find exception base class
- 541. Step 2: Derive
CardinalException - 542. Step 3: Throwing
CardinalException - 543. Step 4: Unit test throwing
CardinalException - 544.
Stackof integer values - 545. Java™ collection features
- 546. Behind the scenes
- 547. Boxing and unboxing
- 548. Boxing syntax comparison
- 549. Parsing
Integeruser input - 550. Parsing binary representation
- 551. Standard parse methods
- 552. Excerpt from
java.util.Locale - 553.
Localeproperties - 554. Get a
NumberFormatinstance - 555. Create a custom formatter
- 556. Polymorphic number parsing
- 557. Limited
floatprecision - 558. Limited
doubleprecision - 559. Using
BigDecimal - 560. Chaining
BigDecimaloperations - 561.
BigDecimalfeatures - 562. Using
static double random() - 563. Seeding a pseudo random generator
- 564. Interface examples
- 565. Observations
- 566. Writing strings to file
- 567. Using
Text2File - 568. Possible
Text2Fileerrors: - 569. Employ “try-with-resources”
- 570.
interfacesyntax - 571. The
AutoCloseablepromise - 572.
abstractclass replacement - 573.
interfacevs.abstractclass - 574.
interfaceMyAutoCloseable - 575. Extending
MyAutoCloseableto flush - 576. Using
MyFlushable - 577. Inheritance hierarchy
- 578. Upcoming topics
- 579. Interfaces implemented by class
String - 580. The
Comparableinterface - 581. class
StringandComparable - 582. Comparison examples
- 583. Ascending and descending names
- 584. API requirements
- 585. Sorting strings alphabetically
- 586. Situation dependent sorting criteria
- 587. Implementing flexible sorting
- 588.
Comparatorin action - 589.
Case insensitive sort - 590.
Sort descending by lambda expression - 591. What's the use of hashing anyway?
- 592. Account hierarchy
- 593. Students and lecturers
- 594. An array of strings
- 595. An associative array describing month lengths
- 596. Grouping towns by country names
- 597. Collaborative efforts
- 598. Project rules
- 599. Internal code documentation
- 600. Internal code documentation hints
- 601. Javadoc™ mismatches
- 602. (Automated) tests
- 603. Deployment and execution
- 604. Marking criteria
- 605. Sample forecast session
- 606. Sample forecast invocation
- 607. Underlying data provider
- 608.
cities.list.json.gzproviding cities - 609. ma/Copy URL result to file
- 610. Parse city data
- 611. Parse weather data
- 612. Requirements
- 613. Logging
- 614. Minimalist token scanner
- 615. Scanner output
-1.34 0.34 + sqrt - 616. Adding error detection
- 617. Error message
- 618. Running the currency converter terminal application.
- 619. Exam training by Guacamole
- 620. Environment hints:
- 621. Preparing an examination
- 622. Generating Javadoc™.
- 623. Programming hints
- 624. The implement - test - implement cycle
- 625. Finishing the exam
- 626. Personal examination cheat sheets
- 627. Unit tests in examinations
- 628. Example interface definition
- 629. Corresponding test
- 630. Don't cheat!
- 631. Unit tests strategy in examinations
- 632. Steps creating a new project
- 633. Creating a project at MI gitlab
- 634. Cloning a git project
- 635. Enter project folder, add
Readme.md - 636. Committing change set
- 637. Push to upstream repository
- 638. Inserting a Maven project
- 639. git status 1
- 640. Adding Maven files to repository
- 641. git status 2
- 642. Commit Maven project files
- 643. git status 3
- 644. Push to upstream again
- 645. Reverting changes
- 646. Pull changes from upstream
- 647. Maven: Recommended reading
- 648. What is Maven anyway?
- 649. Maven: Facts and benefits
- 650. Convention Over Configuration
- 651. Maven project layout
- 652. The project object model file
- 653. pom.xml characteristics
- 654. pom.xml vs. Makefile
- 655. «Hello, world» pom.xml
- 656. Executing «compile» phase
- 657. Examining the Java™ version culprit
- 658. Resolving encoding / Java™ version issues
- 659. POM inheritance
- 660. The Super POM
- 661. pom-4.0.0.xml content
- 662. Favour https in
~/.m2/settings.xml - 663. Resolving to effective pom.xml
- 664. Plugin architecture
- 665. Sample plugins
- 666. Example: The
maven-javadoc-plugin - 667. Adding test capabilities
- 668. Dependency listing
- 669. Absence of hamcrest in
pom.xml - 670.
~/.m2/repository/junit/junit/4.12/junit-4.12.pom - 671. Transitive dependencies
- 672. Oblivious to test implementation: TestNG
- 673. Phases
- 674. Maven lifecyles and phases
- 675. hooking into phase
- 676. Why XML based publishing?
- 677. XML features
- 678. Editors, compositors, designers ...
- 679. Promises in publishing
- 680. Publishing reality
- 681. Single source publishing
- 682. Separating Structure, content and format
- 683. Separating concerns
- 684. Content
- 685. Hierarchical structure
- 686. Hierarchical structure, XML source
- 687. Presentation
- 688. Example 1: HTML 5, pure structure
- 689. Example 2: TeX / LaTeX
- 690. Separating structure and presentation(s)
- 691. Sample technical document
- 692. Observations
- 693. Pros and cons of TeX / LaTeX
- 694. Tools of the trade
- 695. Inline formatting
- 696. Paragraphs
- 697. Lists
- 698. Tables
- 699. Images
- 700. Mathematical formulas
- 701. Cross references
- 702. Document sectioning
- 703. Modular document components
- 704. What is Docbook?
- 705. Authoring and publishing
- 706. Document representation
- 707. Software centric schema
- 708. Document targets
- 709. Docbook components
- 710. Target format overview
- 711. Tooling / Software
- 712. Different schema languages
- 713. Plain HTML
- 714. Web help
- 715. Eclipse help
- 716. Printed output
- 717. Paragraph
- 718. Itemized list
- 719. Ordered list
- 720. Glossary list
- 721. Nested lists
- 722. Reference
- 723. A table
- 724. A MathML equation
- 725. A TeX equation
- 726. Reference
- 727. Figure
- 728. Image map + calloutlist
- 729. Video
- 730. A warning
- 731. Reference
- 732. Recursive sections
- 733. Non-recursive sections
- 734. Two different link flavours
- 735. Choosing a top level element
- 736. Allowed 5.1 top level elements
- 737. Schematron on top of RelaxNG
- 738. Example:
xml:idand permalink - 739. Using Display #Anchors
- 740. Considerations author based permalink
- 741. Schematron permalink rule
- 742. HTML customization overview
- 743. Target specific configuration
- 744. Link stability
- 745.
use.id.as.filename = 1 - 746. Parameter: use.id.as.filename
- 747. Customization parameter ulink.target
- 748.
callout.unicode/callout.graphics - 749. Links
- 750. Hooking into XSL
- 751. Categories
- 752. Example: videos
- 753. Links
- 754. Customize by CSS
- 755. Example CSS modifications
- 756. Styling the editor
- 757. Motivating modular documents
- 758. Monolithic document problems
- 759. Document decomposition
- 760. A monolithic document
- 761. Decomposing documents
- 762. XML grammar defining languages
- 763. Address list schema
- 764. Format conversion problem
- 765. XSL template rules
- 766. Example: Formatting
<title>elements - 767. Basic FO introduction
- 768. XMLMind Editor
- 769. Oxygenxml Author
- 770. Vendor links
- 771. Inverse editing
- 772. Document representation
- 773. Components
- 774. BibTeX
- 775. Makeindex example
- 776. Makeindex work flow
- 777. Extension example: MusiXTeX
- 778. Flavours
- 779. Components
- 780. Editors
- 781. reveal.js authoring tools: Principle
- 782. reveal.js features #1 of 3
- 783. reveal.js features #2 of 3
- 784. reveal.js features #3 of 3
- 785. reveal.js observations
- 786. Authoring tool project goals
- 787. Principle
- 788. Required / to be acquired skills
- 789. Principle
- 790. Codingbat: Desired features
- 791. Desired features
- 792. CRUD operation
- 793. Query
- 794. Schema
- 795. Procedures / triggers
- 796. Transactions / recovery
- 797. Data access control
- 798. API support
- 799. Installing Docker
- 800. Why LDAP?
- 801. LDAP introduction
- 802. Running a Docker container
- 803. Using docker-compose
- 804. Installing Apache Directory Studio
- 805. Administrator access to your DIT
- 806. Administrator access to your server's data tree
- 807. Administrator access to your server's configuration
- 808. Terminology
- 809. Adding an entry
- 810. Adding a new attribute
- 811. Replacing an attribute value
- 812. Deleting an attribute entirely
- 813. Multi valued attributes
- 814. Set semantics of multivalued attributes
- 815. Deleting selected attribute values
- 816. Query scope
- 817. Query filter
- 818. Schema support
- 819. Implementations
- 820. Implementations
- 821. Exercises
- 822. Why MongoDB?
- 823. Running a Docker container
- 824. Using docker-compose
- 825. Manual user creation
- 826. Log in as user explorer
- 827. Using IntelliJ
- 828. Idea show all databases
- 829. Terminology / Hierarchy
- 830. Adding a document
- 831. Updating attributes
- 832. Deleting a document
- 833. Deleting multiple documents
- 834. Multi valued attributes
- 835. Set semantics of multivalued attributes
- 836. Deleting selected attribute values
- 837. Deleting an attribute
- 838. Query filter
- 839. Schema validation support
- 840. Violating required field
- 841. Schema types
- 842. Enforcing unique keys
- 843. On the downside
- 844. Implementations
- 845. Implementations
- 846. Sharding rationale
- 847. Sharding rationale
- 848. Exercises
- 849. Prerequisite knowledge
- 850. Persistence [Bauer2015]
- 851. Java™ transient instances
- 852. RDBMS persistent records
- 853. Persisting transient
Userinstances - 854. Observations
- 855. Networking between clients and database server
- 856. JDBC™ features
- 857. JDBC™ in a three-tier application
- 858. JDBC™ connecting application server and database.
- 859. JDBC™ connection parameter
- 860. Components of a JDBC™ URL
- 861. IETF Uniform Resource Identifier
- 862. URL examples
- 863. Sub protocol examples
- 864. No standard port assignments ...
- 865. ... but Postgresql made it into Linux
- 866. JDBC™ architecture
- 867.
DriverManager: Bootstrapping connections - 868. Example: Mysql connection implementation
- 869. Driver libraries
- 870. Driver libraries by Maven
- 871. Driver unavailable
- 872.
Connectioninterface - 873.
Statementinterface - 874. JDBC™ instances and relationships.
- 875. Important
Connectionmethods - 876. Important
Statementmethods - 877. JDBC™ and threading.
- 878. JDBC™ connection pooling
- 879.
pom.xmldriver runtime scope - 880.
Persontable - 881. Objective: insert person record
- 882. JDBC™ backed data insert
- 883. Result
- 884. Two JDBC™ configurations
- 885. Figure 882, “JDBC™ backed data insert ” deficiencies
- 886. Why properties?
- 887.
message.propertiesstring externalization - 888. Properties code sketch
- 889. Intellij IDEA settings, preconditions
- 890. Database related unit test phases
- 891. Implementing unit tests
- 892. Spring is your friend
- 893. Project layout
- 894. Closing connections
- 895. Employ
AutoCloseable - 896. Sniffing a JDBC™ connection by an intruder.
- 897. Setting up Wireshark
- 898. Capturing results
- 899. Mysql™ security
- 900. Mysql™ security
- 901. Assembling SQL
- 902. SQL injection principle
- 903. Preventing traffic tickets
- 904. Trouble at school
- 905. SQL injection impact
- 906. SQL injection relevance, [Clarke2009]
- 907. Handling injection attacks, part 1
- 908. Handling injection attacks, part 2
- 909. Input filtering
- 910. Validating user input prior to dynamically composing SQL statements.
- 911. Error message being presented to the user.
- 912. SQL statements in Java™ applications get parsed at the database server
- 913. Two questions
- 914. Addressing performance
- 915. Addressing performance mitigation
- 916. Restating the SQL injection problem
- 917. Solution: Use
java.sql.PreparedStatement - 918.
PreparedStatementprinciple. - 919. Three phases using parameterized queries
- 920.
PreparedStatementexample - 921. Injection attempt example
- 922. Limitation: No dynamic table support!
- 923. JDBC™ read and write
- 924. Server / client object's life cycle
- 925. JDBC™ record container
- 926. Reading data from a database server.
- 927. Names and birth dates of friends
- 928. Accessing friend's database records
- 929. Important
ResultSetstates - 930. JDBC™ to Java™ type conversions
- 931. Java™ to JDBC™ type conversions
- 932. Error prone type accessors!
- 933. Polymorphic accessor
- 934. Access by column name
- 935. Access by column index
- 936. Problem:
nullvalue ambiguity - 937. Resolving
nullvalue ambiguity - 938. Problem: Dynamic driver configuration
- 939. Shim driver (facade)
- 940. Users and groups
- 941. Isolation level
- 942. JDBC™ Isolation level
- 943. Setting the isolation level
- 944. Reasons for using Maven
- 945. Transitive dependencies
- 946. A basic
persistence.xmlJPA configuration file. - 947. JPA persistence provider
- 948. Mapping
hibintro.v1.model.Userinstances to a database. - 949. A basic
Userclass. - 950. Mapping properties to attributes.
- 951. Annotating integrity constraints
- 952. Database schema mapping instances of
hibintro.v1.model.User. - 953. Loading a single object by a primary key value.
- 954. Retrieving
hibintro.v1.model.Userinstances by HQL. - 955. Business rules for projects
- 956. Persistence related object states
- 957. Introducing inheritance mapping
- 958. Modelling payment.
- 959. A single relation mapping.
- 960. Mapping the inheritance hierarchy.
- 961. Inserting payment information
- 962. Figure subclasses
- 963. Joined subclass mapping.
- 964. Implementing
Object.equals(Object)by natural keys - 965. JPA caches.
- 966. Common project steps #1/3
- 967. Common project steps #2/3
- 968. Common project steps #3/3
- 969. UNIX grep sample
- 970. Database grep requirements
- 971. Connection profile handling
- 972. Search level specification
- 973. Property based searches
- 974. Documentation content
- 975. Code structure
- 976. The
env.templatefile - 977. Online documentation samples
- 978. Create and publish a Hetzner account
- 979. Your cloud project
- 980. Server creation prerequisite: A Firewall
- 981. Your first server
- 982. Server access by ssh
- 983. No ssh password based login
- 984. Server access by web gui
- 985. Current server security flaws
- 986. Safety considerations
- 987. ssh-keygen for elliptic key creation
- 988. An elliptic ssh public / private key pair
- 989. Result of ssh-keygen execution (client side)
- 990. Transfer public key from client to server
- 991. Cleaning up!
- 992. Tedious: Passphrase required for each remote login
- 993. Solving the passphrase issue
- 994. Behind the scenes: How does it work?
- 995. Intermediate host hopping
- 996. Intermediate host hopping fails
- 997. Intermediate host hopping options
- 998. Enable ssh agent forwarding
- 999. Forwarding port 80 to 2000 at
localhost - 1000. Frequent use e.g. connecting to remote database server
- 1001. X11 browser application forwarding
- 1002. Network file copy using scp
- 1003. Network file copy using rsync and ssh.
- 1004. Shell / Bash
- 1005. Choosing a text editor
- 1006. Secure Shell
- 1007. Working with files
- 1008. Network
- 1009. Processes handling
- 1010. Suggested readings:
- 1011.
.debpackages - 1012. The dpkg command
- 1013. The apt command
- 1014. Rationale using PPA's
- 1015. What's it all about?
- 1016. Terraform resources
- 1017. Creating databases
- 1018. Creating cloud resources
- 1019. Getting started: The Hetzner API token
- 1020. Minimal Terraform configuration
- 1021. Terraform init
- 1022. Terraform plan
- 1023. Terraform apply
- 1024. A word on storing secrets
- 1025. Credentials by E-Mail
- 1026. Problems: 😟
- 1027. ssh access, firewall
- 1028. ssh access, public key
- 1029. Apply ssh key access
- 1030. Output data details #1/2
- 1031. Output data details #2/2
- 1032. Problem 2: VCS and visible provider API token 😱
- 1033. Solution by variable
- 1034. Solution by file
- 1035. Introduction and reference
- 1036. In a nutshell
- 1037. Configuration options
- 1038. Bash DIY
- 1039. Terraform interface to Cloud Init
- 1040. Using template files
- 1041. cloud-init file validation
- 1042. Yaml syntax quirk 1: Missing indentation
- 1043. Yaml missing indentation resolution
- 1044. Yaml syntax quirk 2: Wrong indentation
- 1045. Solving Yaml quirks using yamlencode / JSON
- 1046. Cloud-init configuration file validation
- 1047. Watch out for your enemies!
- 1048. Problem: Duplicate
known_hostsentry on re-creating server - 1049. Solution: Generating
known_hosts... - 1050. ... and ssh wrapper
- 1051. Failsafe console login
- 1052. Avoiding Yaml parsing issues
- 1053. Terraform module Documentation
- 1054. Example: Creating a JSON host meta data file
- 1055. Parent module / sub module layout
- 1056. Parent module implementation
- 1057. Sub module implementation
- 1058. Sub module, JSON template file
Tpl/hostdata.jsonand result - 1059. Parent module vs. sub module context
- 1060. A volume: The easy way
- 1061. Unix mount
- 1062. Volume details
- 1063. Providing a mount point's name
- 1064. De-coupling server and volume creation
- 1065. Subdomain per group
- 1066. Key file location
- 1067. Querying DNS by zone transfer
- 1068. Creating an »A« record with TTL=10
- 1069. Modify by delete/create
- 1070. Mind record caching
- 1071. Loop documentation
- 1072. Using count
- 1073. Bind server
ns1.sdi.hdm-stuttgart.cloud - 1074. DNS provider
- 1075. DNS provider configuration
- 1076. Defining an “A” record
- 1077. Understanding web certificates
- 1078. Certificate trust level
- 1079. Certificates by Terraform
- 1080.
dns_challengeprovider - 1081. rfc2136 provider configuration
- 1082. Bind server log file
- 1083. Private subnet overview
- 1084. Terraform network and subnetwork creation
- 1085. Gateway: External and internal interface
- 1086. intern host
- 1087. Lack of internet access
- 1088. Possible solutions
- 1089. http proxy apt-cacher-ng
- 1090. Cloud-init problem
- 1091. Service ready query script
- 1092. Terraform “service ready” dependency hook
- 1093. Documentation links
- 1094. DNS query commands
- 1095. DNS forward lookup
- 1096. Display A-record result only
- 1097. Important record types
- 1098. Name Servers: Query type
NS - 1099. Recommended readings
- 1100. Openldap server documentation
- 1101. What is LDAP anyway?
- 1102. LDAP Server cli bind
- 1103. Document Information Tree (DIT)
- 1104. Relative and absolute DNs
- 1105. User example
- 1106. objectClass
- 1107. objectClass clarifications
- 1108. Augmenting
inetOrgPersonbyposixAccount - 1109. Structural objectClass definitions
- 1110. Search scopes
- 1111. Predicate based queries
- 1112. LDAP bind types
- 1113. LDIF exchange format
- 1114. LDIF sample
- 1115. OpenLdap server architecture
- 1116. An example LDAP Tree
- 1117. External documentation
- 1118. URI to filesystem mapping
- 1119. Virtual hosting
- 1120. Implementing virtual hosting
- 1121. IP based virtual hosting
- 1122. IP based, pros / cons
- 1123. Name based virtual hosting
- 1124. Name based, pros / cons
- 1125. LDAP backed authentication
- 1126. PHP FPM server
- 1127. File services
- 1128. Customer demands
- 1129. Driving factors
- 1130. Selected cloud file services
- 1131. Selected self hosting products
- 1132. Nextcloud features
- 1133. Lightning integration
- 1134. Installation
- 1135. Docker hub
- 1136. Search images
- 1137. Pull image using CLI
- 1138. Pull Nextcloud image
- 1139. Nextcloud based on Alpine
- 1140. Inspect image
- 1141. Search an image's tags
- 1142. Nextcloud image by version
- 1143. List images by CLI
- 1144. Nextcloud latest image
- 1145. Duplicate Nextcloud images
- 1146. Maven ringing a bell?
- 1147. Un tag image by version
- 1148. Remove image by version
- 1149. Starting Nextcloud container
- 1150. List running containers
- 1151. Enter running container
- 1152. Remove container
- 1153. List volumes
- 1154. List orphaned volumes
- 1155. Remove volumes
- 1156. Technical features
- 1157. Documentation tool chain proposal
List of Tables
