JavaEdge
Author

JavaEdge

First‑line development experience at multiple leading tech firms; now a software architect at a Shanghai state‑owned enterprise and founder of Programming Yanxuan. Nearly 300k followers online; expertise in distributed system design, AIGC application development, and quantitative finance investing.

371
Articles
0
Likes
109
Views
0
Comments
Recent Articles

Latest from JavaEdge

100 recent articles max
JavaEdge
JavaEdge
Sep 25, 2024 · Backend Development

What’s New in JDK 23? A Quick Tour of 12 Game‑Changing Features

The article outlines the twelve preview features introduced in JDK 23, from primitive pattern matching to structured concurrency, and argues that mastering timeless programming principles from Effective Java can help developers adapt to such language evolutions.

Effective JavaJDK 23Java
0 likes · 10 min read
What’s New in JDK 23? A Quick Tour of 12 Game‑Changing Features
JavaEdge
JavaEdge
Sep 24, 2024 · Artificial Intelligence

Mastering RAG with LangChain4j: From Simple Setup to Advanced Retrieval‑Augmented Generation

This article explains how to extend large language models with domain‑specific knowledge using Retrieval‑Augmented Generation (RAG) in LangChain4j, covering the concepts of RAG, its indexing and retrieval stages, simple RAG setup, detailed API usage, and advanced customization options such as query transformers and content injectors.

EmbeddingJavaLLM
0 likes · 24 min read
Mastering RAG with LangChain4j: From Simple Setup to Advanced Retrieval‑Augmented Generation
JavaEdge
JavaEdge
Sep 21, 2024 · Artificial Intelligence

Understanding LLM API Types and Usage in LangChain4j

This article explains the different low‑level LLM API types in LangChain4j, including LanguageModel, ChatLanguageModel, and other model interfaces, and shows how to create and combine ChatMessage objects for multi‑turn conversations.

AI APIChatLanguageModelChatMessage
0 likes · 8 min read
Understanding LLM API Types and Usage in LangChain4j
JavaEdge
JavaEdge
Sep 20, 2024 · Artificial Intelligence

Integrating LangChain4j with Spring Boot: AI Services Made Easy

This guide explains how to use LangChain4j Spring Boot starters to configure OpenAI models, create declarative AI services with @AiService, and run practical examples such as a customer‑support agent and a simple HelloWorld program, covering required dependencies, properties, and code snippets.

ChatLanguageModelDeclarative AI ServiceJava
0 likes · 8 min read
Integrating LangChain4j with Spring Boot: AI Services Made Easy
JavaEdge
JavaEdge
Sep 19, 2024 · Artificial Intelligence

Unlock Java LLM Power: A Deep Dive into LangChain4j Features and Architecture

LangChain4j streamlines the integration of large language models into Java applications by offering a standardized API, extensive support for over a dozen LLM providers and vector stores, a rich toolbox for RAG, chat memory, and tool calling, plus two abstraction layers that cater to both low‑level control and high‑level convenience.

AIIntegrationJava
0 likes · 10 min read
Unlock Java LLM Power: A Deep Dive into LangChain4j Features and Architecture
JavaEdge
JavaEdge
Sep 17, 2024 · Artificial Intelligence

Explore IntelliJ IDEA 2024.3 EAP: Built‑in AI Assistant and Java Enhancements

The IntelliJ IDEA 2024.3 EAP preview introduces an experimental embedded AI assistant that transforms natural‑language prompts into code changes, improves Java constant‑condition analysis to better handle aliasing, adds spell‑check during indexing, displays branch names in the Welcome screen, and offers a new workspace feature for managing multiple projects.

AI AssistantIDEIntelliJ IDEA
0 likes · 7 min read
Explore IntelliJ IDEA 2024.3 EAP: Built‑in AI Assistant and Java Enhancements
JavaEdge
JavaEdge
Sep 16, 2024 · Fundamentals

Why TCP Needs Three Handshakes and Four Teardowns: A Deep Dive

This article explains the fundamental differences between UDP and TCP, details the TCP header fields, walks through the three‑way handshake and its necessity, describes the four‑way termination process, and illustrates the complete TCP state machine with diagrams and practical examples.

Four-way TerminationNetwork ProtocolTCP
0 likes · 14 min read
Why TCP Needs Three Handshakes and Four Teardowns: A Deep Dive
JavaEdge
JavaEdge
Sep 15, 2024 · Databases

What’s New in MySQL 9.0? VECTOR Type, Inline FK, JSON EXPLAIN, and More

This article summarizes MySQL 9.0’s new VECTOR column type, inline and implicit foreign‑key constraints, JSON EXPLAIN ANALYZE storage, prepared event statements, performance‑schema variable tables, enhanced EXPLAIN output, LIMIT 1 subquery support, as well as deprecated and removed features with practical examples.

Deprecated featuresEXPLAIN ANALYZEInline foreign key
0 likes · 13 min read
What’s New in MySQL 9.0? VECTOR Type, Inline FK, JSON EXPLAIN, and More
JavaEdge
JavaEdge
Sep 10, 2024 · Backend Development

Building a RabbitMQ RPC Service in Java: From Client to Server

This tutorial walks through creating a remote procedure call (RPC) system with RabbitMQ in Java, covering client and server design, callback queues, correlation IDs, code examples, deployment steps, scalability benefits, and common pitfalls to avoid.

JavaMessagingRPC
0 likes · 9 min read
Building a RabbitMQ RPC Service in Java: From Client to Server