Display and edit entity classes in swing JDesktopPane's windows

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,579
Members
45,053
Latest member
BrodieSola

Latest Threads

Top