We have a BOM(Bill of Material) which consists of components in a hierarchy. I've to display a tree with this hierarchy. But there may be multiple users trying to access this BOM. So, if one user changes it, others should be able to see, once they refresh.
The user can modify the attributes of the nodes, drag and drop nodes to change hierarchy.
There can be 100's of nodes at one level in the tree and around 3000-4000 nodes in total. In all the operations, it should not take more than 5-10 secs. Performance is important requirement
One way to do this is keep a cache of the BOM, and make all the clients read from the cache. If someone modifies BOM, it will be written to the cache.
Q1> How viable is this solution?
Q2> What should I use for front end: JSP with applet (using swing) or a full fledged swing application?
Q3> If I go for applet implementation, how different it will be from all-swing-based-client from performance and scalability perspective?
-
Tree structure(BOM) with multiple users (2 messages)
- Posted by: Romil Sinha
- Posted on: July 06 2006 01:54 EDT
My client is an automotive company. Requirement is:Threaded Messages (2)
- Re: Tree structure(BOM) with multiple users by Torsten Strasser on July 21 2006 04:42 EDT
- Re: Tree structure(BOM) with multiple users by Cameron Purdy on December 22 2006 16:29 EST
-
Re: Tree structure(BOM) with multiple users[ Go to top ]
- Posted by: Torsten Strasser
- Posted on: July 21 2006 04:42 EDT
- in response to Romil Sinha
Hi, maybe you should take a look on JBossCache. It is a distributed cache which uses a tree structure. It seems to me that JBossCache would perfectly fit to solve your problem. Bye, Torsten -
Re: Tree structure(BOM) with multiple users[ Go to top ]
- Posted by: Cameron Purdy
- Posted on: December 22 2006 16:29 EST
- in response to Romil Sinha
Check out this article to see how to do this type of work with in memory speed using clustered caching. Peace, Cameron Purdy Tangosol Coherence: Clustered Cache for Java