Why serverless? Meet AWS Lambda

See the original posting on JavaWorld

Why would a developer use AWS Lambda? In a word, simplicity. AWS Lambda—and other event-driven, “function-as-a-service” platforms such as Microsoft Azure Functions, Google Cloud Functions, and IBM OpenWhisk—simplify development by abstracting away everything in the stack below the code. Developers write functions that respond to certain events (a form submission, a webhook, a row added to a database, etc.), upload their code, and pay only when that code executes.

In “How serverless changes application development” I covered the nuts and bolts of how a function-as-a-service (FaaS) runtime works and how that enables a serverless software architecture. Here we’ll take a more hands-on approach by walking through the creation of a simple function in AWS Lambda and then discuss some common design patterns that make this technology so powerful.

To read this article in full or to leave a comment, please click here

35% off Bose SoundLink Mini Bluetooth Speaker II – Prime Day Deal Alert

See the original posting on JavaWorld

Amazon Prime members save a generous 35% ($70) on the highly rated Bose SoundLink Mini Bluetooth Speaker II. This is a Prime Day deal, so good for today only until they run out of stock. The SoundLink Mini Bluetooth speaker II delivers full sound with dramatically deeper lows than you’d expect from a speaker that fits in the palm of your hand. And because it’s wireless and ultra-compact, it’s easy to take anywhere. The built-in speakerphone lets you take calls out loud with clear sound. And voice prompts make Bluetooth pairing easy. Plays unplugged for hours and can be charged from most USB power sources. Head over to Amazon and take advantage of this Prime Day deal. If you’re not a Prime member, you can sign up for a free trial here to unlock the deals. To see our picks for today’s best Prime Day deals, read our guide (on our sister site PCWorld.com) to the best deals: “Amazon Prime Day 2017: We pick the best electronics, PC, and mobile deals

To read this article in full or to leave a comment, please click here

33% off iRobot Roomba 652 Robotic Vacuum Cleaner – Prime Day Deal Alert

See the original posting on JavaWorld

This is a Prime Day deal good for today only, and reserved for Amazon Prime members (or those with a free trial: sign up here). The Roomba 652 Vacuuming Robot provides a thorough clean at the push of a button. Preset Roomba to clean when it’s convenient for you, so you can keep up with everyday mess. The Roomba 652 is discounted a 33%, so you save a whopping $125 if you buy it today. If you’ve always wanted a robot to clean your house, see this deal on Amazon.

To read this article in full or to leave a comment, please click here

48% off Anker 15W Dual USB Solar Charger – Deal Alert

See the original posting on JavaWorld

This solar charger from Anker delivers the fastest possible charge up to 2.1 amps under direct sunlight. 15 watt SunPower solar array is provides enough power to charge two devices simultaneously. Industrial-strength PET polymer faced solar panels are sewn into a rugged polyester canvas for weather-resistant outdoor durability. Clip it to your backpack, or attach to your tent or a tree. The charger currently averages 4.3 out of 5 stars from over 340 people on Amazon (read reviews), where its typical list price of $79.99 has been reduced 48% to $41.99. See this deal on Amazon.

To read this article in full or to leave a comment, please click here

28% off SanDisk Ultra CZ48 32GB USB 3.0 100MB/s Flash Drive – Deal Alert

See the original posting on JavaWorld

The SanDisk Ultra USB 3.0 Flash Drive takes the wait out of moving, sharing or backing up big files. Transfer a full-length movie in seconds with speeds up to 100MB/s. The included SanDisk SecureAccess software provides 128-bit AES encryption and password protection to keep your private files private. SanDisk’s Ultra CZ48 flash drive with 32GB capacity is listed on Amazon for 28% off, so you can pick one up for a little over $14.  See this deal on Amazon.

To read this article in full or to leave a comment, please click here

Kubernetes’s days may be numbered as open source changes

See the original posting on JavaWorld

If the open source model is broken, as Apcera founder Derek Collison believes, then container orchestration wunderkind Kubernetes may be its first major casualty. Yes, that Kubernetes, the Google-spawned container king that 71 percent of enterprises surveyed by 451 Research say they’re using for container management.

It seem far-fetched that Kubernetes could be heading for a fall, even as it continues to rise. But the problem, Collison argues, is one of investment: The old open source model was all about commoditizing a richly funded market filled with proprietary software. Open source came along, democratized the market, and shifted investment dollars elsewhere.

To read this article in full or to leave a comment, please click here

What’s new in Kubernetes 1.7

See the original posting on JavaWorld

In Kubernetes version 1.7, the container orchestration and management system is gaining slew of new security, stateful application, and extensibility features

Kubernetes 1.6 was mainly about stabilizing and bringing to term long-planned changes, such as using version 3 of the ETCD distributed key-value store. But many of Kubernetes 1.7’s new features are only in the alpha stage, more signals of how Kubernetes is trying to be more useful in a broader range of scenarios. Other new capabilities bring in features previously relegated to other parts of the container ecosystem.

