Developers will write in their favorite Java IDE, and JUniversal can translate it to the acceptable language for the platform
Over the years, Microsoft has not been the largest advocate for Java, notwithstanding however pervasive it's become. In fact, the corporate was entangled in an exceedingly bitter legal battle over the platform with Java founder Sun Microsystems a few years past. however times have modified. Now, Microsoft Open Technologies, a subsidiary of Microsoft centered on “open” technologies and ability, is promoting a Java-based approach to putting together cross-platform mobile apps.
JUniversal may be a free tool for development of native, cross-platform apps in Java, as given in an exceedingly recent web log post by Microsoft Open technical school. Meanwhile, JUniversal’s own website reads, “Don’t simply write Associate in Nursing humanoid app. Write a cross-platform Java app.”
JUniversal, the location says, “lets you write code in Java (like you most likely already do if you develop for Android) and take that code to places you ne'er thought it may go.” Primarily centered on code-sharing across mobile apps, the technology will be nonmobile eventualities.
Developers build code in their favorite Java IDE. In their build scripts, they invoke JUniversal for ASCII text file translation to C# for Windows Phone. Soon, they're going to even be able to convert the Java code to C++/Objective C++ for Apple’s iOS platform or for performance-critical code on humanoid NDK/Windows. Google’s j2ojbc convertor may be accustomed convert to Objective C.
Though it still has “rough edges,” the tool is out there for developers to do out currently. “Is JUniversal stable enough nowadays to ship production apps supported it? In several cases affirmative, presumptuous you tumble operating for your wants, however please reach out before shipping thus we are able to speak through any caveats,” the location says.
The vision for JUniversal came from Nokia staff knowledgeable in Java and building cross-platform apps, Microsoft Open technical school says. “They designed this tool to produce a sublime thanks to translate ASCII text file and create it helpful across multiple platforms.”
A key style goal for JUniversal is conserving comments and data formatting, manufacturing translated supply “that appearance very similar to however an individual's would write it,” says Microsoft Open technical school. With this in mind, the program, profiler, and exception stack traces all work a similar as they are doing with written supply. Thus, translated ASCII text file will mix seamlessly with native code: “There’s no language ohmic resistance pair.”
For nonshared elements of code, developers should write those within the native platform language, such as C#, Swift, Objective-C, and so on. JUniversal conjointly doesn't presently offer any support for the UI. The set up is for the UI to be written natively. conjointly featured in JUniversal may be a set of libraries known as JSimple, providing cross-platform-friendly versions of arthropod genus required for many mobile apps.
These embody OAuth, JUnit, file and network I/O platform wrappers, collections (including HashMap and ArrayList), and work.
Read More Updates :- Techies | Update
No comments:
Post a Comment