I'd like to build a forum based on the
EJB architecture. Now in the database, i have a table for each topic in the forum and this table(name of table being the topic_id) will contain information about all the articles under that topic (i.e article_id(primary key), article_title, article_body and so on).
In this light, does it mean that if my forum has 1000 topics( questions asked) den i would need to have 1000 entity beans since one entity bean represents one table?
I don't suppose so. Each table should be represented by an instance of the entity bean.Then how am i supposed to uniquely identify each entity bean and know which table it is pointing to? Can anyone give me a simple example?