Servlet 4.0 fully integrates HTTP/2's server push technology, and also
enables runtime discovery of a servlet's mapping URL. With video
demonstrations and code examples, this hands-on tutorial gets you started with
HTTP/2 server push and the new HttpServletMapping interface in Java servlet
and JSF applications.
Eclipse MicroProfile has just delivered five new APIs for developing Java cloud-native microservices. Get the highlights of what's new in MicroProfile 1.3, with code examples that will have you up and running in no time.
Hot on the heels of Java 9, Java 10 is here, with a cornucopia of cool
new features for code geeks, container nerds, and garbage-collector geniuses.
There's no time like the present to find out what's new in JDK 10.
This final article in the Java EE Security API series introduces the SecurityContext API, which is used to interrogate caller data consistently across servlet and EJB containers. Find out how SecurityContext extends HttpAuthenticationMechanism's declarative capabilities, then put it to work testing caller data in a servlet container example.
Learn how to use the new IdentityStore interface to setup and configure RDBMS or LDAP identity storage in your Java web applications.
Java virtual machines come with hundreds of command-line options, which
more experienced Java developers can use to tune the Java runtime. Learn how
to monitor and log compiler performance, disable explicit garbage collection
(System.gc();), extend the JRE, and more.
Java Object Serialization is so fundamental to Java programming that
it's easy to take for granted. But, like many aspects of the Java platform,
Serialization rewards those who go digging. In his first article of this new
series, Ted Neward gives you five reasons to look twice at the Java Object
Serialization API, including tricks (and code) for refactoring, encrypting,
and validating serialized data.
HttpAuthenticationMechanisms annotation-driven approach is a welcome departure from the tedium of manually configuring authentication for Java web applications. Learn how to setup and configure both classic Servlet 4.0-style authentication and custom solutions using HttpAuthenticationMechanism and the new Java EE 8 Security API.
If you're deploying services in your Kubernetes clusters, the code
behind those services most likely needs to use credentials to do its work. In
this tutorial, you'll see how to use Kubernetes secrets to deliver sensitive
information like usernames and passwords to your code.
As one of the three core specifications introduced with Java EE 8, the
new Java EE Security API is an essential addition to your Java EE toolkit, and
thankfully not terribly difficult to learn. Find out how the Java EE Security
API supports enterprise security in cloud and microservices platforms, while
introducing modern capabilities such as context and dependency
Build an artificial neural network (ANN) using the Java language and Neuroph open
Functional pipelines can greatly increase the efficiency and performance of your
code, especially when combined with lazy evaluation and parallelization. In this
article you'll learn the rules of functional purity, and why you should always strive to keep lambda expressions pure in your functional pipelines.
Find out how Scala's powerful type-system and its capabilities for
functional programming can provide an excellent canvas for dealing with
microservice composition and the problems that can arise from it. This article
will also focus on a model-driven development style. Microservices often
implement a Bounded Context, a concept from domain-driven design that maps a
specialized subset of the domain model. It's important to ensure that domain
concepts continue to stand out clearly and don't get compromised in the
presence of concurrency and error-handling routines.
Comparing Gson, Jackson, and JSON-B highlights inconsistencies in basic
features and behaviorand demonstrates the potential for a new JSON
The JSON Binding API makes customizing data serialization and
deserialization easy and intuitive, and it puts a lot of power in your hands.
Learn how to use and combine annotations and runtime configuration to control
the binding and appearance of properties, fields, date and time formats, and
more. Then get started using JSON-B adapters and low-level serializers and
deserializers to change the logic of operations in JSON-B.
The JSON Binding API makes customizing data serialization and deserialization easy and intuitive, and it puts a lot of power in your hands. Learn how to use and combine annotations and runtime configuration to control the binding and appearance of properties, fields, date and time formats, and more. Then get started using JSON-B adapters and low-level serializers and deserializers to change the logic of operations in JSON-B.
It's been a long wait, but Java EE 8 introduces powerful JSON binding features to the core Java enterprise platform. Get started with default features, custom annotations, and runtime configurations in the new Java API for JSON Binding.
The next edition of the Java enterprise platform is built for the cloud
and reactive programming, and will shape enterprise application development
for years to come. Get your first look at new APIs and upgrades for Java
enterprise security, JSON binding, HTTP/2 server push, and more.
Cant get enough of Maven? Neither can we! Learn how plugin goals map to
the Maven lifecycle, then get started with four plugins that will take your
projects to the next level, including Maven Site from GitHub and Maven Cargo
In Java 8, lambda expressions are treated as a type of functional interface.
Learn how this design decision supports backward compatibility with older versions of
the language, then see examples of both custom and built-in functional interfaces in a Java program. Find out why using built-in interfaces is usually optimal, even in cases where a custom interface might seem more obvious.