To read this article in full or to leave a comment, please click here

Luna brings visual development to functional programming

See the original posting on JavaWorld

Described by the creators as a developer’s whiteboard “on steroids,” the Luna functional language promises to enable application assembly by clicking and dragging visual elements together.

Expected to be released as open source when Luna reaches beta, its compiler will produce native code for the developer’s choice of Linux, MacOS, Windows, or JavaScript. The team behind Luna is seeking candidates for a private alpha release.

Luna’s creators argue that because developers typically start sketching components and dependencies on a whiteboard before coding, it doesn’t make sense to then implement that logic only in text. Software can have thousands of lines of code distributed in hundreds of files, which can trip up the implementation of that visual data flow and application architecture. Tools such as UML architecture diagrams only deal with the symptoms and not the problem’s source, Luna’s creators argue.

To read this article in full or to leave a comment, please click here

Leading Into Prime Day, Amazon Offers 4 Months of Music Unlimited for $0.99 – Deal Alert

See the original posting on JavaWorld

Amazon’s Music Unlimited service is typically offered at $9.99/month, but Amazon has activated a special promotion as a teaser to their upcoming Prime Day on July 11. The promotion just dropped today and gets you 4 months of their Music Unlimited service for just $0.99, if you’re a Prime member (or have a 30 day Prime free trial: get one here). Music Unlimited offers tens of millions of songs, with new releases from today’s most popular artists. Listen ad-free with unlimited skips on all of your devices, and download for offline listening. Learn more about the very competitive streaming music service from Amazon, and take advantage of the $0.99 subscription offer, at Amazon’s Music Unlimited page located here.

To read this article in full or to leave a comment, please click here

How to write event-driven IoT microservices that don’t break

See the original posting on JavaWorld

“Asynchrony” is a scary word. It means taking events as they come, managing somehow to avoid being overtaken by them.

Event-driven asynchrony is the foundation of serverless computing, which, as a programming framework, is tailor-made for the internet of things. When you consider event scenarios in an IoT context, the chief drivers are the never-ending stream of sensor inputs that—depending on their timing, sequencing, frequency, and values—can swing the runtime behavior of the system arbitrarily in every possible direction.

When you layer event-driven microservices interactions over these sensor-driven complexities, it’s clear that today’s IoT environments are a potential rat’s nest of asynchronous craziness just waiting to happen.

To read this article in full or to leave a comment, please click here

Java library evolution and other puzzlers

See the original posting on JavaWorld

Exploring puzzling code to figure out why it doesn’t do what seems obvious is one way to improve your programming skills. In this post, I introduce you to various Java-oriented puzzlers from Jens Dietrich, Joshua Bloch and Neal Gafter, and myself.

Java Library Evolution Puzzlers

Q: What is the Java Library Evolution Puzzlers?

A: The Java Library Evolution Puzzlers is a survey focused on changing Java libraries and then recompiling their client programs’ source codes or running these clients unchanged against the modified libraries. The goal is to find out how well Java developers understand the ramifications of library modification. This survey was created by JavaWorld contributor Jens Dietrich, an Associate Professor in the Engineering School at New Zealand’s Massey University.

To read this article in full or to leave a comment, please click here

The road to Java 9: Modular Java finally gets OK’d

See the original posting on JavaWorld

Modularity, a key but highly controversial feature of the upcoming Java 9 release, looks to be back on track with the Java community’s adoption of a proposal that had failed in an initial vote weeks earlier.

With new round of voting completed this week, the Java Community Process Executive Committee passed by a 24-0 vote the Java Platform Module System public review ballot, the subject of Java Specification Request 376.

In May, the same group, citing concerns over the plan being disruptive and lacking consensus, voted the measure down, 13 to 10. In the aftermath, Java Development Kit 9, where the module system was to be delivered, was postponed from July 27 to September 21.

To read this article in full or to leave a comment, please click here

Eclipse gets ready for Java 9 with Oxygen release train

See the original posting on JavaWorld

The Eclipse Foundation’s annual release train, featuring simultaneous updates to dozens of projects, has just arrived, featuring preliminary Java 9 support. Called Oxygen, the release train covers 83 projects and includes 71 million lines of code.

Here are the key updates in Oxygen

  • Java 9 support remains in beta stage, because Java 9 itself will not be made available until Java Development Kit 9 ships on September 21. Oxygen’s Java 9 support includes the ability to add the Java Runtime Environment for Java 9 as the installed JRE as well as backing for the Java 9 execution environment. Developers also can create Java and plug-in projects using Java 9 and compile modules that are part of a Java project. Eclipse’s signature Java IDE has been enhanced as well, with improvements to the UI.
  • Eclipse Linux Tools 6.0 updates Docker Tools with more security options. This project provides a C/C++ IDE for Linux developers.
  • Eclipse PDT (PHP Development Tools) 5.0 supports the 7.1 version of PHP, which offers nullable types and a void return type.
  • The Eclipse Sirius 5.0 platform for building domain-specific modeling tools, with usability enhancements.
  • Eclipse EGit 4.8.0, offering performance and usability for the Java implementation of Git code management integration for Eclipse.

