rest - Callback time of an remote ejb request to a wildfly server -
i've created remote ejb bean application of mine runs on wildfly server. both, server , client connects server, run on same machine (my local computer). i've seen observed, beginning of call return takes little on 500 milliseconds on average, call on server side needs 3 milliseconds. these values observed new java 8 datetime api both on server , on client side. know is, if it's somehow possible decrease needed time until client receives result server. unfortunatly couldn't find meaningfull informations achieve on internet, reason why ask here.
on note, tried use rest technology make server calls client, needed time same difference of 1 - 10 milliseconds ejb call. because of guess reason slow call either ejb object instantiation or marshalling of parameters or results of calls.
thanks help!
biro
can please share client code ? think objective call single ejb multiple times. if case , rather creating object everytime, can cache (keep reference of) remoteobject @ client , reuse it.
Comments
Post a Comment