B
bruno.meneguello
Hi folks,
I need a design help to create a window system, based in the
JDesktopPane component.
It must list entity classes stored in a JDBC database (I thought
something like a tabular datasource) and then when I click, open an
editor window to manipulate a JavaBean's entity properties.
My doubts are:
1. It's a good design choice to mix datasources with JavaBeans, one
providing the unique key of the other?
2. How can I pass the entity to the editor form? By a "long" or an
"class" parameter of th JInternalFrame or there is another approach?
3. The better place to manage my persistence is in the Browser (List
from datasource) or in the editor form (JavaBeans Form)?
Since now, thanks.
P.s. If somebody have links to books, articles, tutorials or some
other reference about this kind of design choices, more thanks.
I need a design help to create a window system, based in the
JDesktopPane component.
It must list entity classes stored in a JDBC database (I thought
something like a tabular datasource) and then when I click, open an
editor window to manipulate a JavaBean's entity properties.
My doubts are:
1. It's a good design choice to mix datasources with JavaBeans, one
providing the unique key of the other?
2. How can I pass the entity to the editor form? By a "long" or an
"class" parameter of th JInternalFrame or there is another approach?
3. The better place to manage my persistence is in the Browser (List
from datasource) or in the editor form (JavaBeans Form)?
Since now, thanks.
P.s. If somebody have links to books, articles, tutorials or some
other reference about this kind of design choices, more thanks.