« first day (3376 days earlier)      last day (1562 days later) » 

12:00 AM
You are in a maze of UUCP connections, all alike. (source)
 
 
3 hours later…
2:53 AM
dreams of electric sheep
 
 
2 hours later…
5:05 AM
 
 
1 hour later…
6:18 AM
0
Q: how to read dynamic values passed from jmeter from a text file in java?

cyberman123I'm performing load testing on my APIs using Jmeter. I'm making an Http Request and the response of that Http Request is passed as part of request body to my 2nd Http Request. There, I'm passing the dynamic values from a text file as follows :- Obj.txt "Details": { "Start": "2019-08-28T11:39...

 
@brotherofninth Welcome to the Java Chat, the room for Java enthusiasts! I'm Oak, one of the room's bots. If you want to ask a question, just ask it and someone will respond if they feel like it. But remember that this room is not a help desk or tutoring service! If you want to just hang out, then welcome aboard! Oh, and the room's full list of rules are posted here.
 
About the commons-ognl.jar, is this exists? I cant found it on the official site
The download page just had one sentence there: Coming soon (or not).
 
7:35 AM
@Michael fyi ensure that your windows OS has the latest security update. There is a huge vulnerability bug in Window's native crypto lib
 
8:01 AM
In our application A , we send a request to another application B. The request status is known to us by logging into B and only when the status is shown as completed, A is refreshed manually, say by clicking a button. I intend to remove the need for clicking this button in A, by implementing webhooks. So, this webhook would receive the status from B and when the status is 'completed', the webhook would send that status to A. I would like to know if this is a feasible requirement?
 
use a callback mechanism
When A wants to send request to B, do
1. prepare uuid
2. build/activate callback listener to listen to uuid for x time (in minutes, eg 3 minutes)
3. send request with callback url
4. let B process and on complete, activate callback (a new request)
5.1 when listener has response from b, expect
5.1.1. do verification (uuid check)
5.1.2. if valid, clear uuid and do refresh A
5.2. when listener does not have a response from B once the interval has elapsed, remove uuid and deny all future request with that uuid
 
@KarelG ok. Thank you for the detailed information. I have a lot of R&D to do now.
 
@Sara it really depends if A is a web app or not
 
@KarelG yes, both are web apps
 
if it is not a web app, then it does not work unless both applications are within the same network environment and that the local firewall (assume that A is a client app) has to allow such traffic
but ok then you can use that
there are other mechanisms for this if A was a client application (eg. polling)
 
8:14 AM
@KarelG This is not yet requested by my manager. This is totally my idea. They are not interested in polling either. I have recently read about webhooks and thought it might help in this context.
 
I am just offering approaches :P
 
yeah. Also, can we implement webhooks in java application
 
well, webhooks are a sorta callback handlers. But the difference is that A does not have to be aware that A has sent to B and is expecting for a response for B.
webhooks are designed to get requests from other endpoints, no matter of the content of the data
it then processes the data
 
so, won't webhooks be better in my case?
 
so that endpoint has to listen constantly (while in your situation, it does not have to do it)
in context of ... ?
 
8:17 AM
by bad.
I am looking at an implementation that would add a little VAS to our A.
anything should be ok, except polling, since it was already overruled by my manager
 
that callback mechanism is useful I believe. But that depends of your manager :P I am a flexible one. Not sure about yours
 
i'll give a try; it would be learning for me in either case
 
8:45 AM
can someone please help with stackoverflow.com/questions/59782276/…
 
try to json deserialize the json string
 
9:07 AM
just added a class named with ContractCreator
then added a method assignContract(Invoice invoice)
my creative-naming module is not working well atm :3
 
@cyberman123 you can just search for something like "java json deserialize"
gson and jackson should pop up quite easily
 
 
4 hours later…
12:46 PM
posted on January 20, 2020

archive - contact - sexy exciting merchandise - search - about ← previousJanuary 20th, 2020nextJanuary 20th, 2020: In researching this comic I found out someone wrote an unofficial sequel to "The Catcher in the Rye" and Salinger succeeded in getting it banned from publication in the States. It was called "60 Years Later: Coming Through the Rye"! Amazing.– Ryan

 
 
2 hours later…
2:54 PM
@KarelG Yeah, I read about that. I assume Windows Update will install it automatically.
 
it does unless you have win enterprise and it got disabled by a savy-yourself
 
3:14 PM
@KarelG Nah, don't use that.
 
 
1 hour later…
4:20 PM
hello guys, i wanted to ask, is it normal to run app on localhost pc, i mean on your own machine, cause i was trying to find hosting but there is only for php python
 
@AsylzatAzaev Welcome to the Java Chat, the room for Java enthusiasts! I'm Oak, one of the room's bots. If you want to ask a question, just ask it and someone will respond if they feel like it. But remember that this room is not a help desk or tutoring service! If you want to just hang out, then welcome aboard! Oh, and the room's full list of rules are posted here.
 
you can host your application on your machine
but you should only do that for testing purposes
for a live server, you generally want to have a server hosted by some company
which do the exact same thing... except it is their own machine
 
 
2 hours later…
6:13 PM
@Wietlol That's a nice graphic! Can I use it in the Google Drive class that I teach?
 

« first day (3376 days earlier)      last day (1562 days later) »