Mastering Spring framework 5, Part 1: Spring MVC

Spring MVC is the Spring framework’s traditional library for building Java web applications. It is one of the most popular web frameworks for building fully functional Java web applications and RESTful web services. In this tutorial, you’ll get an overview of Spring MVC and learn how to build Java web applications using Spring Boot, Spring Initializr, and Thymeleaf.

download

Get the source code for example applications in this tutorial. Created for JavaWorld by Steven Haines

Spring Boot with Spring Initializr

We’ll fastrack our Spring MVC web application with the help of Spring Boot and Spring Initializr. Given input for the type of application to be built, Spring Initializr uses the most common dependencies and defaults to setup and configure a basic Spring Boot application. You can also add custom dependencies and Spring Initializr will include and manage them, ensuring version compatibility with both third-party software and Spring. Spring Boot applications run standalone, without requiring you to provide a runtime environment.

To read this article in full, please click here

Source: New feed

Software security: There’s more to it than bug-bounty programs

By one estimate, more than 100 billion lines of code are released each year, with an ever-increasing proportion of that software connected to the internet. With more connected code, there’s more risk of hackers connecting to that code for their own nefarious ends.

Given this opportunity for compromised code, bug-bounty programs are booming. Although positive, they’re just one component of how to deliver superior security.

To read this article in full, please click here

Source: New feed

Oracle: Switch now from Nashorn JavaScript engine to GraalVM

Source: New feed

GitHub Enterprise adds anonymous Git access, improves configuration visibility

Version 2.14 of GitHub Enterprise, the behind-the-firewall version of GitHub’s code-sharing platform tuned for businesses, improvement configuration visibility and adds anonymous Git read access.

Users can configure visibility for new members of an organization, across private or public instances. Administrators also can prevent users from changing their visibility from the default configuration. Default settings can be enforced through a command-line utility.

Source: New feed

How to align test automation with agile and devops

One key devops best practice is instrumenting a continuous integration/continuousdelivery (CI/CD) pipeline that automates the process of building software, packaging applications, deploying them to target environments, and instrumenting service calls to enable the application. This automation requires scripting individual procedures and orchestrating the steps from code checkin to running application. Once matured, devops teams use the automation to drive process change and strive to do smaller, more frequent deployments that deliver new functionality to users and improve quality.

To read this article in full, please click here

(Insider Story)
Source: New feed

(Insider Story)
Source: New feed

What’s new in Kubernetes containers

The latest version of the container orchestration system Kubernetes, 1.11, adds a new load-balancing method and provides custom resource definitions. 

Where to download Kubernetes

You can download the Kubernetes source from the releases page of its official GitHub repository. Kubernetes is also available by way of the upgrade process provided by the various vendors that supply Kubernetes distributions.

To read this article in full, please click here

Source: New feed

YugaByte review: Planet-scale Cassandra and Redis

During my decades as a database application developer, I never imagined in my wildest dreams that I would ever have access to a transactional, planet-scale, distributed database, much less that I would be comparing many of them. But with Google Cloud Spanner, CockroachDB, Azure Cosmos DB, Neo4j Enterprise, and most recently YugaByte DB all available in production, that one-time pipe dream is now quite real.

To read this article in full, please click here

(Insider Story)
Source: New feed

Java 101: Mastering Java exceptions, Part 1

Java exceptions are library types and language features used to represent and deal with program failure. In the first half of this article you’ll learn about basic language features and library types that have been around since Java 1.0. In the second half you’ll discover advanced capabilities introduced in more recent Java versions. If you’ve wanted to understand how failure is represented in source code, you’ve come to the right place. In addition to an overview of Java exceptions, I’ll get you started with Java’s language features for throwing objects, trying code that may fail, catching thrown objects, and cleaning up your Java code after an exception has been thrown.

To read this article in full, please click here

Source: New feed

Ryan Dahl’s Node.js regrets lead to Deno

What might the Node.js server-side JavaScript runtime look like today if founder Ryan Dahl could build it all over again? With his Deno project, a secure TypeScript runtime built on the same Google V8 JavaScript engine as Node.js, we get an idea.

Open source Deno, which is not explicitly compatible with Node.js, is a minimal take on server-side JavaScript. One key difference between Deno and Node is Deno eliminates the need for a package manager. (Node.js uses the popular NPM package manager.) “There are no packages even,” Dahl said. “You only link to JavaScript files—like you do in the web.” Deno also cannot run Node scripts. It does use TypeScript, which Dahl views as being well-done and approachable. Dahl recently described Deno as being in an “extreme prototype” stage of development and cautioned against all but the most-diehard technical people from trying it.

To read this article in full, please click here

Source: New feed