2 Replies Latest reply on Aug 23, 2002 4:48 AM by ppetit

    implementing lightweight lookup

    Chris Richard Newbie


      I want to discuss some options for implementing lookups for simple objects (mostly name-value pairs). I dont think there should be an Entity Bean for simple list of values (productTypes, accountTypes, countries etc). If we make these Entity Beans we have to have lots of relationships (CMR) in a CMP 2.0 model.

      I am thinking about going with MBeans and expose operations to do CRUD on these lists for site-administrator. EJBs can use these MBeans and do a lookup (or even get a java.util.List). These lists doens't have to be in the DB (normally <50 values) and can be stored in properites file as this data is mostly static.

      Any suggestions, comments?