Title Back Colour Keyoti Title Line Title Curve
Blue Box Top

Dictionary Management in a distributed application - RapidSpell Desktop Java - Forum

Welcome Guest Search | Active Topics | Log In | Register

Options
Guest
#1 Posted : Tuesday, February 3, 2009 3:48:33 PM
Rank: Guest

Groups:

Joined: 2/14/2015
Posts: 1,322
I’m working on a java based application that utilizes RMI server with multiple application clients connected. I wanted clients that connect be able to update and use a single spell-check dictionary. It looks like it works if all clients are pointed to the same file but I have a feeling this is not the right way to do it. Not to mention updates can get out of sync.

It would be nice if the server could manage the dictionary and the clients just request the dictionary data rather than try to pull it from a file. Is there a way I can do that?

Jim
#2 Posted : Tuesday, February 3, 2009 4:15:59 PM
Rank: Advanced Member

Groups: Administrators, Registered

Joined: 8/13/2004
Posts: 2,669
Location: Canada
Yes hitting one file probably isn't advisable. I assume we're
talking about the 'user dictionary', not the 'main dictionary'.

This article might help

http://keyoti.com/kb/Def...iew&questId=33&catId=45

If you have a DB you can use, then that's probably easiest, let it handle
concurrency etc. If you don't have a DB, then you can modify the example to
write to some other source (which may mean you need to implement your own file
locking mechanism).

Best
Jim


-your feedback is helpful to other users, thank you!
-your feedback is helpful to other users, thank you!


Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.




About | Contact | Site Map | Privacy Policy

Copyright © 2002- Keyoti Inc.