DZone
Thanks for visiting DZone today,
Edit Profile
  • Manage Email Subscriptions
  • How to Post to DZone
  • Article Submission Guidelines
Sign Out View Profile
  • Post an Article
  • Manage My Drafts
Over 2 million developers have joined DZone.
Log In / Join
Refcards Trend Reports
Events Video Library
Refcards
Trend Reports

Events

View Events Video Library

The Latest Coding Topics

article thumbnail
MuleSoft APIkit Router - QueryParam and Header Strict Validation Configuration
Hello Muleys, Here's another interesting article on how to restrict additional queryParams and headers that are sent other than those defined in RAML. We all do the test if the required parameters are working fine or not but we forget to test if unnecessary parameters sent along with required parameters. What happens if unwanted parameters are sent? There are chances that attackers might send some thousands of queryParams and Headers with large content. In that case, your application will crash. So what to do? Here's the solution: I have designed a basic RAML with the below resource : When you download the RAML and generate flows, There's an option to restrict additional parameters or headers in APIkit Router Module configuration : By default the configuration is disabled. You have to enable the strict validation config as below: Now your application will not be allowed to pass additional fields: Removing unnecessary fields will give a successful response: Check out this video for the live demo:
March 24, 2021
by Sravan Lingam
· 12,009 Views · 3 Likes
article thumbnail
Always Name Your Thread Pools
Make life a little easier for the non-Spring folk.
March 24, 2021
by Bozhidar Bozhanov
· 10,146 Views · 3 Likes
article thumbnail
Hibernate Naming Strategies: JPA Specification vs Spring Boot Opinionation
In this article, look at Hibernate naming strategies.
March 23, 2021
by Aleksey Stukalov
· 5,721 Views · 20 Likes
article thumbnail
The Data Access Layer in Jmix: JPA on Steroids
With Jmix JPA metadata, you get advanced security, soft delete and generic REST and GraphQL out-of-the-box almost without coding.
Updated March 23, 2021
by Andrey Belyaev
· 6,720 Views · 17 Likes
article thumbnail
Top 18 Python Pattern Programs You Must Know About [Snippets]
We’ve sorted a list of multiple ideas for pattern printing in Python to start your preparations with multiple kinds of Python pattern programs in this list.
March 23, 2021
by Shriram K
· 8,560 Views · 2 Likes
article thumbnail
Java Game Programming For Beginners: Where to Start
Java game programming is an industry in technology that is always growing. If you're wondering where to start in developing a game in Java, this is the article for you.
March 23, 2021
by Kartik Prajapati
· 11,056 Views · 7 Likes
article thumbnail
Quickly Find Your Java Application Process ID
We discuss how to find your Java application process ID quickly. For certain monitoring tools like yCrash, you need to pass your application process ID as input.
March 23, 2021
by Ram Lakshmanan DZone Core CORE
· 27,423 Views · 2 Likes
article thumbnail
A Case Study: Dancing With the @Transactional Annotation in Exceptional Cases
A case study on using the @Transactional annotation in your Java code and how it can both help, and potentially hinder, your development process.
March 23, 2021
by Arzu Behiye TARIMCI
· 4,943 Views · 6 Likes
article thumbnail
Lazy Loading in Web Applications: JS, Angular, and React
For whichever flavor of JS you end up using.
March 22, 2021
by Gilad Maayan
· 13,367 Views · 7 Likes
article thumbnail
JBoss Deployment War Error on Startup
We take a look at how to quickly solve the frustrating error that occurs when a JBoss server doesn't start up properly.
March 22, 2021
by Muhammad Ali Khojaye
· 40,516 Views · 2 Likes
article thumbnail
How to Run an Elastic MapReduce Job Using a Custom Jar on Amazon EMR
Learn how to develop an application using Java and the MapReduce framework for Hadoop, then execute that app in Amazon's Elastic MapReduce.
March 22, 2021
by Muhammad Ali Khojaye
· 17,638 Views · 4 Likes
article thumbnail
Getter Setter: To Use or Not to Use?
An experienced Java developer goes over when, and when not, to use getters and setters as well as accessor methods in your codebase.
March 22, 2021
by Muhammad Ali Khojaye
· 111,468 Views · 7 Likes
article thumbnail
MongoDB With Spring Boot: A Simple CRUD
In this blog, we are going to explore MongoDB with Java Spring Boot. We will create a simple CRUD API to interact with our Mongo database.
March 21, 2021
by Upanshu Chaudhary
· 17,540 Views · 5 Likes
article thumbnail
Spring Custom Validations
Spring makes our lives easier by providing us with built-in validations, but sometimes these are not enough. We will have a look at how we can add custom validations.
March 21, 2021
by Upanshu Chaudhary
· 17,099 Views · 2 Likes
article thumbnail
How to Convert CSV to XML in Java
Optimize your online data sharing by converting CSV files to XML using an API in Java.
March 21, 2021
by Brian O'Neill DZone Core CORE
· 11,486 Views · 1 Like
article thumbnail
Spring Boot: API First Approach
I describe how I created the API definition, then how I created the server and client code from the API definition. Then I will talk about some of the problems I faced.
March 21, 2021
by Amrut Prabhu
· 18,165 Views · 8 Likes
article thumbnail
What to Expect From Zero-Bundle-Size React Server Components
I have tested the demo version in my project with maps and here is what I can say about the technology and its current pros and cons.
March 20, 2021
by Oleksii Demennikov
· 9,524 Views · 3 Likes
article thumbnail
React vs. Vue in 2021: Best JavaScript Framework
We’ve put together this convenient guide to help you better understand the use cases of Vue vs. React and determine which one will work best for your next project.
March 19, 2021
by Elizabeth Lvova
· 100,333 Views · 21 Likes
article thumbnail
Rapidly Develop Java Microservices on Kubernetes With Telepresence
Tutorial: Build a Kubernetes development workflow with a Java microservice
March 19, 2021
by Daniel Bryant
· 8,287 Views · 4 Likes
article thumbnail
Let's Think Kafka Cluster Without Zookeeper With KIP-500
Right now, Apache Kafka utilizes Apache ZooKeeper to store its metadata. Managing a ZooKeeper cluster creates an additional burden on the infrastructure and the admins.
March 19, 2021
by Siva Prasad Rao Janapati
· 7,080 Views · 3 Likes
  • Previous
  • ...
  • 406
  • 407
  • 408
  • 409
  • 410
  • 411
  • 412
  • 413
  • 414
  • 415
  • ...
  • Next
  • RSS
  • X
  • Facebook

ABOUT US

  • About DZone
  • Support and feedback
  • Community research

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • Become a Contributor
  • Core Program
  • Visit the Writers' Zone

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 3343 Perimeter Hill Drive
  • Suite 215
  • Nashville, TN 37211
  • [email protected]

Let's be friends:

  • RSS
  • X
  • Facebook
×