Java Jersey Client 1.3 [Question] #548
pontamilselvan
started this conversation in
General
Replies: 1 comment
-
Hey there! Generally you should only create one of these for your application, and then use the right kind of key to match. The only time you end up creating multiple clients and repositories will be for batch processing that is using multiple threading, where each thread has its own context for a strategy. Your average web server or Android app or single threaded client side app should only ever have one instance of each. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I am using Java Jersey Client 1.3 and Core 1.3. My question is, every time we need to create instance for JerseyClient and ClientRepository ? or can use as singleton objects?
Beta Was this translation helpful? Give feedback.
All reactions