1d
comment How Send SSL Certificate With Java HttpURLConnection
possible duplicate of How can I use certificate authentication with HttpsURLConnection?
May
22
comment Customize SOAP header in Java
oh dear, what kind of badly-written server cares about the particular namespace prefix?
May
21
answered javax.net.ssl.SSLHandshakeException: Remote host closed connection during handshake while load Test using JMeter
May
14
comment Abstract SOAP WS
possible duplicate of WSDL abstract vs concrete messages
May
7
awarded Notable Question
May
6
answered Separate application logic threads and servlet threads in a WAR project
May
6
comment How to asynchronously force a file using AsynchronousFileChannel
Is there any point doing this asychronously? The file will be written eventually, but when your thread carries on, it doesn't have that guarantee if it's asynchronous.
May
6
reviewed Looks Good Regular Expression for Percentage of marks
May
6
reviewed Looks Good Sort arraylist in specific order
May
6
answered Value assigning to IfcQuantityLength instance in Industry Foundation Classes
May
5
comment Null pointer exception depending on statement chaining in Mockito?
If you find it useful to do both, then definitely continue to do so. I usually find when I get data-access code wrong, it's because I misunderstood how the database worked, and so I don't find it out until I use a real one.
May
5
comment Null pointer exception depending on statement chaining in Mockito?
IMHO, you should test this kind of code against a real database with an integration test, instead of mocking
May
5
answered Cargo:run If you specify a containerId, you also need to specify a containerUrl
May
4
comment Make working jar file
I recommend Spring Boot if you want to create a runnable jar from a Spring project
May
4
comment Cargo:run If you specify a containerId, you also need to specify a containerUrl
I think the Cannot find 'containerURL' problem is just a case-sensitivity issue, try containerUrl
May
1
comment Autowired beans into java List, and mock it
In addition to the other comments which are spot-on, you generally shouldn't mock a list with Mockito. Just create a real list with Arrays.asList or similar.
Apr
29
comment How to avoid StaleElementReferenceException
what line is failing?
Apr
28
comment Java parameter to load class from non internal path
I suspect you are having trouble with a non-Oracle JVM (IBM J9?). Try setting the DocumentBuilderFactory (see Q14 jaxp.java.net/1.4/JAXP-FAQ.html)
Apr
27
answered maven build projects in sequence automatically in my case
Apr
20
awarded Caucus
1 2 3 4 5