You are here
The new Version 8 of the Apache Wicket open source Java framework embraces Java 8, including types. But use of lambda expressions, the marquee feature of Java 8, is supported only in parts of the framework.
As of Version 8, the server-side, component-oriented Wicket web framework supports Java 8 idioms, with Java 8’s idioms and types applied to the Wicket API. It also has new types to handle dates in Java 8, which can be converted and bound to components.
I know I’m showing my age, but when I was a young whippersnapper, we were always being nagged not to watch so much of the so-called “boob tube.” Specifically, we were advised to read actual books (but not, heaven help us, comic books or Mad magazine) and to refrain from Gilligan’s Island and all of that junk once and for all.
But when I became a mature adult and TV evolved into the rich cornucopia of streaming, mobile, on-demand, and other entertainment services we have today, nobody seemed to worry about that as much as they used to. Instead, society changed to the point where it suddenly became hip to binge on whatever we now consider TV, especially on the prestige stuff on HBO, Showtime, and Netflix.
It’s good to be cloud-native, or at least that’s what everyone is telling you. The idea is that you refactor (meaning partially recode) your applications to take advantage of the native features of the host cloud, such as its native APIs, storage systems, database systems, or security systems, depending on what that host cloud services offers.
The promise you’re being given is that being cloud-native will provide enhanced performance, lower operational costs for your applications, easier operations, and a bunch of other benefits as the cloud platform improves over time.[ What is cloud computing? Everything you need to know now. | Also: InfoWorld helps you identify the right tools for the job: AWS cloud services guide • Microsoft Azure services guide. • Google Cloud Platform services guide. ]
However, there is a dark side to being cloud-native, and it’s worth some consideration before you spend a significant about of time refactoring your code. The considerations include:
Oracle plans to drop from Java its serialization feature that has been a thorn in the side when it comes to security. Also known as Java object serialization, the feature is used for encoding objects into streams of bytes. Used for lightweight persistence and communication via sockets or Java RMI, serialization also supports the reconstruction of an object graph from a stream.
Removing serialization is a long-term goal and is part of Project Amber, which is focused on productivity-oriented Java language features, says Mark Reinhold, chief architect of the Java platform group at Oracle.
Virtual assistants can go beyond playing music or buying things on Amazon. And they don’t need corps of developers or fancy artificial intelligence technology to do so.
Business and society in general have moved a long way towards self-service. Most offices no longer have a secretarial pool, and most managers and even some executives don’t have a dedicated assistant. Travel agents and other common jobs of yesteryear still exist but you don’t go to a travel agent to book a simple direct domestic flight; you go to a website.[ Chatbots should be part of your intelligent systems arsenal: Build chatbots with Microsoft’s Bot Framework • Cortana moves way beyond being a personal assistant • 9 chatbot-building tools. | Keep up with hot topics in programming with InfoWorld’s App Dev Report newsletter. ]
Gartner predicts that 25 percent of companies will use virtual assistants in customer service in the next couple of years. Google recently demonstrated a virtual assistant that makes phone calls to book appointments.
Microsoft’s Azure cloud service has soared to become the No. 2 cloud provider behind Amazon Web Services, and although Microsoft will tell you it’s because of the breadth of Azure’s offerings, an undeniable appeal of the service is that it makes migration from on-premises systems straightforward, from both Microsoft products as well as third-party products like Linux and open source databases.
Because Microsoft has had such a long and dominant position in the datacenter, its own Azure public cloud was designed to keep that dominance by being easy to migrate to for those Microsoft-based IT shops, such as by having the same services like Exchange available in both cloud and ion-premises versions. Such easy migration and dual cloud/on-premise services was an option Amazon Web Services and Google Cloud Platform simply couldn’t offer because they had no legacy systems.
Micronaut, a JVM-based framework for building microservices applications, promises to aid startup times, throughput, and memory footprint.The features in Micronaut
Micronaut is designed to function as both a client and server framework in a microservices environment. Key to Micronaut is the use of annotation processors that precompile metadata and information needed to run an application. This results in reduced runtime overhead for memory consumption and startup time.[ Learn what microservices are. • Then learn how to build a microservices app. • Finally, learn how to choose a database for your microservices. | Keep up with hot topics in programming with InfoWorld’s App Dev Report newsletter. ]
The framework also offers support for unit testing and minimal use of reflection and proxies.
The Google Go language (aka Golang) has become a strong choice for writing web services and APIs. It compiles to fast-running native code, it has native metaphors for asynchronous programming and other features useful for web services, and it has a broad and expanding audience of users.
Here’s a survey of the major frameworks currently used for web development in Go. Some are aimed at simpler use cases, like endpoint APIs. Others are intended to handle full-blown site development, or can be scaled up or down depending on which components you need for a given job.
Diogenes Rettori is the principal product manager for Red Hat OpenShift.
The attention and traction generated around the Istio service mesh technology in the past year is certainly intriguing. In fact, as I write this article, Istio is only at version 0.8 and yet, for two consecutive KubeCon/CloudNativeCon events, it has been a sizzling hot topic, with more than a dozen distinct sessions in the Denmark event alone. So why is this?
The push to get more women in computing is decades old. I remember back in my college professor days they did studies on why there are fewer woman in computer science and information systems studies. We have made little progress since.
With the inflection point of new compute trends, such as cloud computing, the need for entry-level talent has also inflected. Everyone is hiring. There’s a shortage. And the solution to this issue is easy: We need to recruit more women into computer jobs, especially cloud computing.[ Also on InfoWorld: Bye-bye, boy’s club? Why the new IT may be a woman’s world. • No, women are still not equal to men in IT. | What’s really behind Silicon Valley’s apparent racism. | Cut to the key news and issues in cutting-edge enterprise technology with the InfoWorld Daily newsletter. ]
And we should be able to do so. Today is different than when I was a college professor. College Class of 2017 reports that, “based on Department of Education estimates, women will earn a disproportionate share of college degrees at every level of higher education in 2017 for the 11th straight year.” Overall, women in the Class of 2017 will earn 141 college degrees for every 100 men (up from 139 last year). Also, there will be a gap of 659,000 college degrees in favor of women for this year’s college graduates.
People often think about the internet of things in an industrial or commercial setting, providing sensors and data to a well-defined process or activity. But there’s one fundamental part of our society that can benefit immensely from IoT technologies, one that’s being left behind because it’s not traditionally seen as a technological activity: agriculture and, more specifically, farming.AI for Earth
Microsoft’s AI for Earth initiative supports a wide selection of academic and nongovernment organization projects with Azure resources and access to its Cognitive Services APIs. The six-month-old program has already showing interesting results, using machine learning to identify areas affected by natural disasters with satellite imagery and using game theory to predict where to find poachers before they can kill endangered animals.
Now that Oracle has released Java Development Kit 10, the next version, JDK 11, is just around the corner. Due in September 2018 as part of Oracle’s new six-month release cadence for the standard edition of Java, Version 11 has more than a half dozen announced features so far.
Puppet the company bills Puppet the automation tool as the de facto standard for automating the delivery and ongoing operation of hybrid infrastructure. That was certainly true at one time: Puppet not only goes back to 2005, but also currently claims 40,000 organizations worldwide as users, including 75 percent of the Fortune 100. While Puppet is still a very strong product and has increased its speed and capabilities over the years, its competitors, in particular Chef, have narrowed the gap.
As you might expect from the doyenne of the IT automation space, Puppet has a very large collection of modules, and covers the gamut from CI/CD to cloud-native infrastructure, though much of that functionality is provided through additional products. While Puppet is primarily a model-based system with agents, it supports push operations with Puppet Tasks. Puppet Enterprise is even available as a service on Amazon.
Routing maps incoming requests to the respective route handlers and generates outgoing URLs. ASP.Net Core is an open source, cross-platform, lean, and modular framework for building high-performance web applications.
Routing in ASP.Net Core is managed by the routing middleware in the Microsoft.AspNetCore.Routing namespace. The middleware handles requests and responses and inspects, routes, and even modifies the request and response messages that flow through the pipeline.
In essence, routing in ASP.Net Core maps the incoming URLs to the respective controller actions and then generates the corresponding outgoing URLs.
Here's how routing in ASP.Net Core works:
- When a new request arrives, the routing middleware parses the incoming URL.
- A matching route is searched in the RouteCollection.
- If a matching route is found, control is passed to the RouteHandler.
- If a matching route is not found, the next middleware is invoked.
A RouteCollection is defined in the Microsoft.AspNetcore.Routing namespace and comprises of a collection of Routes. The RouteHandler is a class that implements the IRouteHandler interface is responsible for handling the incoming request.