• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • paul wheaton
  • Ron McLeod
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Piet Souris
Bartenders:

Passing objects to remotely or access database remotely ?

 
Ranch Hand
Posts: 60
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I orginally posted this on "Distributed computing" but didn't get final answers. Here is the question ---
We found it slow to run some complex java 2D graphics (like a go game) on unix box, but it is faster to run it on windows (maybe many people have realized this). However the database is installed on unix machine and we need to use the database prior to creating java 2D. Which of the following two approaches makes more sense ?
1. Use RMI mechanism to split the code between unix and windows, let the unix part access local db, then pass generated objects to windows and let the codes on windows generate java 2D graph ? But this requires sending objects through network, it may slow down the process ?
2. Let the application mainly run on the windows, i.e. let the application access raw data from Unix database and then create customized objects on windows directly, and then run the graphics on windows directly ? This way we don't need to send any objects across network, right ? But I am not sure how slow it is to access database on a unix box from windows ? And what potential problem may arise ?

thanx
 
Author and all-around good cowpoke
Posts: 13078
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I think that in this case there is no substitute for testing with realistic data. I mean realistic in terms of how complex the objects to be transmited are - are we talking about transmitting an entire scene graph with hundreds of objects here?
Bill
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic