cglib VS nashorn

Compare cglib vs nashorn and see what are their differences.

cglib

cglib - Byte Code Generation Library is high level API to generate and transform Java byte code. It is used by AOP, testing, data access frameworks to generate dynamic proxy objects and intercept field access. (by cglib)

nashorn

https://openjdk.org/projects/nashorn (by openjdk)
Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
cglib nashorn
2 10
4,738 345
0.4% 0.0%
2.7 0.0
about 2 months ago about 1 year ago
Java Java
Apache License 2.0 GNU General Public License v3.0 only
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

cglib

Posts with mentions or reviews of cglib. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-12-20.
  • What challenges are there moving from Java 8 to 17?
    3 projects | /r/java | 20 Dec 2022
    was just looking at this today, realized we have a dependency that uses cglib - so will need to figure out an alternative for that before we can proceed.
  • How Spring implements Singleton Beans
    1 project | dev.to | 3 Oct 2020
    At startup time, a subclass is created using cglib (Code Generation Library). It only calls super in the first invocation of the bean, then one instance is cached by the application context and the child class is the entry point.

nashorn

Posts with mentions or reviews of nashorn. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-12-10.

What are some alternatives?

When comparing cglib and nashorn you can also consider the following projects:

Apache Ant - Apache Ant is a Java-based build tool.

rhino - Rhino is an open-source implementation of JavaScript written entirely in Java

Quartz - Code for Quartz Scheduler

reeva - A JavaScript engine for the JVM, built from the ground up with Kotlin.

Google Web Toolkit - GWT Open Source Project

jdk-mc - Recent Java with modifications specific to Minecraft.

Byte Buddy - Runtime code generation for the Java virtual machine.

zipline - Run Kotlin/JS libraries in Kotlin/JVM and Kotlin/Native programs

Ant - :ant: A flat and light theme with a modern look