Open in app

Sign In

Write

Sign In

Sam Cao
Sam Cao

1 Follower

Home

About

Jul 5, 2022

Serialize and Deserialize PageImpl in Jackson

It’s very common to put paginated query results in Redis via Jackson serialization and deserialization. However, org.springframework.data.domain.PageImpl doesn’t expose a default constructor. Even worse, that applies to org.springframework.data.domain.Sort and org.springframework.data.domain.Sort.Order as well. There are a couple of workarounds. I’d like to introduce a less intrusive approach for your reference.

Redis

2 min read

Serialize and Deserialize PageImpl in Jackson
Serialize and Deserialize PageImpl in Jackson
Redis

2 min read


Oct 25, 2021

Javet for Android is Released

Javet is Java + V8 (JAVa + V + EighT). It is an awesome way of embedding Node.js and V8 in Java. It’s been more than half a year for the Javet users to wait for the Android support. Now, Javet has officially supported Android. The API and coding experience are identical to the ones on Linux, Mac OS and Windows.

Java

1 min read

Javet for Android is Released
Javet for Android is Released
Java

1 min read


Oct 22, 2021

Javet for Android is on the Way

Javet is Java + V8 (JAVa + V + EighT). It is an awesome way of embedding Node.js and V8 in Java. It’s been a long while for many Javet users to wait for the Android support. Now, it is coming true as the first Android build is being tested. If you are interested, please join us at discord.

Java

1 min read

Javet for Android is on the Way
Javet for Android is on the Way
Java

1 min read


Sep 10, 2021

Migrate from J2V8 to Javet

How to migrate from J2V8 to Javet is a frequently asked question, especially when people are evaluating Javet. I created Javet in Jan, 2021 for various reasons (What is the Motivation?, History with J2V8). After the first release v0.7.0 was published, I started migrating from J2V8 to Javet. …

Java

3 min read

Java

3 min read


Aug 16, 2021

Javet Supports Mac OS Now

Javet is Java + V8 (JAVa + V + EighT). It is an awesome way of embedding Node.js and V8 in Java. I’m very happy to announce Javet supports Mac OS x86_64 from v0.9.9. Maven <dependency> <groupId>com.caoccao.javet</groupId> <artifactId>javet-macos</artifactId> <version>0.9.9</version> </dependency> Gradle Kotlin DSL implementation(“com.caoccao.javet:javet-macos:0.9.9”) Gradle Groovy DSL implementation ‘com.caoccao.javet:javet-macos:0.9.9’

1 min read

1 min read


Aug 11, 2021

JNI Symbol Conflicts in Mac OS

Background When I was adding Mac OS support to my open source project Javet, I found a weird behavior caused by JNI symbol conflicts which resulted in JVM 8 core-dump. Javet is Java + V8 (JAVa + V + EighT). It is an awesome way of embedding Node.js and V8 in…

Jni

2 min read

Jni

2 min read


Aug 2, 2021

Javet — Java and JavaScript Interop

Javet is Java + V8 (JAVa + V + EighT). It is an awesome way of embedding Node.js and V8 in Java. From v0.9.8, Javet allows injecting arbitrary Java objects into V8 which enables the complete interop between Java and JavaScript. To enable this feature, application just needs to call…

Java

1 min read

Java

1 min read


May 19, 2021

Javet — Patch V8 Function at Source Code Level

Javet is Java + V8 (JAVa + V + EighT). It is an awesome way of embedding Node.js and V8 in Java. With the release of v0.8.8, Javet supports patching V8 function at source code level on the fly. Why is That Important? Functions can be changed on the fly at JavaScript code level…

Java

3 min read

Javet — Patch V8 Function at Source Code Level
Javet — Patch V8 Function at Source Code Level
Java

3 min read


May 8, 2021

Javet — An awesome way of embedding Node.js and V8 in Java.

Javet is Java + V8 (JAVa + V + EighT). It is an awesome way of embedding Node.js and V8 in Java. In Oct, 2020, I was looking for a solution about running JavaScript code in JVM with identical behavior as in a web browser. …

Java

1 min read

Java

1 min read

Sam Cao

Sam Cao

1 Follower

Amateur programmer

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Text to speech