If you are like the majority of Java developers then you will have wasted a lot of time writing the same connectivity code over and over again. I used to spend days developing, debugging, and optimizing such connectivity logic and even though frameworks like Spring provide abstractions, the repetitive nature of such work was unavoidable.
Is this you? As a journalist, you can create a free Muck Rack account to customize your profile, list your contact preferences, and upload a portfolio of your best work.
Claim your profile
Articles by Alex Theedom
Keeping Up With Digital Transformation: Career Advice For Java Professionals
@alextheedomAlex Theedom Principal Technical Instructor MuleSoft If you are an experienced Java developer and you want to know how to get ahead in these unprecedented times, then adding digital transformation skills to your resume will give you the boost you want. In this article, I will define digital transformation and discuss how to leverage your Java expertise to gain an advantage in this high-demand area. What is digital transformation?
Property Files in Mule 4
Join the DZone community and get the full member experience. Join For Free Main Points: Property files allow the centralization of properties. Property placeholders used instead of hard coding. Property file location must be configured in global elements. Property files can be constructed in Java or YAML format. Centralization of Application Properties It is best practice to centralize the management of properties rather than hard code values at the location of use.
Access Mule Application Properties With DataWeave
Join the DZone community and get the full member experience. Join For Free Main Points DataWeave script can reference application properties. DataWeave expressions can reference properties in the configuration. Configure a Property File Firstly, you will need to configure a property file in which application properties are defined. There are steps parts to follow: Create the property file in which the application properties are defined.
DataWeave: The mapObject Function
Join the DZone community and get the full member experience. Join For Free Main Points The mapObject takes an object as an input and outputs an object The mapObject transforms each key/value pair in the object What Is the mapObject Function Used For? The mapObject function is used to transform the data contained in an object, in the same way that the map function transforms the elements of an array.
DataWeave: The map Function Explained
Join the DZone community and get the full member experience. Join For Free Main Points: The map function transforms data If iterates over the elements in an array It applies a transformation to each element Applies only to array input It can only output an array What Is the map Function Used For? The map function is used to transform the data contained in an array. It does this by iterating over the elements in the array and applying a transformation to each element.
Understanding DataWeave's Pluck Function
Main Points the pluck function iterates over each key/value pair of the input object. it retrieves the keys, values, and indexes from the input object. input to the pluck function is an object, and output is an array. What Is the Pluck Function Used For? The pluck function is used to retrieve the key, value, and index from an object and output the result to an array.
Contrast DataWeave and Java Mapping Operations
Join the DZone community and get the full member experience. Join For Free Main Points DataWeave 2.0 provides mapping capabilities. Java and DataWeave can achieve the same mappings. DataWeave mapping function is less verbose than Java. DataWeave Map Function The DataWeave 2.0 (Mule 4) map function shares similarities with the map() method from Java's Stream class.
Four Ways to Negate a Predicate in the Steam API's Filter Method
Join the DZone community and get the full member experience. Join For Free There are various ways to negate the predicate passed to the filter method of the Stream API. In this blog post, I present four ways to code this negation. 1. Use the Negate Method of the Predicate API The first approach is to take advantage of the Predicate API's negate() method.
Supercharge Your Java Career With Digital Transformation
Join the DZone community and get the full member experience. Join For Free If you are an experienced Java developer and you want to know how to get ahead in these unprecedented times, then adding digital transformation skills to your resume will give you the boost you want. In this article, I will define digital transformation and discuss how to leverage your Java expertise to gain an advantage in this high demand area.
RESTful API Design Driven Approach
In this tutorial I will show you the fundamentals of designing a RESTful API specification by applying REST principles and best practices, then you’ll be ready to try my online tutorial: How to design a REST API with API Designer? If you already know what is meant by API in the context of RESTful web services, you can skip to the next section. If not, read on.
Jakarta EE: A Clean Slate
The announcement that Jakarta EE cannot use the javax.* namespace is great news and provides Jakarta EE with a clean slate on which to build and innovate the future of Enterprise Java. The Original Proposal It had been envisioned that the javax.* and jakarta.* namespaces would coexist after Java EE 8 and, as it evolved, the jakarta.* namespace would be used for new features of exiting APIs and the innovation of new APIs. This would have ensured backward compatibility from the start.
Everyday Java tools
Many years ago, when I was in high school and thinking of pursuing a career as a fiction writer, I had a subscription to a magazine called Writer’s Digest. One article, I remember, was a column about “bits of string too small to save,” the columnist’s way of describing a kitchen junk drawer overflowing with all the stuff that simply didn’t belong anywhere else.
Get to Know Customization: JSON Binding Overview Series
Let’s take a look at how the annotation model and runtime configuration work when customizing the JSON Binding serialization and deserialization processes. Using the annotation method, it’s possible to customize the default serialization and deserialization behavior by annotating fields, JavaBean methods, and classes. For example, you could use the @JsonbNillable annotation to customize null handling and the @JsonbPropertyOrder annotation to customize the property order.
Get to Know JSON Binding (Part 2)
The Java API for JSON Binding (JSON-B) 1.0 strengthens the Java EE platform's overall support for the JSON data interchange format. Already, the Java API for JSON Processing (JSON-P) 1.1 has proved popular, and together, they form the perfect partners that fill a long-standing shortcoming in Java EE's JSON capacity. The JSON-B specification codifies industry practices and methodologies that have become commonplace.
5 things you didn't know about ...: Java 10
5 things you didn't know about ... Local-variable type inference is the controversial headliner, but Java 10 brings welcome changes to garbage collection and container awareness in the JVM Java™ developers are accustomed to waiting years for a new Java release, but the new, high frequency release cadence changes all of that. It's been just six short months since Java 9 emerged, and now Java 10 is already knocking at the door. In six more months we'll be welcoming Java 11.
Getting to Know JSON-P 1.1 (Part 1)
Java EE 8 includes an update to the JSON Processing API and brings it up to date with the latest IEFT standards for JSON. They are: I will cover these topics in this mini-series. To get started with JSON-P, you will need the following dependencies from the Maven central repository. A JSON Pointer defines a string expression that references an element within the hierarchical structure of a JSON document.
What is JavaServer Faces (JSF) | Java Code Geeks - 2017
This is a two-part series in which I look at JSF 2 and how it fits into the Java EE ecosystem. In part 1 I introduce the basic idea behind JavaServer Pages (JSF) and in part 2 I will introduce the Facelets declaration language. When building a web application we provide the end user with a way to interact with our application and this is what JSF provides.
Show More
loading
Actions
Is this you?
As a journalist, you can create a free Muck Rack account to customize your profile, list your contact preferences, and upload a portfolio of your best work.Get in touch with Alex
Contact Alex, search articles and posts on X, monitor coverage, and track replies from one place.
Learn more about Muck Rack