New Posts New Posts RSS Feed: BOS or self server?
  FAQ FAQ  Forum Search   Calendar   Register Register  Login Login

BOS or self server?

 Post Reply Post Reply
Author
sung View Drop Down
Newbie
Newbie
Avatar

Joined: 18-Aug-2008
Location: Houston
Posts: 3
Post Options Post Options   Quote sung Quote  Post ReplyReply Direct Link To This Post Topic: BOS or self server?
    Posted: 18-Aug-2008 at 2:43pm
We have a financial trade calculation engine requirement which needs to cache a variety of different price curves inside the "server"  as it is not practically to move and keep 100+M data in each client machine. The client  need to do a remote call to access the "server" and the server will based on the passing parameters to do the option module calculation. The server will cache the result in the server so that if another client ask for the evaluation with same parameters, the server just simply returns the result instead of recalculate it again as it is very expensive procedure.
 
As I know, there is no data stored in the BOS, what is your recommended approach? Do we need to create our own server applicaiton to handle the client side call and inside our server to use your data acccess layer to access DB?
 
 
Back to Top
davidklitzke View Drop Down
IdeaBlade
IdeaBlade
Avatar

Joined: 14-Jun-2007
Posts: 715
Post Options Post Options   Quote davidklitzke Quote  Post ReplyReply Direct Link To This Post Posted: 18-Aug-2008 at 3:35pm
Use a Remote Service Method.  See the advanced tutorial :

390. Remote Service Methods

A Remote Service Method (RSM) is a method that resides in a server-side assembly and is marked so that it can be called from a client-side DevForce application. Remote Service Method calls are supported in DevForce via PersistenceManager methods named InvokeServerMethod() and InvokeServerMethodAsync(). Remote method calls are particularly useful for (a) operations that must touch a great deal of data that is not otherwise needed client-side after the operation completes; or conversely, for (b) retrieving to the client large quantities of possibly unrelated data in a single trip between client and server. When invoked asynchronously for the latter purpose, such remote method calls can deliver great client-side performance.



Edited by davidklitzke - 18-Aug-2008 at 3:39pm
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down