As of now, my Java servlet successfully handles a serialized POJO sent through the request from a Java client. I am curious if it is possible to make a similar request using JavaScript and AJAX, passing the Java object directly instead of converting it to JSON first. The current process for my server receiving the Java object looks like this:
ObjectInputStream inData = new ObjectInputStream (request.getInputStream());
SomeClass mUser = (SomeClass) inData.readObject();