RMI display mapping

Hi,
I am using Java RMI to control a unix solaris Java application from a xp Java application on a PC. While I could have the unix side send the pc side data which would be displayed in the usual way on the PC, I was wondering if there is a way to have the unix side display the data and somehow map the display to show up on the the PC side.
Acutually I am re-doing an application which was originally only on the unix side, so I might save a lot of code if I could do a unix display to pc display mapping (perhaps outside of the Java environment). This woudl be especially useful since not all the unix java methods work on XP java (like jFileChooser which is a documented bug).
Thanks in advance for your help,
Techy613

Assuming I understand his question correctly, here is
the scenario:
You have an application running on a machine, and it
has a GUI. Now you want to be able to have the
application's GUI appear on the screen of one or more
remote clients, while the application continues to
operate on the server machine.
People who's development experience is from a Unix
type OS environment are quite familiar with this
ability. First it they had telnet, for console based
applications, later they got XWindows, for GUI
applications.
Java display remoting however, is like XWindows on
steroids. The display and presentation code now
actually execute on the client. The open source
project I lead
at java.net not only can do this, but with no
architectural impact to the application itself. It
can remote the GUI as an applet, or as an application
via WebStart.
I hope that helped,
JohnIn my case, I need the java application to do file I/O on the unix server side, not the XP client side. I just need the gui to appear on the XP client side. John, would the cajo environment automatically support this scenario?
Thanks,
Techy613

