java Programming Glossary: serialisation
Performance issue using Javas Object streams with Sockets http://stackoverflow.com/questions/2251051/performance-issue-using-javas-object-streams-with-sockets Request and Response classes are very small and their serialisation is fast. I have tried naively adding socket.setKeepAlive true..
Difference between synchronization of field reads and volatile http://stackoverflow.com/questions/3103204/difference-between-synchronization-of-field-reads-and-volatile synchronized provides both a visibility guarantee AND serialisation of protected code sections. For VERY simple situations volatile..
Communication between local JVMs http://stackoverflow.com/questions/5052102/communication-between-local-jvms KryoNet with local sockets since it specialises heavily in serialisation and is quite lightweight you also get Remote Method Invocation..
How do I get the seed from a Random in Java? http://stackoverflow.com/questions/6001368/how-do-i-get-the-seed-from-a-random-in-java to produce the same numbers. You can copy a Random using serialisation de serialisation and get the seed field using reflection. But.. same numbers. You can copy a Random using serialisation de serialisation and get the seed field using reflection. But I doubt you should..
Jackson is not deserialising a generic list that it has serialised http://stackoverflow.com/questions/6062011/jackson-is-not-deserialising-a-generic-list-that-it-has-serialised serialised When using Apache Jersey with Jackson for JSON serialisation on both server and client I'm hitting a problem when deserialising..
Applet - Servlet Communication http://stackoverflow.com/questions/6769255/applet-servlet-communication can be a mind bender. Likewise you could actually use Java serialisation and stream binary to your Servlet which then uses Java serialisation.. and stream binary to your Servlet which then uses Java serialisation to create the appropriate Java objects. However if you stick.. it'll mean your servlet is more open to re use since Java serialisation has never been implemented outside of Java that I am aware of..
|