? ??????? monstarillo? ???? Postgres ??????? Java API? ???? ??? ?????. API? ?? ????? ?? Spring Boot? Springdoc? ?????. API? ???? ???? ?? CRUD ??? ?????. API? ?? ?? ???? ?????.
? ????? ???? ??? ?????.
?????? ???????.
Postgres ?????? – Chinhook ??????? ???????. Docker?? Chinhook ?? Postgres ?????? ??
?? ??
Java IDE – InteliJ? ??? ?????
??
? ?? ??? API? ???? ? ??? ???? ???? ????. ??? ??? ??? ?? ???? ?????. ??? ??? ???? java-api ??? ????.
Monstarillo?? ??? ??? ?? ??? ?????
???? ??? ??? ??? ??? ???? ???. Docker? ?? Monstarillo? ???????. Monstarillo? ???? ?? ???? ~/shared-volume ????? ???????. ?????? ???? ??? ?? ??? ??? ~/shared-volume ??? ????. ~/shared-volume/code-gen-output?? ??? ???????. Monstarillo? ??? ??? ? code-gen-output ??? ?????.
templates.json ?? ??
Monstarillo? json ??? ???? ??? ???, ?? ??, ???? ??? ??? ?? ??? ?????. java-api/postgres/templates.json ??? ???????. template.json ??? ??? ??? Monstarillo?? ??? ???, ???? ??? ??, ??? ??? ??? ?????. template.json ??? ?? ??? template ?/?? template.json? ???? ?? "??"? ?????. ?? ?? PackagePath? template.json ???? ?? ? ?????. PackagePath? ?? ????? ???? ??? ???? ?? ? ? ??? ? ????. ???? ????? ?? ???? TemplateRoot ? OutputPath ??? ???? ???.
*TemplateRoot * – ??? ??? ??? ???? java-api ??? ???? ???.
*OutputPath * – ?? ??? Monstarillo? ??? ??? ?? ??? ???? ???. ??? ?? ??? Monstarillo? ??? ?????.
*PackageBase *– ????? ???? ???? ? ?????
*ArtifactId *– ??? POM.xml? ?????
*GroupId * – ??? POM.xml? ?????
*ApplicationClassName * – ??? ??????? ?? ??? ???? ?????
*ModelPropertySurrondString * – ??????? ??? ???? ???? ?????. ?? ? ??? ?? ???? ?? ?????.
?? Monstarillo? docker?? ?? ???? ??? ??? ?? ???????.
{ "tagName": "TemplateRoot", "value": "/usr/local/monstarillo/shared-templates/java-api" }, { "tagName": "OutputPath", "value": "/usr/local/monstarillo/code-gen-output/java-01" }
Monstarillo? ???? ???? ?? ??? ??? ?? ?????.
{ "tagName": "TemplateRoot", "value": "/home/patrick/code/patrick-templates/java-api" }, { "tagName": "OutputPath", "value": "/home/patrick/code-gen-output/java-01" }
Monstarillo? ???? ?? ??
???? Monstarillo? ???? ??? ???? ??? ???????. Monstarillo?? Postgres ??????? ???? ??? ??? ?? ??? ???? ???. ?? ?? ??? template.json ??? ??? ?????? ??? ???? Monstarillo?? ????? ???.
Docker?? Monstarillo? ???? ?? ??? ??? ?????.
docker run --volume=/mnt/c/code:/usr/local/monstarillo \ --network=host \ monstarillo/monstarillo:latest postgres \ --t /usr/local/monstarillo/shared-templates/java-api/postgres/templates.json \ --u postgres \ --p <Your Database Password> \ --db "chinhook-db" \ --host "localhost" \ --schema "public" In this command I am mounting /mnt/c/code to the docker image as /usr/local/monstarillo that is running monstarillo. My shared-templates folder is at /mnt/c/code/shared-templates and will be generating code to /mnt/c/code/code-gen-output/java-01
Monstarillo? ???? ???? ?? ??? ??? ????.
monstarillo postgres \ --t /home/patrick/code/patricks-monstarillo-templates/java-api/templates.json \ --u postgres \ --p <Your Database Password>\ --db "chinhook-db" \ --host "localhost" \ --schema "public"
??? ???? ??? ???? ?????.
Monstarillo? ? ??? ??? ???? ?? ?? ????? ?? ?????. ? ??? ???? ?? ??? ??? ? ????.
??? ?? ??
???? ??? IDE?? ??? ?? ????? ?? ??? ? ? ????.
???? ??? ???? application.properties ??? ???? ?????? ?? ??? ?????? ???. ??? src/main/resources/application.properties?? ?? ? ????
IntelliJ??? IDE?? PersistApi ???? ?? ???????.
? API? ?? ??? ???? ? ????. ?? ????? ???????. http://localhost:8080/album
?? ?? ????? ???? ? ????.?? http://localhost:8080/swagger-ui/index.html? ???? ??? ??? ?? ??? OpenAPI ??? ??? ?? ????.
src/java/com.monstarillo.persist_api?? ??? ?? ???? ?????
??? ???? ??? ?????
? ??? Postgres ??????? Java ? Spring Boot? ???? REST API ??? ?? ?????. ??? ??? PHP ??? ????? ?? ?? ??? ?????!

? AI ??

Undress AI Tool
??? ???? ??

Undresser.AI Undress
???? ?? ??? ??? ?? AI ?? ?

AI Clothes Remover
???? ?? ???? ??? AI ?????.

Clothoff.io
AI ? ???

