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 ?


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3909603#3909603

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3909603


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to