asmhatre
  • Joined on 2025-12-11
asmhatre pushed to main at asmhatre/java-interview-lab 2026-11-06 16:13:38 +00:00
4a9021d936 New posts
asmhatre pushed to main at asmhatre/java-core-examples 2026-11-06 16:13:31 +00:00
d7d5689f05 New posts
asmhatre pushed to main at asmhatre/java-ai-agents 2026-11-06 16:13:22 +00:00
7c20ea1370 New posts
asmhatre pushed to main at asmhatre/spring-boot-demo 2026-11-05 19:35:33 +00:00
dc13293046 New posts for Spring and Hibernate
asmhatre pushed to main at asmhatre/hibernate-demo 2026-11-05 19:35:24 +00:00
0245c00033 New posts for Spring and Hibernate
asmhatre pushed to main at asmhatre/spring-boot-demo 2026-10-31 04:05:47 +00:00
51913ad9d4 Add filter-interceptor-aop module: servlet Filter vs HandlerInterceptor vs @Aspect on Spring Boot 4.1.2, the real order on Tomcat and MockMvc, error/404/async/body/Security traps
asmhatre pushed to main at asmhatre/spring-ai 2026-10-31 04:05:14 +00:00
68da642f9a Add chat-ui-htmx module: streaming chat page on Spring AI 2.0.2 with htmx and its SSE extension (vendored), MessageChatMemoryAdvisor keyed by the HTTP session, a Stop button, and the traps measured: EventSource strips one leading space per data line, model text must be HTML-escaped, a cancelled stream left the upstream connection open in 7 of 8 runs until an OkHttp interceptor calls Call.cancel (8 of 8 closed after), and the SDK push source ignores back-pressure (limitRate changes only the demand; a bounded buffer works). The model is a stub OpenAI-compatible SSE server written for the module; no real provider was run.
asmhatre pushed to main at asmhatre/spring-boot-demo 2026-10-31 04:05:12 +00:00
3a30194459 Add pdf-invoice module: one invoice in OpenPDF 3.0.5, iText Core 9.8.0 and Flying Saucer 10.7.0, Devanagari shaping checked by rendering, streamed vs buffered download, subset sizes and timings
asmhatre pushed to main at asmhatre/hibernate-demo 2026-10-30 17:00:56 +00:00
b83cc9988e Add json-columns module: JSON columns in Hibernate 7.4.14 (@JdbcTypeCode(SqlTypes.JSON)), JSONB querying, GIN/expression indexes, dirty checking, Jackson 3 vs 2 on PostgreSQL 18.6 and MySQL 8.0.46
asmhatre pushed to main at asmhatre/javademos 2026-10-30 16:36:36 +00:00
ecceaa8b32 Add jextract module: SQLite bindings generated with jextract, FFM arenas, C strings, out-parameters, errors, upcalls, and a JMH comparison with JNI
asmhatre pushed to main at asmhatre/spring-ai 2026-10-29 06:24:04 +00:00
c97bcf9adf Add docker-model-runner module: Spring AI OpenAI starter against Docker Model Runner and Ollama with a benchmark runner (time to first token, decode tokens/second, container memory, tool-call success); real docker/model-runner v1.2.9 CPU image and Ollama 0.40.13 on a shared 2-vCPU sandbox, no GPU
asmhatre pushed to main at asmhatre/spring-boot-demo 2026-10-29 06:18:46 +00:00
9b1da079c6 Add excel-export module: Apache POI 6.0.0 XSSF vs SXSSF under a fixed heap, 1,000,000 rows streamed with StreamingResponseBody, OpenCSV, sheet rolling, temp-file cleanup
asmhatre pushed to main at asmhatre/spring-ai 2026-10-29 06:10:27 +00:00
6d792f00e0 Add batch-llm module: 100,000 synthetic tickets classified by a ChatClient in a Spring Batch 6 chunk step with Resilience4j rate limiting and retry, skip-and-record for malformed JSON, restart after kill -9 in a second JVM, and a per-chunk cost ledger. The model is a deterministic simulated ChatModel; prices are configurable placeholders. No provider called.
asmhatre pushed to main at asmhatre/spring-boot-demo 2026-10-29 06:03:34 +00:00
bded24d929 boot4-migration: fix dropped first character in the properties-migrator transcript
asmhatre pushed to main at asmhatre/spring-boot-demo 2026-10-29 05:57:30 +00:00
85074ed51a Add boot4-migration module: one Boot 3.5.16 service migrated to 4.1.2, with the real compile, start-up, silent and test failures captured at each step
asmhatre pushed to main at asmhatre/java-interview-lab 2026-10-29 05:56:05 +00:00
8d8d7956ba README: add lru-cache row
asmhatre pushed to main at asmhatre/java-interview-lab 2026-10-29 05:52:30 +00:00
0457cf4bfb Add lru-cache module: LinkedHashMap and hand-rolled DLL LRU, coarse-lock/striped thread-safe variants, broken ReadWriteLock demo, Caffeine reference, 43 tests, JMH harness
asmhatre pushed to main at asmhatre/hibernate-demo 2026-10-29 05:52:30 +00:00
98f4ed7411 Add multitenancy module: Hibernate 7 @TenantId vs schema-per-tenant (shared pool + search_path, pool per tenant), JWT tenant filter, isolation failure modes on PostgreSQL 17 (Hibernate 7.4.14.Final, Spring Boot 4.1.2)
asmhatre pushed to main at asmhatre/java-testing-lab 2026-10-29 05:51:29 +00:00
11782a7ec3 instancio: Instancio 6.1 lab (selectors, settings, seeds, records/sealed/generics, JUnit 6 extension, failing-seed capture)
asmhatre pushed to main at asmhatre/spring-data-demo 2026-10-29 04:16:40 +00:00
7d7d4e872e r2dbc: Spring Data R2DBC CRUD, DatabaseClient, reactive transactions and Testcontainers Postgres (post 2)