0 Replies Latest reply on Nov 29, 2005 3:16 PM by John Lukar

    best practices of structuing my business domain objects for

    John Lukar Newbie

      I have a business domain object called "Order".

      It has: order id, descritiption, sub-order objects, date, etc.

      what is the best key to use for populating the cache for this business object?

      e.g. the Demo for TreeCacheAOP uses the "Japan", Node, with "
      Tokyo" subnodes, etc.

      The key from my underestanding is simply "/monitor" to access this POJO object. There is only one object in the cache.

      In my scenario, I have many orders with unique order ids.

      would my key simply be something like: "/orders/XX" or even "/XX"

      where XX is the unique order id ?