I'm quite new to
Java. I'm writing a web application, is there a way to return a ResultSet to the view without all the boring typing of creating a DTO or JavaBean? I read that was the most popular way. But what if you had to return a table of 20-30 columns? Isn't that quite a bit of typing? Or if you had to change your tables, then you would have to change the DTO/JavaBean.