Jersey Client using java

In Jersey Client How to Maintain Cookies and Session ?How to GET post 2nd time using java?Please Provide sample code

Welcome mat

You refer to this perhaps?

Assuming your question relates to ERPnext that supports a REST API, what did you have in mind?

How to Maintain state Jersey Client after Login Using Session