Archive for the ‘Libraries and Frameworks’ Category

Kotlin, the statically typed alterative Java language for JVM and Android development, is showing signs of making it into the big leagues, getting support in development frameworks.

For example, the Spring Framework now supports Kotlin. And there are new frameworks such as Javalin and Ktor that support Kotlin.

Kotlin frameworks: Support in the Spring Framework

Best known as a venerable Java framework featuring dependency injection, Pivotal’s Spring Framework gained Kotlin support in the Spring 5.0 version released this year. Spring … Read the rest

The Apache Foundation has added a new machine learning project to its roster, Apache PredictionIO, an open-sourced version of a project originally devised by a subsidiary of Salesforce.

What PredictionIO does for machine learning and Spark

Apache PredictionIO is built atop Spark and Hadoop, and serves Spark-powered predictions from data using customizable templates for common tasks. Apps send data to PredictionIO’s event server to train a model, then query the engine for predictions based on the model.

Spark, MLlib, … Read the rest

Graphs and data plots are wonderful tools for illustrating relationships, depicting data trends, and tracking goals in your Android applications. I saw this for myself several years ago, when a former student of mine won first place in a student mobile app competition sponsored by the Charleston Defense Contractors Association. A key feature of the winning app, “Diabetes and Me,” was the ability to graph daily sugar levels.

As another example, consider a weight-tracking application that plots progress against a … Read the rest

Part 2 of this four-part series on Java SE Web services showed how to use the JAX-WS API to develop SOAP-based Web services. JAX-WS also supports RESTful-based Web services, which this article shows how to develop. It first defines and then builds and runs a library Web service, and next defines, builds, and runs a simple client that accesses this service.

Defining a library web service

The library Web service, which I’ve named Library, manages a library of books with … Read the rest

Oracle is banking on REST and JSON to modernize Java EE for microservices and the cloud.

It may seem like ages since REST stole thunder from SOAP as a mechanism for providing web services communications. REST, in conjunction with JSON and HTTP, proved a far simpler means for delivering web services than SOAP, which has long been criticized for complexity.

Fast-forward to the present, and Oracle is now positioning REST and JSON as critical cogs in its Java EE … Read the rest