Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8069951
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T13:14:07+00:00 2026-06-05T13:14:07+00:00

I’m developing for several months an application and every now and then I think

  • 0

I’m developing for several months an application and every now and then I think about design patterns.

Let’s imagine you have an (web) application with several tabs. In each sheet you give the user some fields and tables to fill up or alter. There is a global save button which saves all sheets content. First of all you have to validate the field values before you are allowed to save. Also if there happens something while persisting your objects you have to stop your transaction and the saving of all sheets.

I’ve implemented something by myself with a logic handler class and for each tab sheet a sheet logic class. The logic hander controlls the sheet logic classes. After the save button click the logic handler invokes for every sheet logic it’s screenToData method which returns the objects to be saved. When loading the sheets the dataToScreen method is invoked.

Also I want to mention that the sheet logics have a separate class which handles the UI with its components. As you can see, logics are separated from UI handlers.

The scenario with tab sheets and separating UI handlers from logic is very common in my opinion. So I’m wondering if there are Java frameworks or design patterns which support you in developing such situations. The MVC design pattern is good for separating UI and logic but I’m looking for the saving / filling up scenario or the combination of it. What is here the state of the art?

I’m developing with Java and using vaadin, what is not that important.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-05T13:14:09+00:00Added an answer on June 5, 2026 at 1:14 pm

    You dont need to have a design pattern for every issue (KISS principle). I think the approach first checking all tabs with a validation method for correctness and then save them inside a transaction is adequate.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have been developing a managed extensibility framework application for the last several months
I've been developing iOs and OsX applications for several months now and it still
I'm exploring several possibilities for developing a new system (web application). I'm an old
I have been developing with Java for several years and last six months I
There are several people about (myself being one of them) who have been developing
I am developing a rather complex web application that invokes several externally executed processes,
I'm developing an Android application. I have several objects loaded on a ListActivity .
I'm developing web application that uses AJAX a lot. It sends several AJAX requests
In C#, I am developing several Windows Services which have some standard functionality so
I'm developing a web project that contains several modules (JSP, JS and CSS). What's

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.