Create an Entity

Hi,

I would like to create a "User" entity, that I will use to ID different kind of other entities, like: customer, manager...

The "User" entity will hold "UsereName" and "Password", and each other entity will hold the extra details.

Can anyone show me an example of definition for the "User" entity and one other entity?

[346 byte] By [SwingIta] at [2007-11-27 5:43:45]
# 1
Are you talking about EJB3 entities, or just any old set of classes? Without knowing what purpose you have in mind for the classes it's hard to say what the best representation would be.
dcmintera at 2007-7-12 15:23:42 > top of Java-index,Database Connectivity,Java Database Connectivity (JDBC)...