Similar Messages

  • RMI with display mapping

    Hi,
    I am using Java RMI to control a unix solaris Java application from a xp Java application on a PC. While I could have the unix side send the pc side data which would be displayed in the usual way on the PC, I was wondering if there is a way to have the unix side display the data and somehow map the display to show up on the the PC side.
    Acutually I am re-doing an application which was originally only on the unix side, so I might save a lot of code if I could do a unix display to pc display mapping (perhaps outside of the Java environment). This woudl be especially useful since not all the unix java methods work on XP java (like jFileChooser which is a documented bug).
    Thanks in advance for your help,
    Techy613

    Assuming I understand his question correctly, here is
    the scenario:
    You have an application running on a machine, and it
    has a GUI. Now you want to be able to have the
    application's GUI appear on the screen of one or more
    remote clients, while the application continues to
    operate on the server machine.
    People who's development experience is from a Unix
    type OS environment are quite familiar with this
    ability. First it they had telnet, for console based
    applications, later they got XWindows, for GUI
    applications.
    Java display remoting however, is like XWindows on
    steroids. The display and presentation code now
    actually execute on the client. The open source
    project I lead
    at java.net not only can do this, but with no
    architectural impact to the application itself. It
    can remote the GUI as an applet, or as an application
    via WebStart.
    I hope that helped,
    JohnIn my case, I need the java application to do file I/O on the unix server side, not the XP client side. I just need the gui to appear on the XP client side. John, would the cajo environment automatically support this scenario?
    Thanks,
    Techy613

  • Floating point display mapping

    To avoid negative values I convert my images to floating point when they are full 16 bit.
    But now i have another problem. De 16 bit display mapping function does not work. I i want to display a range of pixels (ex. grey values 40000 - > 50000) nothing happens. Is there a way to display a floating point image with a function like there is for 16 bit images (given range) without converting the actual pixels.

    This VI does only what the 16 bit display mapping function does (exept that there is an error made in this VI). The included 16 bit image is not full 16 bit (min = 176, max = 4095, only 15 bits are used). In attachment I included for you a full 16 bit image (values from 0 -> 65536) Imaq will read this as values ranging from -32768 -> 32767.
    If you open this Image with the VI you suggested you will get a full black 8 bit image. The original image is a gray gradient from black to white.
    The error in this VI is that the casting to I32 has to be done before you use the max-min function.
    Otherwise you get 32767 -(-32768) = -1 because you have an overflow with I16.
    This VI is not a solution because we have to analyze full 16 bit images for
    there real gray values.
    So if we convert the image to 8 bit we loose information. So if we take a line profile or a histogram it is difficult to use if the image is full 16 bit.
    I can not understand why a signed data type is used for images. Images don't have negative values.
    This is not the first time I mentioned this. I hope that NI understands the problem.
    Attachments:
    16bitgradient.tif ‏520 KB

  • Displaying maps in MapViewer at a defined scale

    Dear all
    Is it possible to display maps in MapViewer 10.2.1 at a defined scale? For example 1:10,000; 1:5,000; 1:2,500 and so on.
    If so does the Oracle MapViewer map scale refer to a representative fraction value? If not does anyone here know what the MapViewer map scale does refer to?
    I have attempted to calculate the map units for a complete map but as my ground distance is in metres, I converted by display size to metres. Is that okay or does MapViewer requires it to be keep in inches?
    Converting to metres I got a value of 7877.8229644371376654841221770792.
    If I stayed with inches I get 200.09670329670329670329670329672
    Would I be right in thinking that for raster maps whose image dpi is not 72dpi, you use the dpi value of the raster map image and not 72dpi.
    Kind regards
    Tim

    Joao,
    Having thought your answer it would work, it didn't. Having read through the MapViewer manual, I can find no reference to scale with regard to centre. There is just size.
    Using scale I got an error message which I've posted below. However as soon as I changed it to size I got no error message, although I get a blank screen no matter which number I've used.
    The error using scale is:
    <oms_error>
    Message:[XMLHelper] error in parsing xml map request.
    Sun May 17 13:06:02 BST 2009
    Severity: 0
    Description:
    Message:[XMLHelper] map size/scale not defined in xml map request.
    Sun May 17 13:06:02 BST 2009
    Severity: 0
    Description:
    at oracle.lbs.mapserver.core.XMLHelper4Mapper.convert(XMLHelper4Mapper.java:207)
    at oracle.lbs.mapserver.core.XMLHelper4Mapper.convert(XMLHelper4Mapper.java:169)
    at oracle.lbs.mapserver.oms.getMapRequest(oms.java:678)
    at oracle.lbs.mapserver.oms.doPost(oms.java:314)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:765)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:317)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:790)
    at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:208)
    at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:125)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
    at java.lang.Thread.run(Thread.java:534)
    </oms_error> My script is using size is as follows:
    <?xml version="1.0" standalone="yes"?>
    <map_request
    title="Hello World"
    datasource = "geg00001"
    srid="81989"
    width="640"
    height="480"
    format="PNG_STREAM">
    <center
    size="835">
         <geoFeature>
          <geometricProperty typeName="center">
            <Point>
              <coordinates>835.65,632.25</coordinates>
            </Point>
          </geometricProperty>
        </geoFeature>
        </center>
    <themes>
       <theme name="georaster_theme" >
       <jdbc_georaster_query
       georaster_table="geg50160.web_raster_map_file_bng"
       georaster_column="web_raster_map_bng"
       jdbc_srid="81989"
       datasource="geg00001"
       asis="true">
       select A.web_raster_map_bng
        from geg50160.web_raster_map_file_bng A, geg50160.HQ_RASTER_MAP_FILE B
        where A.HQ_RASTER_MAP_ID = B.HQ_RASTER_MAP_ID
         AND B.original_map_publication_id=200001
       </jdbc_georaster_query>
    </theme>
    </themes>
    </map_request>I am not sure what number I need to put in for the size so in the above example I used the centre coordinate figure. I also tried 253.99999999999997, which is the master scale listed in the MapBuilder messages, when I entered a scale of 10,000 [1:10,000]. However I did try other figures too and none of them worked.
    Kind regards
    Tim

  • Display Map in PeopleSoft ERP

    Does PeopleSoft ERP have map interface (Database - MS Sql server)?
    a. If yes, is it in-built.
    b. If no, can we have any Map Interface plug-in?

    Does Peoplesoft ERP have the capability to display Maps like Administrative boundaries, Street network, Point of interest etc.,
    I am having ArcGIS Server(ESRI-GIS) system (database MS Sql Server) and I would like to send a query from PeopleSoft ERP system(database MS Sql Server) to this GIS system and the result (Location Information - Map) need to be displayed in PeopleSoft ERP System. Can you provide a solution for the same?
    Edited by: user12132843 on Nov 2, 2009 2:25 AM

  • Display map in mapclient.jsp

    i really have done create base map and theme using map builder. i can display map using sample map request. but when i want to dispaly map using mapclient.jsp there is no map, only background and title were display. how i can dispaly map using mapclient.jsp?

    Verify the parameters that you entered on mapclient.jsp page.
    1) Data source name must exists on MapViewer service
    2) Base map name must exist on data source
    3) Center and size should define an area that intersects with base map data.
    If you think the parameters that you entered are right, then take a look on MapViewer's log for additional messages.

  • Displaying Map object fields in DataTable

    I am trying to create a shopping cart app. The ShopCart bean has a Map property:
    Map shoppingItems = new Hashtable();In addition to the getter setter method, the bean has a addShoppingItem() method that adds a Product object to the Map.
    public void addShoppingItem(String index,Product item)
             shoppingItems.put(index,item);                 
           }The Product class has fields, such as id, name, price and getter/setter methods. The index argument passed to addShoppingItem() is the id field of the value of the Product object.
    I am now desperately trying to display information of all Product objects added to the Map in a datatable.
    Is this possible? Please help.

    It should be possible - you will need something like
    JSP/JSF code
    <h:dataTable id="cart"
    value="#{shoppingCart.products}"
    var="product" first="0" >
    <h:column >
    <f:facet name="header">
    <h:outputText value="product code" />
    </f:facet>
    <h:inputText id="productCode" value="#{id}" />
    </h:column>
    In your Backing bean code you will need a
    Map getProducts() method
    NOT the above definetely works whenreturning a List
    I have seen people say it also works with a Map - but haven't tried it myself - so am not 100% sure
    Post up your code & someone will help you out

  • Problem in displaying map.

    Hi
    I am not able to display the map in my device.
    I have downloaded the google map in my device and i am getting the error , if i start the application.
    The error is : "This application requires a data connection and some blackberry require reconfiguration to work properly.Please visit www.google.com/gmm on your computer for more info".
    The net is working on my device.

    Vaisali, As Simon said this is not a development issue.
    Also from the error message, it is clear that the application is not having proper transport.
    Do check once with BIS enabled SIM if it does not work with BIS then check with your network provider.
    Rishikesh Singh

  • How to display Map for viewing in browser using Java

    I am fidning a solution for displaying political maps in browser using Java technology.
    Is ther anybody with a solution.
    Waiting for your respone.
    Regards
    Mithun

    palanithendral wrote:
    Hi,
    Our application using in English, German, Franch and chinese.You have several different idioms in your application and have not accurately identified where the actual problem is. You have all of the following
    -database
    -http
    -excel
    -excel in http
    -display on the target computer
    The first step with these sorts of problem is to identify where the problem actually occurs.
    String chineseCharacter=""; // chineseCharacter like &#38263;&#38271;&#29248;&#24202;&#26481;&#19996;&#24447;&#20315;. This chinese data coming from oracle database..A good theory. Now explain how you proved that that is what is coming from the database.
    After export the data to excel show the result for 長长牀床東东彿佛.As another example. Presumably you are referring to what the browser on the target computer displays. Your theory is that that computer and that browser (together) will display the correct information if they had the correct data. How did you prove that?

  • Lightroom 5.2 map module not displaying maps

    I am having all sorts of problems with Lightroom 5.2 and wish I'd just stayed with Lightroom 4. I've already posted about not being able to import directly from an SD card in my laptops reader, and have at least found a work around to that (copy files to hard drive them import - I see others have found the same thing and it works just fine).
    Now I have realised that the map screen in the map module is blank. I had this problem initially with Lightroom 5, and then it seemed to resolve itself. It is refusing to resolve itself in Lightroom 5.2 however. I've searched on the web for similar problems, and have found some responses to blank map screens in Lightroom 4, but they are so technical I haven't got a clue where to start trying to follow them.
    So, I am a simple soul who needs a simple answer. I am using LR 5.2 on an HP laptop running Windows 7. In the map module, where I already have GPS data (from a Canon EOS 6D) it is displayed in the metadata, and the little pop up box shows the number of photos at selected locations etc. But the central map screen is black. If I search, the screen stays black although it appears as though it has gone to the location. The Navigator screen is blank too.  And yes, I am connected to the internet and LR5.2 seems to be able to find the internet (I checked by going into the web module).
    Can anyone help me please. I like to put GPS locations on my photos prior to upload to Flickr, and whereas they are there from photos from my 6D, they don't exist for photos taken on my Canon Powershot.

    A work-around that I am using is to run Lightroom as an administrator on my Windows 7 system (right-click on the icon and choose run as administrator).  Everything then works ok.  I also needed to run as an administrator to be able to update some plug-ins I was using.  I fixed the plug-in update issues by changing the permissions on plug-ins folder.  I suspect that it is a similar issue with the maps.
    I have not figured out what folder or files need to have the permissions altered to stop Lightroom from working in the unelevated state but if someone reading this knows please share.  I saw some posts related to the same issue but on Macs but the Windows configuration is different.
    Dan

  • How to devlop an application which display map

    i have to develop a project in j2me...the project is local search system...
    first phase of the project is to develop an j2me application which will display a map of particular area in the mobile...
    i dont know where to start with...plz give guidelines to devlop that application...

    {color:#ff0000}{size:18px}Cross posted{size}{color}
    [http://forum.java.sun.com/thread.jspa?threadID=5309704]
    Cross posting is rude.
    db

  • Safari won't display maps

    My Safari won't diplay maps from either Google Maps or MapQuest. I'm running OS10.3.9 and Safari 1.3.2 (V312.6). I have the cookies on for sites I go to.
    Maps display when using Firefox.

    I am having this kind of problem with maps and some websites with AJAX codes.
    For example: this website is from my university, about a Computer Science Competition called "VII Olimpíada da Computação" - at PUC campus Poços de Caldas [ inf.pucpcaldas .br/olimpiada2009/ ], and when I'll register my group (called VaiNaSort), it happens a AJAX error (the registration page was made using AJAX). It don't crash Safari, but after many tries, unfortunally I was forced to use another browser...
    Message was edited by myself.

  • Maps does not display map

    On opening Maps there is no map being displayed.
    I am located in NSW Australia and have only just upgraded to Mavericks on 24/10/2013

    Fixed, for me.
    Just changed the language order in preferences language & region.
    Seems like maps has bad behaivor with some languages.

  • Mapviewer displaying maps differently from the client than from the server

    Can anyone explain to me why this is happening. I have been deploying my java server page to the server, and the way it works is to have multiple base routes which are not originally shown, but the user can 'check' them and they will display. On the server this works as one would expect, but on the client
    I originally couldn't get this to work through Jdeveloper, but now it works -- that's another story :(
    all of my base maps are displayed when the map first comes up. I don't want this to occur because it takes too long. Anyway, does anyone know why the map is working different from the client than it does when I deploy it to the server? Here is the significant code:
    var basemap1 = new MVBaseMap("ds_prod.prod_rdlg_qry");
    var basemap2 = new MVBaseMap("ds_prod.interstate", "", true);
    basemap2.setTransparent(true);
    var basemap3 = new MVBaseMap("ds_prod.primary", "", true);
    basemap3.setTransparent(true);
    mapview = new MVMapView(document.getElementById("map"), baseURL);
    mapview.addBaseMapLayer(basemap1);
    mapview.addBaseMapLayer(basemap2);
    mapview.addBaseMapLayer(basemap3);
    basemap1.setVisible (true);
    basemap2.setVisible (false);
    basemap3.setVisible (false);
    Any suggestions would be appreciated. Thanks.

    Hi
    Whitch version of mapviewer are you using? (MVBaseMap/addBaseMapLayer is for older versions, and in newer there is MVMapTileLayer/addMapTileLayer)
    I had similar difficulties displaying multiple tile layers in application with mapviewer ver. B080618. (not sute, may be in newer versions this works different)
    When adding all tile layers initially and then setting theig Visible properties, browser fetches from server data for ALL the layers (even if they were set to visible -> false)
    the workaround was to add aditional layers ony when this is needed.
    Michael

  • Displaying maps using oc4j and mapviewer

    This may not be the correct forum for this question, but since it involves displaying a map using mapviewer with oc4j, I thought this might be the place to post this question.
    My problem is this:
    I would like to display a 'busy, please wait' or change the cursor to an hourglass until my map is completely rendered. I'm using a java server page developed through jdeveloper and using internet explorer. I've tried the cursor_wait() routine, but found that as far as the jsp is concerned it is finished, and even though my map has not been completely displayed, (I have fois) a user looking at the screen thinks it is finished. Even the internet explorer flag, which waves while ie is processing stops, but my fois haven't been displayed on the screen yet. My users complain that the application is not working, whereas, in reality, it just hasn't finished yet.
    If anyone has any suggestions on how to work around this problem I would greatly appreciate your input. Thanks in advance.

    Hi
    can you please provide me the way you resolved this problem as i have the same
    regards, michael

Maybe you are looking for

  • How do i load my second copy on my laptop?

    i have one copy on my desktop, but when i try to load a second copy on my laptop, the systems reports valid Id, but no valid upgrade program

  • (Solved) obmenu and blueman-applet won't start

    Hi, after update the obmenu and blueman-applet won't start. googleing arround only says the the problem is fixed. obmenu: Traceback (most recent call last):   File "/usr/bin/obmenu", line 21, in <module>     import obxml, gtk, gtk.glade, gobject, ran

  • Nokia c2-02 web browser conflicted

    My nokia c2-02 browser conflicted.but nokia never take this coustmber problem serously to repaire this problem

  • Photoshop 10 plug-ins

    I am using PS10 and have recently purchased anew camera. A Panasonic that records pics in the .rw2 raw format. Trouble is PS10 does not open .wr2 pics without a specific plug-in installed. What is that plug-in and where can I get it? Also does anyone

  • Exclamation Icon when starting a new CMYK document in cs5??

    When I start a new CMYK document in Illustrator CS 5  I'm getting the yellow exclamation mark to the right which you can see in the picture I attached.  When I choose RGB there is no exclamation!  What is causing this, and how can I fix it, or is it