Hi again,

Amol Pophale wrote:

...
So you use PB-api only for read-only operations and
persist objects via the server - right?
And on the server you don't use OJB?
Can you describe a little more?

YES U ARE ABSOLUTELY CORRECT I AM MOT USING OJB ON SERVER SIDE.

...
I CANT FIRE QUERIES EVERYTIME ON DATABSE DIRECTLY
BECAUSE I WANT TO USE CACHE TO IMPROVE PERFORMANCE BUT
I WANT OT KNOW HOW CLIENT CAN KNOW THAT DATABSE OBJECT
IS CHANGED SO IT CAN REMOVE THAT OBJECT FROM CACHE.
I HAVE ONE SOLUTION, WHEN SERVER UPDATES DATABSE IT
SHOULD TELL CLIENT THAT I HAVE UPDATED DATABSE SO
CLIENT CAN REMOVE THAT OBJECT FROM CACHE.
HOW DO U FINFD THIS SOLUTION?

Sounds ok for me, if the number of clients is less and the frequency of updates is low (in other cases you need a very fast intranet and very performant server nodes ;-)). I don't know a better way.


Be careful with ObjectCache implementations and referenced objects. Currently the implemetations are quite simple and cache the main object with all references. Remove only remove the main object, if the same object was part of a collection of another main object it will not be removed.
I will start a new ObjectCacheImplementation in near future only holds Identity objects of referenced objects. Maybe you have to tweak one of the existing cache implementations. It is possible to refresh referened objects but this could lead in DB access.


regards,
Armin

ONE MORE QUESTIONS
DO U KNOW OTHER TOOL BETTER THAN THIS FOR OBJECT
RELATIONAL MAPPING?
I HAVE READ ABOUT TOPLINK FROM ORACLE, COCOBASE,
HYBERNET BUT I DONT KNOW HOW ARE THEY?
AND WHAT IS DIFF BETWEEN THEM?
IF U HAVE ANY INFO PLZ LET ME KNOW

regards,
Armin


This is my problem

Thanks & Regards
Amol Pophale.





        
        
                


____________________________________________________________

Yahoo! Messenger - Communicate instantly..."Ping" your friends today! Download Messenger Now http://uk.messenger.yahoo.com/download/index.html



---------------------------------------------------------------------

To unsubscribe, e-mail:

[EMAIL PROTECTED]


For additional commands, e-mail:

[EMAIL PROTECTED]





---------------------------------------------------------------------

To unsubscribe, e-mail:
[EMAIL PROTECTED]
For additional commands, e-mail:
[EMAIL PROTECTED]







____________________________________________________________
Yahoo! Messenger - Communicate instantly..."Ping" your friends today! Download Messenger Now http://uk.messenger.yahoo.com/download/index.html


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to