Questions tagged [Java] (8047)

2
answers

How to hide the token information to the telegram bot to open a github repository?

The bot is written in java ide - IntelliJ IDEA. Smart people have said needs to be done through an environment variable. Just googled the manuals for frameworks and OS. There is all the difference between an environment variable and environment variable? Links will be very useful :)
eloy28 asked April 4th 20 at 14:20
2
answers

How to contact the micro service?

Do web application based on microservices. I need one micro service apply to the second. And actually a question how to do it better? Somewhere I saw libraries that allow you to send requests, but maybe there is built in spring mvc solution?
kamron.Ziema asked April 4th 20 at 14:18
1
answer

How to monitor changes in the databases?

Dear arcane, Hello. Need your advice. The algorithm to determine changes to the schema. Introduction: In a large system implementing microservice architecture, you often need a hot sync the data between the various components (executables). Usually the single point of truth for all components is the database, namely the sc...
otho.Rutherfo asked April 4th 20 at 14:17
0
answer

Is it possible to programmatically know the value of loginPage that was specified when configuring Spring Security?

Hi all. Studying Java, did a project, which configure HttpSecurity and, in particular, set its loginPage. @Configuration public class BasicConfiguration extends WebSecurityConfigurerAdapter { @Override protected void configure(HttpSecurity http) throws Exception { http ... .and() .formLogin().loginPage("/sign_in").permit...
Caden_Nicolas asked April 4th 20 at 14:11
1
answer

To obtain the result of the method and save it in a variable?

There is such code, I am passing two parameter and getting in the console the result of this method, I need to store the result in a variable, how to do it properly ? Please do not throw tomatoes, any help would be appreciated. The result of method execution screen public static String parameter(String serialNumber, Str...
bell_Gislason asked April 4th 20 at 14:10
0
answer

How and where to store the public key of the client?

I think to store in the map the SessionId value is the public key. Is it possible to do so? Or better as that of the other (the client also in Java)
donna.Feeney asked April 4th 20 at 14:06
3
answers

How to get a script written in java to work on any hosting?

Customers have mainly ordinary hosting with php and mysql. The tasks they set are usually implemented in java. Is it possible to provide the client a closed file that could be played on the hosting? for example, Kron runs it, and that reads data from the input file and writes something to the database? now it is written in ...
Carissa.Effer asked April 4th 20 at 14:06
0
answer

What are the tools to reverse the JVM?

Are there any convenient tools to reverse the JVM (bytecode, not the JVM) like IDA Pro and x64dbg?
herman.Ste asked April 4th 20 at 14:04
1
answer

Java Spring Boot to specify a workspace for the server?

Set up workspace for the server, when I use methods of Java files and folders are created where necessary, but when I use the methods of the spring, namely, the class MultipartFile, he starts to climb in temp, and finds a directory. java.io.IOException: java.io.FileNotFoundException: C:\TEMP\tomcat.13602058053278793214.8080...
oscar41 asked April 4th 20 at 14:03
3
answers

How to know whether password protected rar file?

Anyone has the experience of reading the header of rar files? Need to know, superimposed on the archive the password or not programmatically using Java.
Van.Kuhlman43 asked April 4th 20 at 14:02