I have a registration form with several pages. So, I map one page to one pojo. Finally, when I process the database, I want to make it as one pojo to commit. Any idea to simplify this model.
Thank:)
You can create a POJO wrapper that contains your other POJO with additional helper methods in the POJO master.
What is wrong with sending multiple POJOs to your service level to commit the database. The Koekiebox suggestion for a POJO wrapper will work, but will also add another place to make changes if you add or remove a POJO.
, POJO .
Source: https://habr.com/ru/post/1781011/More articles:Как я прочитал бы "вложенный" Json файл с "DataContractJsonSerializer" на С#.NET(win7 phone)? - jsonApache virtualhost includes - apacheWhy is this code so fast? - performanceHow to create a standalone standalone GWT application? - javascriptvim: how can you get netrw to open https links? - vimJavascript: метки тегов ТОЛЬКО IF теги найдены - javascriptGit: has the branch lost its history? - gitjQuery expand Свернуть все теги DT в списке определений (DL) - jqueryHow to access url parameters in struts2 - javaDetecting when memory exhaustion occurs (retrieving the sum of "free physical memory") - memory-managementAll Articles