moditect
piranha
Our great sponsors
moditect | piranha | |
---|---|---|
10 | 21 | |
529 | 188 | |
2.1% | 0.5% | |
7.8 | 8.9 | |
about 1 month ago | 9 days ago | |
Java | Java | |
Apache License 2.0 | BSD 3-clause "New" or "Revised" License |
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.
moditect
-
Java Modules in Real Life
And then you have to use moditect to generate a module-info.java and this is again because the annotation processor will pick up the provides Processor with YourAnnotationProcessor.
-
Modularization (modular-info.java), maven, and testing misery
Maybe you've somehow missed https://maven.apache.org/plugins/maven-jlink-plugin/ https://github.com/moditect/moditect https://github.com/beryx/badass-jlink-plugin https://github.com/sormuras/testing-in-the-modular-world
-
JRE & JDK implementation mess
Yes, you are right. jlink does not work with automatic modules. But using that plugin https://github.com/moditect/moditect you can easily transform almost any java library into a named module. It is a shame there are libraries under development, that have not been adapted to the java modular system.
- Forking google
-
Minvio - a simple Java graphical app framework.
FWIW, I've had a lot more issues with reflective access when using GraalVM. Reflection is mainly a problem with modules if you forget to 'open' your modules which is easy to fix in many cases. There's also moditect if the library author still doesn't want to learn how to include a module-info in the legacy compatible jar.
-
javafx:jlink and itext to create self contained jar.
Thanks. I don't think iText has a modularized jar. Would it be possible to inject the modules into my jar, as per: https://stackoverflow.com/questions/47222226/how-to-inject-module-declaration-into-jar . Or maybe use moditect?
-
Persism 1.0.1 released - A zero ceremony ORM for Java
Or apply the https://github.com/moditect/moditect plugin and keep the build in JDK8. Let the plugin create the module descriptors without configuring JDK toolchains.
-
Java Modules - are they common and should we use them?
You can use the https://github.com/moditect/moditect maven plugin to add the module-info to the third-party jars
-
JPMS Migration Playground
The next solution, which is the one I'm writing about. Is to modularize foo's jar, this is easily accomplished using the moditect plugin. But it can be tricky since I don't have, nor do I need, bar, and I prefer doing most of the work in build time and not manually.
-
Distribution of JVM desktop applications
It's possible to add this information during one's build even though the procedure is error-prone and boring. The description on how to achieve this deserves a post on its own. For more information, please check this Oracle magazine article. Suffice to say here that it makes heavy use of the Moditect Maven plugin.
piranha
-
Quarkus 3.0 final released!
You can still mix and match APIs at will with EE. This is what you do on Tomcat mostly, but also with Piranha Cloud (https://piranha.cloud), and to a degree even with Open Liberty.
- Piranha Cloud 22.11 released!
-
GlassFish 7 M8 released! (passing Jakarta EE 10 TCK)
Not necessarily. Piranha Cloud is an implementation of the Servlet API that is not a container.
- Helidon 3.0 Released!
-
Java News Roundup: OpenJDK, Jakarta EE 10, WildFly, Apache Tomcat Updates
Piranha Cloud uses the Java Module system extensively. See https://piranha.cloud
- Piranha 22.2 released!
- Piranha 22.1.0 released!
- GitHub Projects to Contribute
- Piranha 21.11 released!
- Piranha 21.6.0 released!
What are some alternatives?
os-maven-plugin - A Maven plugin that sets various useful properties detected from ${os.name} and ${os.arch} properties.
Apache Tomcat - Apache Tomcat
badass-jlink-plugin - Create a custom runtime image of your modular application
Jetty - Eclipse Jetty® - Web Container & Clients - supports HTTP/2, HTTP/1.1, HTTP/1.0, websocket, servlets, and more
packr - Packages your JAR, assets and a JVM for distribution on Windows, Linux and Mac OS X
nanohttpd - Tiny, easily embeddable HTTP server in Java.
Permazen - Language-Natural Persistence Layer for Java
WildFly - WildFly Application Server
Feather - Lightweight dependency injection for Java and Android (JSR-330)
Apache TomEE - Apache TomEE
jtoolprovider-plugin - This Maven Plugin does two things. First, it automatically transforms your Maven dependency graph into Java modules. Second, it bridges Maven and built-in Java tools like jdeps, jlink, and jpackage.
open-liberty - Open Liberty is a highly composable, fast to start, dynamic application server runtime environment