J2ObjC
Modern Java - A Guide to Java 8
Our great sponsors
J2ObjC | Modern Java - A Guide to Java 8 | |
---|---|---|
2 | 2 | |
5,982 | 16,630 | |
0.1% | - | |
9.1 | 2.7 | |
4 days ago | 9 months ago | |
Java | Java | |
Apache License 2.0 | MIT 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.
J2ObjC
- Java to Objective-C Translator and Runtime
-
Microsoft begins “Extinguish” phase of dealing with Open Source
>> What is Java's equivalent of Xamarin or Avalonia?
Xamarin - RoboVM was a Java-based competitor to Xamarin which Xamarin acquired in 2015, but it was shutdown in 2017 after Microsoft acquired Xamarin. There are some Java-based toolkits such as https://www.codenameone.com/ that target mobile, but they are probably not as well funded as Xamarin has been under Microsoft. From what I hear Xamarin will be deprecated and replaced by MAUI.
Avalonia - Java has had multiplatform windowing for much longer than C# has. The Java Swing toolkit has been part of Java for more than a decade and is still supported in OpenJDK. JavaFX (https://openjfx.io/) is a newer toolkit that was originally part of Java and was later spun out into its own project.
How well are Xamarin and Avalonia supported if you are doing C# development on Mac or Linux?
>> How do I run Java on iOS?
As stated above, some tools such as https://www.codenameone.com/ and https://github.com/google/j2objc that convert Java code to target iOS.
I have never tried using those tools so I am not sure how good they are.
Modern Java - A Guide to Java 8
-
Java 20 / JDK 20: General Availability
Here are some resources I've found helpful and have read or are on my backlog to catch up with these developments:
- https://github.com/wesleyegberto/java-new-features (terse, includes links to JEPs, good jumping off point)
- https://github.com/winterbe/java8-tutorial (quick tour through features of Java 8)
- https://winterbe.com/posts/2018/09/24/java-11-tutorial/ (same for Java 11)
Books:
- Java 8 in Action / Modern Java in Action (Raoul-Gabriel Urma, Alan Mycroft, Mario Fusco; 2014 and 2018 respectively)
- The Well-Grounded Java Developer (Martijn Verburg, Benjamin Evans, Jason Clark; 2022) - not specifically focused on new features but does cover them in the context of going deeper into Java and the JVM.
-
Coming from .net to java
Otherwise, learning Maven has been really important. As for learning the language, I liked Winterbe's guides. Here's one. https://github.com/winterbe/java8-tutorial
What are some alternatives?
Codename One - Cross-platform framework for building truly native mobile apps with Java or Kotlin. Write Once Run Anywhere support for iOS, Android, Desktop & Web.
CQEngine - Ultra-fast SQL-like queries on Java collections
LightAdmin - [PoC] Pluggable CRUD UI library for Java web applications
Design Patterns - Design patterns implemented in Java
Multi-OS Engine - Multi-OS Engine: Create iOS Apps in Java (or Kotlin ... etc.)
Lanterna - Java library for creating text-based GUIs
Smooks - Extensible data integration Java framework for building XML and non-XML fragment-based applications
Joda-Money - Java library to represent monetary amounts.
Jimfs - An in-memory file system for Java 7+
Maven Wrapper - The easiest way to integrate Maven into your project!
FF4J - Feature Flags for Java made easy