Home Tags Java

Tag: java

Java 9’s AOT compiler: Use at your own risk

With the impending arrival of Java SE (Standard Edition) 9 this summer, developers will get more than modularity, which has been the most highly touted feature of the upgrade.

They'll also get an experimental implementation of AOT (ahead-of-time) compilation, which is intended to improve application startup times with limited impact on peak performance.Java ME (Micro Edition) has long supported AOT, but Java SE has not—a decision that Java's former owner, Sun Microsystems, made many years ago.[ Download InfoWorld's essential guide to microservices and learn how to create modern web and mobile applications that scale. | Cut to the key news in technology trends and IT breakthroughs with the InfoWorld Daily newsletter, our summary of the top tech happenings. ]Like Java 9's new modularity, AOT is drawing some mixed reviews from developers.To read this article in full or to leave a comment, please click here

Kotlin improves code compilation, now requires JDK 8

The newly updated Jetbrains statically typed language for the JVM, Kotlin 1.1.2, now offers improved compilation and better integration with the company’s IntelliJ Idea IDE, as well as a slew of bug fixes and compatibility with version 2.4.0-alpha of the Android Gradle plugin.Kotlin enables development of server-side applications, Android apps, or front-end code to run in a browser.
Its conciseness reduces the need to write boilerplate code, the company says.[ The big 4 Java IDEs reviewed: See how Eclipse, NetBeans, JDeveloper, and IntelliJ IDEA stack up. | Keep up with hot topics in programming with InfoWorld's App Dev Report newsletter. ]Kotlin 1.1.2 now requires Java Development Kit (JDK) 8. “Most other Java development tools such as Gradle and the Android toolchain also require JDK 8, so you almost certainly already have it installed,” said Dmitry Jemerov, a principal engineer at JetBrains.To read this article in full or to leave a comment, please click here

ColdFusion Hotfix Resolves XSS, Java Deserialization Bugs

Adobe released an important security hotfix for several versions of Coldfusion, resolving two bugs, Tuesday morning.

Oracle floats Java hardware acceleration proposal

A proposal currently floating in the Java community would use hardware acceleration to improve bulk calculations in the platform.Project Trinity would explore enhancing execution of bulk aggregate calculations over Streams by offloading calculations...

AWS CodeStar offers templates to ease cloud app deployments

Amazon looks to simplify building and deploying apps on its cloud platform with the introduction of the AWS CodeStar service this week.The cloud service eases project setup by using templates for web applications, web services, and other projects on common development platforms.

Developers can provision projects and resources for software development processes ranging from coding to testing and deployment.

Templates are featured for such AWS options as EC2, Elastic Beanstalk, and Lambda, and supported languages include JavaScript, Java, Python, Ruby, and PHP.[ The cloud storage security gap — and how to close it. | The InfoWorld Deep Dive: How to make document sharing really work in Office 365. ]AWS CodeStar was launched in response to organizations facing the challenge of having agile, dynamic software development processes, said AWS Technical Evangelist Tara Walker. "The first challenge most new software projects face is the lengthy setup process that developers have to complete before they can start coding," she said.

This process could include setting up IDEs, accessing code repositories, and identifying infrastructure needed for builds, tests, and production.To read this article in full or to leave a comment, please click here

Get started with Twilio’s programmable SMS API

Andrew Baker is developer educator at Twilio.Texting has outpaced email and phone calls as the quickest method to get in contact with someone, and it is fast becoming a way to reach anyone.

A simple SMS has the capability to reach any of the 4.5 billion text-enabled devices in the world.

Today, appointment reminders, ETA alerts for on-demand services, banking notifications, and flight status are all sent conveniently and programmatically directly to the user’s phone via SMS.Twilio’s Programmable SMS API lets you send and receive text messages right in your web applications. With a few lines of code, you can get an SMS app running in a few minutes.

Though Programmable SMS supports several languages, like Java and C#, for the purposes of this tutorial we’re going to focus on using Node.js.To read this article in full or to leave a comment, please click here

Oracle fixes Struts and Shadow Brokers exploits in huge patch release

Oracle has released a record 299 security fixes for vulnerabilities in its products, including patches for a widely exploited vulnerability in the Apache Struts framework and a Solaris exploit supposedly used by the U.S. National Security Agency.The Struts vulnerability allows for remote code execution on Java web servers and was patched on March 6.

Attackers have quickly adopted it and have used it in widespread attacks since then.[ MySQL face-off: Amazon vs.

Google. | Learn how to get started, step by step, with MySQL. | Also on InfoWorld: 10 essential performance tips for MySQL | Track the latest trends in open source with InfoWorld's Linux Report newsletter. ]
Oracle uses Apache Struts 2 in several of its products, which is why Tuesday’s critical patch update (CPU) fixed 25 instances of the vulnerability in Oracle Communications, Retail and Financial Services applications, as well as in the MySQL Enterprise Monitor, Oracle WebCenter Sites, Oracle WebLogic Server and the Siebel E-Billing app.To read this article in full or to leave a comment, please click here

Facebook Delegated Account Recovery SDKs Published for Java, Ruby Apps

At F8 today, Facebook released SDKs and documentation for the integration of Delegated Account Recovery into Java, NodeJS and Ruby applications.

Wave of Java-Based RATs Target Tax Filers

A rash of Java-based remote access Trojans is targeting tax filers with bogus IRS attachments.

Intelligent code-search service Sourcegraph adds Java support

Developers love IDEs for the superpowers they provide: renaming a function or variable without having to blindly search and replace; jumping straight to a function definition with a keystroke; and much more.Code-search service Sourcegraph provides those capabilities through a web-based IDE that can index most Google Go language repositories in GitHub.

And not just individual repositories--all Golang repositories, indexed together and made searchable and cross-referenceable in a single interface.[ Get the most out of collaborative programming with InfoWorld's 20 essential pointers for Git and GitHub. | Keep up with hot topics in programming with InfoWorld's App Dev Report newsletter. ]Now Sourcegraph has unveiled that same kind of support for Java.
In addition to being a near-indispensable staple of developers worldwide, Java has far more repositories in GitHub: 3.04 million, compared to Golang’s 192,700 (according to the latest GitHub API queries).To read this article in full or to leave a comment, please click here

The true impact of modular Java

Modularity is coming to Java.

But the big fanfare for modularized Java may already be cooling, well in advance of the Java SE 9 release due in late July, thanks to mixed reviews.Oracle has thus far positioned modularity as a key benefit for the Java...

Oracle’s Java-on-Java experiment picks up steam

Oracle is moving forward with its Java-on-Java intentions, in which Java would be implemented on itself via the experimental Project Metropolis.With Metropolis, the company proceeds on building a JIT (just-in-time) compiler written in Java, said Geo...