How to develop good JSP/Servlet WebApplication with NetBeans
<p>What if I need to develop a web application in Java with a database? I know that I need to develop first the bean so I have to create a class for every database's table and a field for every database's columns, setter, getter, no arguments constructor and so on.</p>

<p>Now:</p>

<p>What if I need to save a record inside the database? Suppose to have <code>PersonBean</code> class and <code>PersonController</code> I do:</p>

<pre><code>PersonBean p = new PersonBean();
p.setName("Mariano");
....
PersonController c = new PersonController();
c.insert(p);
</code></pre>

<p>It's legal? It's elegant. This is coherent with a high-level abstraction?</p>
