as follows, funcA calls funcB, so @ Transactional on funcB is invalid my understanding: funcA is in a transaction, and funcB is an internal part of funcA, so funcB is in the transaction where funcA is located but this does not seem to be the case, why...
I didn t want to register repeatedly, but wanted to integrate into a microservice, so I began to search, think, and design, but I encountered a key problem as I walked: where should I put my user data? the reason for this confusion is to consider t...
as follows, funcA calls funcB, so @ Transactional on funcB is invalid my understanding: funcA is in a transaction, and funcB is an internal part of funcA, so funcB is in the transaction where funcA is located but this does not seem to be the case, why...
I didn t want to register repeatedly, but wanted to integrate into a microservice, so I began to search, think, and design, but I encountered a key problem as I walked: where should I put my user data? the reason for this confusion is to consider t...
I didn t want to register repeatedly, but wanted to integrate into a microservice, so I began to search, think, and design, but I encountered a key problem as I walked: where should I put my user data? the reason for this confusion is to consider t...
except for the foreground, the ajax timeout can be set can the background server also set the timeout for each ajax request? Not the timeout of the session session, the 5-minute timeout set by my front desk, but the browser automatically displays th...
there are a series of time points, for example, in a list,list (09 list 45, 12 lane 15, 12 list 30, 13 list) do timing tasks at these time points, and this list may change. So what is the better way to do this in java? Because the intervals between diffe...
there are currently thousands of messages stored in mq. Integrated into the project, after each startup, only 2 pieces of consume can be dropped, and it will not be consumed automatically. But to bring out the consumer alone and become a pure to the pro...
when sending a MQ message using stream, if the message is not consumed, you want the message to be saved in rabbitMQ, and when the consumer starts, you can go to MQ to get it. I would like to ask how to implement it: spring.cloud.stream.bindings.creat.d...
when sending a MQ message using stream, if the message is not consumed, you want the message to be saved in rabbitMQ, and when the consumer starts, you can go to MQ to get it. I would like to ask how to implement it: spring.cloud.stream.bindings.creat.d...
I m going to use springboot to develop background for app now the requirement is that sessionid is encapsulated in token, and session is stored in redis app with token on each request. I hope I can get the session of the current user by parsing the s...
junior internship, graduating more than half a year, taking over some small projects, the existence of the service interface in the current project makes me feel a little bit. pain in the egg. maybe it s because the outsourcing company is survival-o...
from jdbc to hibernate, from hibernate to mybatis, has been numb to follow the trend, using for work use. I now have an idea to encapsulate and develop using jdbc+redis on the basis of JDBC, so that I can ravage jdbc in my own way I wonder if it is ...
recently use jquery s ajax to send Json data to the Java background, because the default requested ContentType is application x-www-form-urlencoded;charset=UTF-8, resulting in an extra "= " at the end of the Json data received by the background. now t...
what we used to do is to add multi-thread locking. In fact, we only need to add a synchronized, but how can we ensure that only one process is writing if there are several different java programs? is it okay to use a file lock? FileChannel fc = fi.g...
I have reported so many mistakes: com.sun.jersey.api.client.ClientHandlerException: java.net.ConnectException: Connection refused: connect Caused by: java.net.ConnectException: Connection refused: connect 2018-11-22 21 br 1312.777 WARN 10848-[main] c...
is currently working on the microservice architecture. Gateway registers and discovers with node-proxy. service service may have node and spring boot. database mysql, cache redis. at present, it is mainly stuck in the communication between service...
recently upgraded a service from spring 4 to spring 5, but the rmi call returned a null pointer. I wonder if the rmi call failed because the service providing the rmi call also used different versions of spring 4 spring? ...
problem description A controller, has been added to the gateway layer to manipulate the cache. Due to the file upload garbled problem, servlet-path configuration was added to solve the garbled problem. At this point, the garbled problem was solved, bu...
Project description 1.Spring Boot+Spring Cloud 2. The upload service uses fastDFS 3.upload micro-service port 8089 4. Local host mapping 127.0.0.1 upload.example.com 5.nginx proxy upload.example.com to port 8089 problem description use http:...