Jackson: How to Detect Modified Object after Deserialization and Serialization?

189
April 13, 2018, at 1:37 PM

I have an object, any data object ( for example, Person) serialized and brought down to the user interface. Users click the save button with or without changes.

What is the best way to detect that the object has changed by the user while on the UI? Note that the object may have child records and changes on those records should also set a "need-to-save" property to true.

Before building our own logic, is there a standard way of doing this? Our client is Angular 1.6 and server site is Java 1.8 with RESTEASY. But I would imagine this to be a common problem for any platform that uses serialization.

Rent Charter Buses Company
READ ALSO
Netty Client/Server be made aware about channel break within ms

Netty Client/Server be made aware about channel break within ms

I have a netty server in my application and netty client is one of the microservicesFor health check of this particular micro service, Netty client(Microservice) establishes connection with my application and create a Netty channel

161
Activemq cluster didn‘t work,Stopping BrokerService[localhost] due to exception, java.io.EOFException:

Activemq cluster didn‘t work,Stopping BrokerService[localhost] due to exception, java.io.EOFException:

this is the activemqlog,when the master is down,the slave node change be the master node, but the error was still there like this!! anyone can help me

225
String variable won't work in method, while manually typing some string does. Why? [on hold]

String variable won't work in method, while manually typing some string does. Why? [on hold]

I have a code that finds a product according to its name, given in StringWriting for example

189
Can these 3 methods be generalized into 1 method

Can these 3 methods be generalized into 1 method

I have these 3 methods belowI only don't have a clue to make them as one, as they are type of array, list or just an object

145