Recent Posts
-
Java – how to conduct transactions in the service layer
There is a Dao layer in my project This is my usersdao interface, which implements usersdaoimpl public interface Users…… -
Java – the calculator does not handle two operator equations
I am developing a calculator application and all functions have been turned off The only problem is that when I enter …… -
Java – JUnit tests the hypothesis of theoretical failure
I'm implementing a JUnit test (version 4.11) that will run several times with different parameters So I use the JUnit …… -
Java – although there are no errors in the log, the email sent on Google App Engine is invalid
[I looked at all the questions related to this topic on so, but none of them seemed to explain the behavior I saw] I h…… -
Java – spring, oauth2: Lost authentication details after refreshing token
I have two spring applications: authentication services and business services When a web service user authenticates on…… -
Java – the host who insists on using a dagger in the activity
When you inject a presenter into an active range rotation, how do you keep the presenter active? My understanding is t…… -
Java – how to build a jar for a specific operating system using Maven?
I am using Maven for eclipse to build a jar that can run on a remote server My system is running OS X and the server i…… -
Java – how to use Facebook to log in and get user information to send my remote database from Android Applications
Hi, I'm a new Android Developer. I need to save user information on my remote database I'm going to use Facebook and G…… -
String garbage collection in Java: or why consume so much memory
Solved I try to understand why one of my unit tests consumes so much memory The first thing I do is run a test and mea…… -
JAVA EWS item. Load throws request failed Still assign connections
I hope someone can help me This is the code snippet that threw the exception: if (mailList != null){ f…… -
Java – causality requirements in JMM
I try to understand JMM's causality requirements This part of JMM describes https://docs.oracle.com/javase/specs/jls/s…… -
Java – how does limit in MySQL query make it possible to cancel flow
I want to know how the limit in the query prevents the application thread read from the MySQL stream from hanging duri…… -
Java – Elliptic Curve Cryptography (ECC) with elastic castle for asymmetric encryption
I want to use ECC to exchange session keys for long-term data transmission Ecc-192 bit (curvename: prime192v1) shall b…… -
Database – development using virtual machines
I have recently been given the role of managing or developing the environment, including: >To manage the version co…… -
Java – using LinkedHashMap’s multidimensional byte array… Is there a better way?
I'm new to Java programming, so please forgive me for my new question:) I'm using LinkedHashMap as a file cache for th…… -
Java – trustore with multiple host certificates
I have a working demo where the applet connects to the server ("a") via HTTPS The certificate chain of the server is l…… -
How to keep the selected value of the drop-down list in Java (struts)
I use three interdependent drop - down lists The user must select the first drop-down list Therefore, the second list …… -
Java – how to resolve the “illegal conversion” exception when inserting an XML column?
I have a table that contains columns of XML type When I insert records into this table in a servlet running in WebSphe…… -
Java – how to copy as administrator in Windows 7
My requirement is to copy the updated jar to the application directory in program files when there is a new update Whe…… -
Java FileReader error
Hi, I'm a beginner of Java language It seems that my computer can't recognize FileReader at all (random classes don't …… -
Java – you cannot successfully create a project using GWT Maven plugin with GWT 2.2
I am completing a GWT project according to the documents of GWT Maven plugin and Google Web toolkit blog, but it is no…… -
Sending data from Java to C
I'm creating a program to send strings from a java client to a C server using Winsock2 I am using dataoutputstream to …… -
Java – best practices for providing entitymanager in OSGi applications
I've read a lot of other questions about my problem on stack overflow, but I can't find a suitable solution I develope…… -
Java – can I enforce strict validation of base64binary data in jax-ws?
tl; Dr version: is there any way to force jax-ws strict mode to reject invalid Base64 of base64binary XSD data type? L…… -
Selenium,Java,waitForCondition
I want to check the following (on IE8): After clicking the link, the pop-up window starts, and then I want to check wh…… -
Java – can I implement multiple callback interfaces in C?
Can I implement multiple callback interfaces in C for Java? Solution The answer is No You can only implement a callbac…… -
Java – get Japanese year name
I have a program to get Japanese character year names: Locale locale = new Locale("ja","JP","JP"); Calendar calendar =…… -
Java WSDL modifies or hides some properties on the web view
Is it possible for TLDR to create an "alias" for the IP address (for example, 0.0.0.0:8080 / services as server_1) or …… -
Java – restlet, GWT and sessions
What is the best way to establish a session between restlet Java API and GWT? In my application, the user will log in …… -
Java – Google Reader API authentication
I'm trying to use this snippet to authenticate on Google API services: RestTemplate restTemplate = new RestTemplate();…… -
Rest – asynchronous and wait in vuejs
I can't use vuejs, Axios, async / await and promise (?) Retrieve data from the rest - API <template> <div&g…… -
Java – get SOAP messages without invoking Web Services
Using the GlassFish Metro implementation of jax-ws specification, soap request messages can be generated for specific ……