Focused on open source tools, Eclipse has offered annual release trains every June since 2006, letting developers coordinate upgrades or new releases of multiple projects. Last year’s release train, Neon, offered tools for Docker and JavaScript. June 2018’s release is slated to be called Neon.

To read this article in full or to leave a comment, please click here

10% off Bose SoundSport Pulse Wireless Headphones With Heartrate Monitor – Deal Alert

See the original posting on JavaWorld

Take your workout to the next level with Bose SoundSport Pulse wireless headphones. A built-in heart rate sensor makes it easy to track your performance without missing a beat of your music. The sensor measures your heart rate directly from your ear, delivering a highly accurate reading without interfering with your workout. And while you’re on the move, SoundSport Pulse wireless headphones stay secure. The StayHear+ Pulse tips are designed for stability even during intense workouts. Connect to your device easily with Bluetooth and NFC pairing. The Bose SoundSport Pulse headphones average 4 out of 5 stars from over 1,900 people on Amazon (read recent reviews here), where their typical list price of $199 has been reduced to $179. See this deal on Amazon.

To read this article in full or to leave a comment, please click here

Ruby’s decline in popularity may be permanent

See the original posting on JavaWorld

Ruby has had a reputation as a user-friendly language for building web applications. But its slippage in this month’s RedMonk Programming Language Rankings has raised questions about where exactly the language stands among developers these days.

The twice-yearly RedMonk index ranked Ruby at eighth, the lowest position ever for the language. “Swift and now Kotlin are the obvious choices for native mobile development. Go, Rust, and others are clearer modern choices for infrastructure,” said RedMonk analyst Stephen O’Grady. “The web, meanwhile, where Ruby really made its mark with Rails, is now an aggressively competitive and crowded field.”

To read this article in full or to leave a comment, please click here

The road to Java 9: Only critical bugs getting fixed now

See the original posting on JavaWorld

With the initial release candidate build for Java 9 now published, Oracle has proposed that from here on out, only “showstopper” bugs be fixed for the production Java 9 release, which is due September 21.

The proposal floated this week represents a further tightening up of bug-fixing goals for RDP (Rampdown Phase) 2 of the Java upgrade. The plan calls for fixing all P1 (Priority 1) bugs critical to the success of Java Development Kit (JDK) 9. Also, builders would decommit from fixing any bugs not new in JDK 9 and not critical to the release, even if they had been targeted for fixing.

To read this article in full or to leave a comment, please click here

57% off Anker Quick Charge 3.0 39W Dual USB Car Charger – Deal Alert

See the original posting on JavaWorld

Echo Show Ships on Wednesday, Buy 2 and Get a $100 Discount Right Now – Deal Alert

See the original posting on JavaWorld

The newly-announced Echo Show is available for pre-order in black or white and the shipping date is finally right around the corner: Wednesday, June 28. If you’re interested, there are two things you need to know. Right now if you buy two of them and enter the code SHOW2PACK at checkout, you’ll activate a $100 discount. So you’ll get two new Echo Shows for the price of two standard Echos. Go in on this deal with a friend, or buy a few for yourself (they work very well in multiple rooms). The other thing you should know is that by selecting Prime 2-day shipping, Amazon will actually have the Echo Show on your doorstep the very day it’s released. Echo Show brings you everything you love about Alexa, and now she can show you things. Amazon has announced an integration with some of the big names in wireless security cams, so you can simply say “Alexa, show me the front door camera”. Echo Show should make a good kitchen assistant as well — just ask for a recipe. You can watch news briefings, YouTube videos, ask for a weather forecast, video chat with family and friends (if they have Echos as well), see music lyrics, photos, to-do and shopping lists, and more.  All hands-free—just ask. New skills and features are added all the time.  See this deal now on Amazon.

To read this article in full or to leave a comment, please click here

CheerpJ converts Java apps into JavaScript for the web

See the original posting on JavaWorld

Melding Java and web development, CheerpJ is being readied as compiler technology that takes Java bytecode and turns it into JavaScript, for execution in browsers. Based on the LLVM/Clang compiler platform as well as Learning Technologies’ own Cheerp C++-to-JavaScript compiler, CheerpJ takes Java bytecode and turns it into JavaScript without needing the Java source.

In CheerpJ, applications and Java libraries are converted to web applications, so there is no need for plug-ins or Java installations. Server-side Java components can become client-side browser-based libraries while native Java code serves as platform-independent components for the Node.js server-side JavaScript platform.

To read this article in full or to leave a comment, please click here

Best of NoSQL: 7 document databases compared

See the original posting on JavaWorld

“The right tool for the right job.” If such wisdom holds true anywhere, it certainly holds true with the choice of database a developer picks for a given application. Document databases, one of the family of data products collectively referred to as “NoSQL,” are for developers who want to focus on their application rather than the database technology.

To read this article in full or to leave a comment, please click here