Anonymous » 04 мар 2024, 10:34
Последнее сообщение Anonymous «
Anonymous »
I'm just learning React Native. I have a JAR extension file written in Java. I want to integrate this file into iOS within React Native. Can I do this? Or in which language should I develop the JAR package to do this?
Anonymous » 04 мар 2024, 10:32
Последнее сообщение Anonymous «
Anonymous »
I have **Batch ** schema which contains List of other schemas . Those schemas are declared in other schema files so when I publish Batch to Kafka Schema registry registering only Batch schema ingoring all implicit one's.
Anonymous » 04 мар 2024, 10:25
Последнее сообщение Anonymous «
Anonymous »
I'm working on a chess project in Java using Java Swing for the graphical interface. I have a Board class that extends JPanel, where I draw the chessboard and the pieces, and I've implemented mouse interaction to be able to move the pieces on the...
Anonymous » 04 мар 2024, 10:24
Последнее сообщение Anonymous «
Anonymous »
We have a scenario where we need to update userPriceGroup using an admin account. One product in our site can have multiple prices depending on user tier. The problem happens when we call this endpoint of ProductsController,...
Anonymous » 04 мар 2024, 10:15
Последнее сообщение Anonymous «
Anonymous »
In my application I retrieve from the database some metadata and from it I build an instance of MyJob class implementing Runnable interface and then submit it to ThreadPoolTaskScheduler. Here is the code that does it.
Anonymous » 04 мар 2024, 10:10
Последнее сообщение Anonymous «
Anonymous »
I used spring security for the login of my application. I used Maven, Spring Boot 3.2.3 and Java 17. I have got below error when Compilation of my project.
java: cannot find symbol symbol: class WebSecurityConfigurerAdapter location: package...
Anonymous » 04 мар 2024, 10:06
Последнее сообщение Anonymous «
Anonymous »
I have a requirement to generate random numbers, specifically using the Mersenne Twister algorithm, in either Java/Kotlin (for Android). I've tried using the Apache commons-math Mersenne Twister implementation which works great to generate random...
Anonymous » 04 мар 2024, 10:04
Последнее сообщение Anonymous «
Anonymous »
I'm encountering an issue when remotely invoking a Java API deployed on a Windows server. While I can successfully make the call using Apipost(A software similar to Postman) and receive data encoded in UTF-8 without any garbled characters, I face a...
Anonymous » 04 мар 2024, 10:02
Последнее сообщение Anonymous «
Anonymous »
I have a fo:table inside fo:inline-contaner. My question is ,How to place overflowing table below in the page or in the next page. I am using apache xmlgraphics 2.7 Here is a short code extract:
Anonymous » 04 мар 2024, 09:58
Последнее сообщение Anonymous «
Anonymous »
I'm currently using HP Fortify tool to scan for security vulnerabilities in a project. At the time of scanning Fortify's CLI allows build tools to integrate into its CLI commands so as to build and simultaneously scan the files present in the...
Anonymous » 04 мар 2024, 09:57
Последнее сообщение Anonymous «
Anonymous »
I am trying to take data from API and save it in Array List which is used in Recycler View adapter. But it's not showing. As user searches, on every text change an API call gets generated and we get data from API that I am trying to add that data...
Anonymous » 04 мар 2024, 09:55
Последнее сообщение Anonymous «
Anonymous »
I can't believe it wasn't asked already, it sounds very basic, but I searched on SO and haven't found such a question (it's not this one since it's actually about the order of invoked constructors)
When is an object created in Java (from the GC's...
Anonymous » 04 мар 2024, 09:55
Последнее сообщение Anonymous «
Anonymous »
I have a user Entity and Article Entity. The fetch type of articles is LAZY. I dont need to load articles all the time but I have a case in which I need to load the user favorites articles. How can I do it conditionally?
@ManyToMany(fetch =...
Anonymous » 04 мар 2024, 09:54
Последнее сообщение Anonymous «
Anonymous »
A microservice of ours is calling an endpoint of a partner microservice. But because of changes in the partner microservice, now the result, that was provided by one endpoint, will be provided, when calling two different endpoints. That is why I...
Anonymous » 04 мар 2024, 09:50
Последнее сообщение Anonymous «
Anonymous »
I'm trying to create a snmp4j agent that can respond to snmp v3 walk (getBulk) requests. I managed to get the SampleAgent class from snmp4j library running and capable of responding to snmp get requests. however when it comes to getBulk requests it...
Anonymous » 04 мар 2024, 09:45
Последнее сообщение Anonymous «
Anonymous »
I am trying to fetch users location based on some user action. I am using LocationManager , LocationListener to get the gps co-ordinates . Even when I am using a device with stable connection it takes 15-20 seconds just to fetch the co-ordinates. Is...
Anonymous » 04 мар 2024, 09:43
Последнее сообщение Anonymous «
Anonymous »
I have a lot of calls, I use the grpc protocol to transmit voice streams, but maybe 1 in 100 sessions will have a call connection problem, and when the client tries to connect to the server, the client sends a link request, but the server does not...
Anonymous » 04 мар 2024, 09:27
Последнее сообщение Anonymous «
Anonymous »
Sorry for the dumb question, I'm new to this one. while I'm updating my javax to jakarta in dependency(maven) import javax.crypto.BadPaddingException; import javax.crypto.Cipher; if I turn this into jakart.crypto the imports are not optimising, can...
Anonymous » 04 мар 2024, 09:27
Последнее сообщение Anonymous «
Anonymous »
I have a Class variable that holds a certain type and I need to get a variable that holds the corresponding array class. The best I could come up with is this:
Class arrayOfFooClass = java.lang.reflect.Array.newInstance(fooClass, 0).getClass(); Is...
Вы можете начинать темы Вы можете отвечать на сообщения Вы не можете редактировать свои сообщения Вы не можете удалять свои сообщения Вы можете добавлять вложения