Java
-
Java – bhsm servlet does not allow the browser to cache user names
I have a requirement that the value should not be cached in the server, and the browser should not be cached as a cook…… -
JavaFX CSS: custom functions
I want to know if there is a way to add custom functions to JavaFX CSS. My main purpose is to create a function to get…… -
Java – robolectric: the looper that runs the handler in my case
I have a very simple class. It has a handler. When it processes a message, it sends a new message again: public class …… -
Java – implement interface comparator
Assuming I have a simple interface, I want to compare based on some functions: interface Organism extends Comparable&l…… -
Java – performance degradation upgrade from hazelcast 2.5 to 3
Due to known (fixed) errors in hazelcast 2.5, we have determined that this will be the next upgrade candidate for our …… -
Java – spring general rest controller: parsing request body
I have the following controllers: @RestController @RequestMapping(value = "/{entity}",produces = MediaType.APPLICATION…… -
Java – gradle without main class?
Can I use gradle without specifying the main class? I want to create a library and use gradle to manage my dependencie…… -
Java: how can an impossible NullPointerException still occur?
I have just received the following error report about our software: java.lang.NullPointerException at java.util.Ar…… -
Java – how to unit test static resources provided by spring resourcehandlerregistry
I'm trying to unit test a new spring MVC project I have a service for index JSP home controller passed the test I am t…… -
Java – no log output on contextdestroyed using servletcontextlistener and slf4j
I'm trying to write a message to the logger (vaadin) servlet has stopped, which uses slf4j and log4j2 For this purpose…… -
By using Java util. Date may have underflow errors
This Code: package test; import java.util.Date; public class DateUnderflow { public static void main(String[] a…… -
Java – use POM to wrap the spring boot of agrigator
Is it possible to use the spring boots Maven plug-in command spring boot: run when the parent POM of the project uses …… -
Java – spring data rest JPA – unable to delay loading of onetomany bidirectional relationship
I have two entities, company and job, with one to many two-way relationship My problem is that I can't be lazy to load…… -
Java – about web More information about tags in XML
I'm looking for standards for datasource configuration for Java EE applications, but everything I find on the Internet…… -
Java client to webrtc
Is there a library or method to get webrtc and put it into a Java application This means that the client is completely…… -
Java – use @ hide to hide methods / classes in annotations
I'm developing a library (jar) for Android. The situation I encounter is that I want my classes or methods to be acces…… -
Java – spring HATEOAS, pathvariable and saxserialization
I'm actually developing a small application to train, and I have a problem using spring HATEOAS and pathvariable In fa…… -
Java – @ compoundindex does not work in spring data mongodb
I am using spring data mongodb to process applications I want to create a composite index on one of my models I added …… -
Java interprocess communication in 2015 (without boiler board)?
My use case: >Process-1 "database", load 1GB of data from the data file into memory (only 30-60 seconds) > proce…… -
Java – spring cannot propagate transactions to the recursive action of forkjoin
I am trying to implement a multithreading solution so that I can parallelize my business logic, including reading and …… -
Java – opencv with arbitrary contour transforms the shape into a rectangle
The short question is how to use OpenCV to convert the following shapes into rectangles? Notes: >Shape contours are…… -
Java – print to physical form – requires basic understanding
I'm not sure I understand g.drawstring I have a program for writing pre - printed forms Users claim that printing is i…… -
Java – replace() does not work with multiple fragments
Main activities package example.antonio.activitydemo; import android.os.Bundle; import android.util.Log; import andro…… -
Why does the native library use 1.5 times more memory when using java than when using C-program under Linux?
I wrote a library in C, which consumed a lot of memory (millions of small pieces) I wrote a program that uses this lib…… -
Java – why does windows lookandfeel make fonts too small?
Native windows lookandfeel in Java 6 seems to have incorrectly resized some fonts Test procedure: import java.awt.*; i…… -
Java – use the Camera2 API to rotate the preview direction in landscape mode clockwise
I wrote a camera application using the Camera2 API But I don't see the same problem in the potrait model What is the c…… -
Java – fix thread pool thread blocking when enough tasks are submitted
I have a process that needs to calculate many small tasks in parallel, and then process the results according to the n…… -
How to delete these CSS warnings in JavaFX custom controls?
I am currently developing a custom JavaFX 8 control and will provide the first version when Oracle releases JDK U20 Af…… -
Java – recursion: how to try different combinations of integers 1 to 9 and (partially) reverse sequences to restart in case of error?
Language: Goal: General: solve a Sudoku game Specifically: make a recursive method, solve (): >Check whether the nu…… -
Java – Maven: in POM Configuring parallel builds in XML
Maven has the ability to perform parallel builds: mvn -T 4 clean install # Builds with 4 threads mvn -T 1C clean insta…… -
Java – what is a native sandbox?
I found that "restricted environment with operating system enabled (native sandbox)" was added to 8u51's Java control …… -
Java – communication between Jasper and different applications
I have Jasper reports server (installed at www.example. Com) and a separate Java / JSP Application (installed at www.e……