Is there a good tool library for Java to aggregate data at the gateway layer?

  1. background is done by service gateway and Java, because interfaces often need some field name aggregation, so there will be a lot of duplicate code

for example

class HomeDto{
    int childId;
    String childName;
    int homeId;
    String homeName;
}

class ClazzDto {
    int childId;
    String childName;
}

this child will spread around with the interface, there will be a lot of duplicate code, is there a solution

Apr.08,2022

you can learn about GraphQL

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b35c64-4054a.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b35c64-4054a.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?