Video Face Swap
??? ??? AI ?? ?? ??? ???? ?? ???? ??? ?? ????!

?? ??

??? ??

???++7.3.1
???? ?? ?? ?? ???

SublimeText3 ??? ??
??? ??, ???? ?? ????.

???? 13.0.1 ???
??? PHP ?? ?? ??

???? CS6
??? ? ?? ??

SublimeText3 Mac ??
? ??? ?? ?? ?????(SublimeText3)

Java??? ?? ??? ????? ? ?? ?? ???? ????. ??, ?? ??? ??? ??? ?? ? ? ???, ?? ?? ?? ??? ?? ?? ?? ???? ??? ?????. Runnable? run () ????? ?? ?? ??? ??? ?? ?? ? ????? ??? ?????. ??, Callable? ?? ??? ?????? ?? ?? ? ??? ?? ? ????. ?? ????? ????? ??? ???????. ??, Runnable? ??? ?? ExecutorService? ?? ?? ? ? ??? Callable? ExecutorService?? ??? ? ??? ?? ??? ?? ? ? ????.

Java? ??? ?? ??, ?? ? ??? (? : Projectreactor) ? Java19? ?? ???? ??? ??? ?????? ?????. 1. CompletableFuture? ?? ??? ?? ?? ??? ? ?? ??? ????? ?? ??????? ? ?? ??? ?????. 2. Projectreactor? ?? ? ??? ??? ???? ?? ???? ? ??? ???? ?? ? ?????? ?????. 3. ?? ???? ??? ??? ??? I/O ??? ? ??? ???? ?? ??? ????? ??? ???? ????. ? ???? ?? ??? ????? ??? ??? ??? ?? ??? ??? ?????? ???? ???? ?? ?? ??? ??????.

Javanio? Java 1.4? ?? ? ??? IOAPI???. 1) ?? ? ??? ?????, 2) ??, ?? ? ??? ?? ?? ??, 3) ? ??? ??? ???? 4) ?? ??? ?? IO?? ? ????? ?????. 1) ? ?? IO? ??? ?? ??? ???, 2) ??? ??? ?? ???? ?????, 3) ???? ?????? ???? 4) ??? ?? ??? ?? ?? ? ??? ?????. 1) ??? ??/??? ??? ?? ?????, 2) ???? ???? ???? ?? ???? ???????. 3) ??? ??? ??? ???????.

Java?? ??? ?? ?? ??? ???? ? ?????. ?? ???? ??? ?????. 1. ?? ?? ? ???? ??????? ?? ?? ?? ??? ???? ??? ?????. 2. ?? ??, ???, ??? ?? ?? ?? ???? ????? ?? ??? ??? ??? ?????. 3. ENUMMAP ? ENUMSET? ???? ?? ? ?? ???? ???? ??? ???? ? ?????? ?????. 4. ?? ?, ??? ?? ?? ??? ?? ????? ?? ??? ??? ?????.? ????? ?? ???? ????????. ??? ???? ???? ?? ??? ????? ??? ?? ? ??? ?? ?????? ???????.

Java? ????? ????? ??? ??? ?? ???? ?? ?? ??????, ?? ? ???? ? ??? ????. ?? ???? ??? ??? ???? ??? ??? ???? ?? ??? ??? ????. ???? ???? ??? ??, ?? ??? ???? ???? ?? ??? ?? ???? ?? ?????. ???? ?? ?? ??? ?? ?? ??? ?????. ?????? ?? ??? ??? ???? ?? ??? ??? ?? ??? ???? ???? ??? ?? ??? ?????? ???? ????? ??? ?? ?? ???, ?? ? ?? ???? ??? ??? ?????. ???? urlclassl? ?? ??? ??? ??? ?? ? ? ????

JavaprovidesmultiplesynchronizationToolsforthreadsAfety.1.SynchronizedBlocksensUremutualExclusionByLockingMethodSorspecificCodesections.2.reentrantLockofferAdcerAdcenctrol, ratelockandFairnessPolicies.3.ConditionVariablesStowFor

Java ?? ??? ??? ?? ? ??? ???? ?? ??? ???? Try-Catch? ???? ????? ????? ???? ????. 1. IoException? ?? ?? ? ??? ???? ?? ??? ??? ?? ???????. 2. NullPointerException? ?? ???? ?? ??? ????? ???? ?? ??? ?? ???? ??? ?????. 3. ??? ?? ? ?? ??? ???? ??? ??? ?? ????? ???????. 4. CODE? ?? ??? ??? ?? ??? ???? ??? ???? ??? ???? ?? ?? ????. 5. ?? ???? ??? ??? ?? ??? ??? ?? ???? ??? ???????.

?? ?? Java? ?? ???? ?? ? ? ? ????? ????, ? ??? ??? ??? ??? ???? ? ????. 1. ?? ?? hashcode () ???? ???? ?? ?? ???? ?? ??? ?? ?? ???? ?????. 2. ?? ??? ??? ?? ?? ???? ??? ??? ? ????. ?? ??? ?? ? ??? ??? ?????. JDK8 ? ?? ? ??? ?? ?? (?? ?? 8) ??? ????? ?? ???? ?? ? ??? ?????. 3. ??? ?? ???? ?? ???? ?? equals () ? hashcode () ???? ?? ???????. 4. ?? ?? ??? ???? ?????. ?? ?? ??? ???? ?? ?? (?? 0.75)? ??? ?? ? ???; 5. ?? ?? ??? ??? ??? Multithreaded?? Concu? ???????.
