Explore

java × People ×
  • A quick way to find out how many digits are in a number

    When you need to determine the number of digits in a number, the first approach that...

  • screenshot

    AMQ - write a message to durable queue instead address

    I have an use case where we need to write a messages to durable/non durable queues...

  • screenshot

    Modifying elements within an array

    I dont get why this question's answer is BABA according to kira learning and BBBB when...

  • Java | Spring Boot - Library Upgrades Modernization

    In this article, we explore OpenRewrite by Moderne, an automated refactoring ecosystem that helps developers eliminate...

  • screenshot

    java otel configuration error opentelemetry-exporter-otlp not found on classpath

    I have definced following dependecies for otel in my java apache flink project: flinkShadowJar (platform("io.opentelemetry:opentelemetry-bom:1.35.0")); flinkShadowJar...

  • screenshot

    How spring boot and tomcat manage multithreading

    I would like to undarstand how tomcat and spring boot manage simuntenously requests on the same...

  • screenshot

    Pagination for data over 20000 results

    I have 20000 records coming from server (Salesforce) I am limiting only 5000 records per a...

  • screenshot

    Deserializing an array when using lombok

    I have a class containing an array of objects, and get the following exception when attempting...

  • screenshot

    How to force grouping the lessons for the same series of students in the same Timeslot and the same Room Timefold/Optaplanner?

    I want to enforce the student groups from the same series of students to be in...

  • YETI programming language

    Yeti is ML style functional programming language, that runs on the JVM. message = "Hello world";...

  • screenshot

    Approperiate tools and ways to write automated API testing in Java with login page

    I want to write automated API tests (in Java) for our micro-service. There are a lot...

  • screenshot

    Java Polymorphism & Object Assignment

    I'm new to Java and doing an exercise sheet, but there's something I could not understand....

  • screenshot

    how to use konanc to link a jar,The console shows that the jar package cannot be found

    I have a question. when i use konanc to link a jar, like that konanc -l...

  • screenshot

    Kafka consumer handling an exception with external api

    I have a work scenario that follows as such Producer loads data from a data lake...

  • screenshot

    Java keystore.load(null, null) very slow in Windows 10

    The loading of keystore in Windows is very slow. It takes around 10 seconds to load...

  • How to Mock Static Methods With Mockito

    Learn how to mock static methods with Mockito. Master the art of unit testing for robust...

  • screenshot

    How to speed up the While loop

    I am writing a Spigot plugin that, upon death, should revive the player in a random...

  • screenshot

    How to Read Status from InputStream of ESC/POS Printer in Java 17?

    I'm working on integrating a printer (TG2480-H) functionality into my Java 17 application using the ESC/POS...

  • screenshot

    Software Thrives Unless You Kill it First: Premature Optimization and a Tale of Java GC

    Don't go over the board with optimizations, let the language work for you. Story tell. Java...

  • screenshot

    C# Secure Messaging decryption method

    I'm trying to implement this decryption method from java to c#: https://github.com/ecsec/open-ecard/blob/f66ae48e7bbb2bb27a524e12d3febabf162c17c7/ifd/ifd-protocols/pace/src/main/java/org/openecard/ifd/protocol/pace/SecureMessaging.java#L198C3-L198C90 /** * Decrypt the...

  • screenshot

    Spring Security invalidates its own csrf token

    I am trying to secure my spring boot application with spring securitys own csrf library. When...

  • screenshot

    Broken bar does not supported when I sent JMS byte message to IBMMQ Cics

    Our application connects to IBM MQ CICS using JMS. It sends the CIH header, program name,...

  • screenshot

    JpaSystemException using Criteria, DB2zDialect and Pagination

    so I have the following setup of a spring-boot application: org.springframework.boot:spring-boot-starter:3.2.4 com.ibm.db2:jcc:11.5.8.0 java.version=21 org.hibernate.orm:hibernate-core:6.4.4.Final connecting to...

  • Switch Statements And Switch Expressions In Java: The differences

    Among the control flow statements in Java, Switch is arguably the most delicate. Many programmers, even...