JUniversal vs Xamarin: What are the differences?
Developers describe JUniversal as "A new, Java-based approach to cross-platform mobile apps (used by Google Inbox and Google Spreadsheets)". The vision of JUniversal came from some guys at Nokia who possess considerable expertise both in Java and in building cross-platform apps. They built this tool to provide an elegant way to translate source code and make it useful across multiple platforms. JUniversal offers you the freedom to write your shared code in Java and then translate it to C# (available now) or to C++/Objective C++ (coming soon). You can also combine JUniversal with Google’s j2objc translator to translate Java to Objective-C for iOS. On the other hand, Xamarin is detailed as "Create iOS, Android and Mac apps in C#". Xamarin’s Mono-based products enable .NET developers to use their existing code, libraries and tools (including Visual Studio*), as well as skills in .NET and the C# programming language, to create mobile applications for the industry’s most widely-used mobile devices, including Android-based smartphones and tablets, iPhone, iPad and iPod Touch.
JUniversal and Xamarin belong to "Cross-Platform Mobile Development" category of the tech stack.
Some of the features offered by JUniversal are:
- OAuth (based on Scribe)
- Unit testing (JUnit)
On the other hand, Xamarin provides the following key features:
- Cross-platform development- Thinking about supporting iOS, Android, Mac and Windows? Xamarin allows you to write it all in C#.
- Reuse existing code- Use your favorite .NET libraries in Xamarin apps. Easily use third-party native libraries and frameworks.
- Discover as you type- Explore APIs as you type with code autocompletion.
JUniversal is an open source tool with 132 GitHub stars and 22 GitHub forks. Here's a link to JUniversal's open source repository on GitHub.