Cross platform data communication

If I want to transfer an integer from a Sparc machine to a x86 machine, how does this transfer takes place?
Since Sparc machine is big endian and x86 is little endian. Integer is converted into binary this may cause problem while receiving.
How does java/jvm handles this problem?

If I want to transfer an integer from a Sparc machine to a x86 machine, how does this transfer takes place?Laser printer - carrier pigeon - OCR? Voice syntesis - 2 cans, bit of string - voice recognition? You need to tell us how the transfer takes place.
Since Sparc machine is big endian and x86 is little endian. Integer is converted into binary this may cause problem while receiving.It depends entirely on the transport - many protocols and file formats specify the byte order.
How does java/jvm handles this problem?The JVM allows the endianess to be set if reading directly from a stream or socket. Protocol specific classes obey the endianess of the protocol.
Pete

Similar Messages

  • Data Movement in Cross Platform

    Hi,
    Greeting!..
    My scenario is
    Host A - Hp-Unix
    Host B - Window 2003 Server
    1. Is the datapump dump file which is created in Host A can be import in Host B? is it so please forward the steps
    2. from Host A to Host B in need to transfer the data incrementally & regularly. How can i make this as automatic?
    Thanks in Advance
    Baalaji V

    Hi Balaji,
    Yes you can import dump on cross-platform but you may need to check syntax in the Database Utilities guide available on Oracle Technology network. Here is direct lik http://www.oracle.com/pls/db112/to_toc?pathname=server.112%2Fe16536%2Ftoc.htm&remark=portal+%28Books%29
    You can create and schedule two jobs in OEM. First job to export you source schema on predefine interval and store dump file on a shared locaiton that host b can access as well then next job will import that dump file into host b database.
    If your purpose is to replicate data regularly then you should also look using streams.
    Harish Kumar
    http://www.oraxperts.com

  • Need Help in Cross Platform Migration

    Hi Gurus,
    can you please tell me best way to do Corss Platform Migration with minimum down time and we are planning to do from AIX TO HP-UX.
    oracle version is 10g
    and can we do the data sync using streems if it is can you give the steps to configure streems in cross platform.
    Thanks in advance.

    High Availability Customer Case Studies, Presentations, Profiles, Analyst Reports, and Press Releases
    [http://www.oracle.com/technology/deploy/availability/htdocs/HA_CaseStudies.html?_template=/ocom/print]
    Check under Transportable Tablespace at the bottom
    [Multi Terabyte Database Migration|http://www.oracle.com/technology/deploy/availability/pdf/TheHartfordProfile_XTTS.pdf]
    HTH
    Anantha

  • Golden Gate 11: cross platform replication

    hello,
    wonder if there are any cross platform (major) issues for establishing a two way  replication between Sparc Solarix 5.10 to x86 Linux based hosts ?
    RDBMS versions are same or 11.2 vs 12.1
    We are planing to use 12C gg on a new installs.
    thank you

    Hi,
        It would be better to ask this question in the GoldenGate community forum -
    GoldenGate
    or if you have access to My Oracle Support in the MOS forum -
    GoldenGate, Streams and Distributed Database (MO
    Regards,
    Mike

  • Cross platform migration from hp unix to sun

    Hi
    recently we have done cross platform migration from hp unix to sun (10g R2 RAC +ASM). It was a challenging experience to complete the migration in 8 hours downtime for a database of about 2 TB.
    I would like to share the experience , so that it would be hepfull to others and i would learn more new techniques for improvement .
    source environment:
    HP-UX -ITANIUM - 2 node RAC - 10g R2 - Oracle clusterware - ASM - Heavily loaded all the time .
    Destination Env:
    Sun solaris 10 - 2 node RAC - 10g R2 - Oracle Clusterware - ASM
    Total Downtime available : 6 hours.
    Steps followed
    1. snapshot backup of source database on a intermediate HP-Unix box. (stage area)
    2. recover the database and start the rman image backup on to disk in stage area.
    3. mount this filesystem locally (Veritas ) on to one of the node in the destination env.
    4. Mount this filesystem as NFS on second node using a cross cable between both of them (we can use interconnect VLAN also here)
    5. Keep applying the archive logs from source env till the downtime .
    5. startup nomount the database , change the datafile names from ASM to RMAN image copy files and mount.
    6. start rman convert statements and pump into the already exisitng ASM nodes with parallel sessions as much as possible (with 35 sets (513 datafiles) we were able to pump 2 TB data in 4.5 Hrs) - only system and undo datafiles need a convert statements (platform migration ) others would need a file system to ASM conversion only.
    7. alter database open resetlogs in the destination environment.
    8. create services manually and start the application.
    we were given very less time to decide upon this stategy , By gods grace we were able to complete it .
    I got a doubt while we are chalking out this plan .
    can we connect to ASM instance remotely and pump data from one ASM to another ASM. It seems it is not possible , just a wild thought.
    Let me know if you see any more improvements in this.
    Thanks
    Naveen samala

    can we connect to ASM instance remotely and pump data from one ASM to another ASM. It seems it is not possible , just a wild thought.No. Thats not possible.

  • Template Cross-Platform - Version Differences

    I created a template in Dreamweaver 8 on a Mac and sent it to
    a programmer using Dreamweaver MX on WIndows and the formatting for
    him is messed up. Divs aren't lining up where I put them. He sent a
    screen shot of his directory (which matches mine) and of the
    template within DW MX and the divs are out of place.
    Is this issue based on OS cross-platform, DW 8 to MX and
    differences in how those versions handle MX or some other issue?
    Thanks,
    Brian

    HTML is HTML, you know? It wouldn't make any difference if
    you were
    creating on a Mac, a PC, or a Linux box.
    But - DMX is a dumb bunny when it comes to any advanced
    layout methods. I
    imagine the problem you are seeing is due to DMX's inability
    to render CSS
    layouts properly. Is your colleague using DMX6.0 or 6.1? If
    the former,
    they should at the least update to the latter immediately,
    although that may
    not fix the problems either.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "yevri" <[email protected]> wrote in message
    news:fce162$kui$[email protected]..
    >I created a template in Dreamweaver 8 on a Mac and sent
    it to a programmer
    > using Dreamweaver MX on WIndows and the formatting for
    him is messed up.
    > Divs
    > aren't lining up where I put them. He sent a screen shot
    of his directory
    > (which matches mine) and of the template within DW MX
    and the divs are out
    > of
    > place.
    >
    > Is this issue based on OS cross-platform, DW 8 to MX and
    differences in
    > how
    > those versions handle MX or some other issue?
    >
    > Thanks,
    >
    > Brian
    >

  • Recommended way to unit test mobile cross platform C++ in Visual Studio 2015

    Hello,
    I'm playing with the new Visual Studio 2015 to check its capabilities for cross platform development using C++ as coding language. I've seen several videos in Channel9 about this feature but I don't remember hearing in any of these a word about how
    to unit test such projects from Visual Studio 2015. Is there some recommended way to create unit tests for such projects?
    I'm not sure I can use Visual Studio test projects for C++ to test the android library or the Windows Phone 8.1. If I add a new platform ARM to a test project of those, I cannot select in the platform toolset combo the values that I have for my libraries
    (Clang 3.4 and Windows 8.1 respectively). So it seems that such test projects are not addressed for cross platform c++ in VS2015.
    I also have tried to make a second cross platform library project to contain the tests, adding there the Catch.h file from catch framework or adding the files from Google Test framework. My idea was to link each cross platform test library with their corresponding
    "production code" libraries. In both cases (catch and gtest) I have problems when trying to compile the test framework files (not sure if it is not possible or just my fault being new at C++ for mobile platforms).
    Has anyone succeeded unit testing the cross platform c++ code in VS2015? How?
    Thanks in advance,
    Jorge.

    Hi Jorge,
    Thanks you for posting in MSDN forum.
    Based on your issue, since VS2015 Preview is previews for the next major release of Visual Studio, currently we forums don’t provide support for VS2015 Preview. So the product team would accept the suggestions or feedbacks for the VS2015 now.
    So you can submit the feedback/suggestions to Microsoft Connect feedback portal:
    http://connect.microsoft.com/VisualStudio/feedback/CreateFeedback.aspx, Microsoft engineers will evaluate them seriously. Thanks for your understanding.
    After you submit the feedback, you can post the link here which will be beneficial for other members with the similar issue. And I will help you to vote it.
    Thank you for your understanding.
    Best Regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Oracle 10g - Cross-Platform Transportable Database (with or without RMAN?)

    Hello guys,
    i am currently on a project for migrating oracle databases from one platform to another platform (both platforms are on the same endianess):
    -> From Linux 64-Bit to Windows 64-Bit
    -> From HP-UX 64-Bit to AIX 64-Bit
    All databases are on Oracle 10g (10.2.0.4) and i have tested two different ways:
    1) The "official" way with RMAN CONVERT DATABASE
    http://youngcow.net/doc/oracle10g/backup.102/b14191/dbxptrn002.htm#CHDEEEAG
    2) "Copy & Paste"
    - Copy & Paste of the database files
    - Recreate controlfile manually on target platform (with help of "backup controlfile to trace" on source platform)
    Both ways are working well and the migrated test databases are running fine.
    Now i am wondering why there is a "RMAN CONVERT DATABASE" command, if it possible to copy and paste the data files and perform two steps manually afterwards.
    The "RMAN CONVERT DATABASE" is time consuming and you still need to copy the RMAN output files to the target platform.
    Is there any special reason, why you need the "RMAN CONVERT DATABASE"? Does the "RMAN CONVERT DATABASE" change some things in the database files internally?
    Thanks and Regards

    Hello,
    Anurag Tibrewal wrote:
    If the source platform and the target platform are of different endianness, then an additional step must be done on either the source or target platform to convert the tablespace being transported to the target format. Of course .. in this case you can not use the "Cross-Platform Transportable Database" - you have to use the "Cross-Platform Tranportable Tablespace" (with RMAN CONVERT DATAFILE or TABLESPACE).
    Anurag Tibrewal wrote:
    If they are of the same endianness, then no conversion is necessary and tablespaces can be transported as if they were on the same platform.Yes, but oracle provides this with RMAN and the command "RMAN CONVERT DATABASE" .. as i already wrote i have already performed the two ways "RMAN CONVERT DATABASE" and "just copy & paste" and both are working fine.
    So my question is if there is any special case in which you should use the RMAN way with "RMAN CONVERT DATABASE" instead of just "copy & paste" if you stay on the same endianness?
    Thanks and Regards

  • DW CS3 cross-platform check in/out file locking

    Here is my setup:
    * Apple X-Serve file server (as a mapped drive on several
    Windows XPsp2
    machines and a shared drive on one Mac 10.4)
    * Up-to-date Dreamweaver CS3 on every machine (3 windows, 1
    mac)
    * Enable file check in and check out (site preference for all
    installations)
    * Contribute compatibility (site preference for all
    installations)
    The problem is that when a file is checked in on the mac, the
    file becomes
    locked such that the windows machines can't check out the
    file. All of the
    windows machines check out and check in files with no problem
    if the mac hasn't
    touched them. Once the mac has checked in a file, I have to
    "unlock" the file
    via the right-click context menu on the file. (This unlock is
    called "Turn off
    Read Only" on the windows version.)
    Windows FTP Log on check out after mac check in:
    /.../public_html/help/faq.php - locked
    /.../public_html/help/faq.php - error occurred - An FTP error
    occurred -
    cannot get faq.php.
    /.../public_html/help/faq.php - unlocked
    Apparently the Mac DW CS3 version of "Check in" and the
    Windows DW CS3 version
    of "Check in" are different and incompatible. Has anyone else
    had this problem
    or know of a solution? Removing the Mac is not an option.
    This may or may not be related, but whenever a file is opened
    on the operating
    system other than last edited (mac opens windows edited file
    or windows opens
    mac edited file), the "Overwrite local copy" dialog shows up
    when checking out
    a file. When a compare is made of the server/local files,
    there are no changes.
    Both mac and windows have the same line ending settings in
    the preferences.
    http://www.hostingforum.ca/700363-cs3-cross-platform-check-out-file-locking.html
    I'm having exactly the same issue. Has anyone experienced
    this before, and if so have a solution?
    Thanks in advance!

    In your Site definition, you need to specify the Remote Info
    of your
    server, and then "Enable file checkin and checkout".
    HTH,
    Randy
    djdeel wrote:
    > I am unable to check out a file using the context menu
    when right clicking on the file.

  • Migrating Cross-Platform Database ???

    Hi Expert !!
    We have a requirement to move huge database from HP to AIX. The database size is big so we cannot opt exp/imp. The only option left is Transport Tablespace.
    I did search on net and in oracle documentation for a sample example (moving entire database) but couldn't find one. Could any one please forward a link which discusses this in detail?
    Also to note is that, we have a Data Guard configuration in place for this database. How do we move both Primary and Physical Standby from HP to AIX?
    Thanks for sharing your experience.
    Regards

    You could check this document,
    http://www.emc.com/techlib/abstract.jsp?id=1774
    Cross-Platform Oracle Database Migration Using Transportable Tablespaces
    Since you are moving from HP to AIX, endianess seems not a concern, but you still need to make sure tablespaces are self-contained,
    EXEC DBMS_TTS.TRANSPORT_SET_CHECK('TSNAME','TRUE');

  • Cross-platform installs or upgrades

    If I understand the license agreement correctly (and correct
    me if I'm wrong), I'm able to install my copy of DW (and the rest
    of the Suite) on both my PC and on my laptop, provided I don't use
    them both at the same time. That's also provided that both my PC
    and my laptop are on the same platform. I have a Windows PC and a
    Mac laptop, so I'm out of luck. It seems a little unfair, and I
    know there must be some kind of anti-piracy thing that they don't
    allow this, but is there any consideration for changing this so us
    legitimate users can do cross-platform installs without having to
    purchase a second copy of the suite?

    easthollow wrote:
    > I have a
    > Windows PC and a Mac laptop, so I'm out of luck. It
    seems a little unfair, and
    > I know there must be some kind of anti-piracy thing that
    they don't allow this,
    > but is there any consideration for changing this so us
    legitimate users can do
    > cross-platform installs without having to purchase a
    second copy of the suite?
    Your understanding of the licence agreement is correct. The
    question of
    a dual platform licence is raised in this forum on a regular
    basis
    because many indpendent developers are in the same situation.
    However,
    the answer is no - the licence is for one operating system
    only.
    At the moment, the Studio 8 CD-ROM contains both Mac and
    Windows
    versions, but I suspect that this may not always be the case.
    Adobe
    software is sold on separate disks.
    I raised the question of dual licensing with an Adobe
    executive at Adobe
    Live in London a few months ago. He was sympathetic to the
    problems of
    an individual developer, but from the business point of view
    the
    situation was clear. It costs twice as much to create
    programs for both
    Windows and OS X, so if you want to use it on both systems,
    you must
    contribute towards both sets of development costs.
    If you need to run the Windows version on your Mac, you can
    always use
    Virtual PC or one of the dual boot methods.
    David Powers
    Adobe Community Expert
    Author, "Foundation PHP for Dreamweaver 8" (friends of ED)
    http://foundationphp.com/

  • Does JMF2.1.1 cross platform version support dvi/rtp

    hi!!!
    does JMF2.1.1 cross platform version support dvi/rtp ,8000.0 Hz,4-bit format???
    when i type java AVTransmit2 javasound:/0 224.0.0.1 22222 at the konsole in linux i am getting the following error:
    Audio not supported: interface TargetDataLine supporting format PCM_SIGNED, 44100.0 Hz, 16 bit, stereo, little-endian, audio data, and buffers of 22050 to 22050 bytes
    Audio not supported: interface TargetDataLine supporting format PCM_SIGNED, 44100.0 Hz, 16 bit, stereo, little-endian, audio data, and buffers of 22050 to 22050 bytes

    hi,
    I still dont understand well the jmf either, but i can confirm that i am able to capture audio (using javasound://8000) to capture at 8Khz, setting a processor model with this source, AudioFormat.DVI_RTP and ContentDescriptor.RAW_RTP
    and my transmition happens well:
    dvi/rtp, 8000.0 Hz, 4-bit, Mono
    I JUST CAN CONFIRM THAT JMF 2.1.1 DO SUPPORT DVI/RTP 8000.0 4BIT
    as per the documentation, a processor model requires:
    1. a datasource
    2. an imput audio format
    3. the output content description
    one will think then that the audio imput should be linear and the output should be div/rtp, but it seems it doesnt work like that, im digging on the docs with no success till now, so by experiments i can say that somehow the imput audio format, already tells the kind of coder one will use, that case, DVI/RTP. This means, the data is encoded to a special DVI format who prepare the packets to be Transmitted, and then on the output content one says, is data ready to be transmitted, since is already packetize you say just content is raw or raw_rtp.
    you can not for example say, then ok, convert my imput to a DVI and then packetize it to a (DVI)/RTP, because in this case you will have, starting from the capture device:
    LINEAR convert to DVI> DVI packetize> DVI_RTP -----> Tx
    why not? because there is no codec that receives DVI and convert it to DVI_RTP,
    the only one we got is com.ibm.media.codec.audio.dvi.JavaEncoder
    this one is only able to take linear and convert it to DVI/RTP
    so you have to use the model
    LINEAR ----> DVI/RTP -----> CONTENT = RAW ----> tx it, sink it, but not write...
    to write there are more problems, but that was not the question, just tx
    if someone can explain this better or point to a docs were it is explain it, ill appreciate,
    regards,
    jahm

  • Dreamweaver CS3 vs. Cross platform

    Hello,
    I'm trying to figure out exactly what I need to purchase, is
    it the Dreamweaver CS3 or the cross platform upgrade. Our offices
    currently have a PC and use Dreamweaver 2 but we just purchased an
    iMac and would like to continue using the webpage date that was
    created on the PC Dreamweaver 2. What do I need to purchase for the
    iMac in order to do this?
    Thanks for your time.

    Dreamweaver 2 is extremely old and you will not be allowed to
    upgrade it under Adobe's policies. You will need to just purchase a
    new copy of DW CS3 if that is all you need.
    This would hold true if you stayed on the PC side as well
    because you are only allowed to upgrade from the previous 3
    versions which are 8, MX 2004 (7), and MX (6).

  • Cross platform CS on PC to CS3 on Mac does not work like video says

    Your video on cross platform workflow states that you can import older Premier CS files on a PC into CS3 on a Mac. I tried this and get the message, "this project was saved in a aversion prior to Adobe Premiere Pro CS3 and cannot be opened on a Mac. Please refer to the User Guide for import options." I guess I have to assume then that the video, www.adobe.com/go/vid0236, is wrong about this? Can someone please explain how I can salvage the work I did 3 years ago on Premiere Pro 1 on a PC when I am now exclusively working on the Mac in CS3?
    Thank you.

    Ty,
    This has come up a few times and the solution is to find a PC CS3 user, who will Open the Project and then Save it in CS3-CS4 for you. I does mean that you'll have to befriend a PC-person, but who knows, maybe you can reciprocate later on. In each previous instance, this workflow, PC to PC to Mac worked perfectly. Note: the same holds for Encore Projects, and there is some PC to PC incompatibilities between very early versions and later versions. I had to Open and Save an Enocre 1.0 Project in CS2, so a CS4 (only) user could then Open in CS4. This stuff happens, and the skip in Mac porting can play a role in it. If I had CS3 on my PC's, I'd do it for you, but CS2 will not hlep you.
    I believe that P 6.5 was the last previous version ported for the Mac, until CS3.
    Good luck,
    Hunt

  • External Hard Drive won't appear on PC (want cross platform)

    I have an external USB Hard Drive. I formatted it using the Disk Utility, OS Format and Journaling. Did a small partition in case I needed a system boot drive. Now my sis needed to backup her laptop (Dell laptop), but the drive won't appear in My Computer, it recognizes there is a USB device on the lower task bar, but no drive anywhere.
    Do I have to reformat? what steps do I need to make this USB drive cross-platform friendly?
    Paul

    Hi, Paul.
    You may not want to reformat the drive as FAT-32 since there is a limit on the size of the partition, the maximum file size, and other issues, especially if her Dell's drive is formatted as NTFS (FAT-32 does not support NTFS extended attributes). FAT-32 is unsuitable for backing-up Mac OS X volumes as it cannot preserve the extended attributes (permissions, etc.) employed by Mac OS X.
    It's really best if you each have your own external hard drive for backup, as part of implementing a comprehensive Backup and Recovery solution, such as I use and detail in my "Backup and Recovery" FAQ. You also don't want one person inadvertently writing over another person's backups, which could happen if one is not careful. Furthermore, it is often easiest for recovery.
    How one handles backup in cross-platform environments is tricky and depends on the native formats employed by the different computers involved, and whether backup will be performed over a network or by directly connecting backup drives to the computers one is backing up.
    To enable her Dell to use the Mac-formatted drive, install Mediafour's MacDrive for Windows on the PC. MacDrive for Windows is probably the state-of-the-art application for enabling you to use Mac-formatted disks and hard drives on Windows-based PCs.
    Good luck!
    Dr. Smoke
    Author: Troubleshooting Mac® OS X
    Note: The information provided in the link(s) above is freely available. However, because I own The X Lab™, a commercial Web site to which some of these links point, the Apple Discussions Terms of Use require I include the following disclosure statement with this post:
    I may receive some form of compensation, financial or otherwise, from my recommendation or link.

Maybe you are looking for

  • Firewire DVI Port

    I heared, that there might be some FW -> DVI Ports available for OSX (and Apple Hardware) does somebody know something about it ? How is the name of one of this products, and where can I find it... ?

  • Copy query (SQ01) to new query with new infoset

    Hi, Not sure if this is correct forum. Is there a way to copy existing query with an infoset to a new query using another created infoset? If so, please explain how. Kind regards

  • Not being able to download App in App Store

    Hi, I am not being able to download any application via the App store. I get the error "The network connection could not be made". I tried to download using different sign-in accounts even then faced the same issue. I also tried to use iPhone for app

  • Error when installing APEX 3 on Oracle 11g !!

    I have Oracle db 11g on Windows Vista and there is no problem with the database. The problem is when I try to install Oracle Application Express (Apex) 3. After unzipping the Apex zip file to somewhere on my hard disk, I log to the database as sysdba

  • Can a ODS have no keys but only data?

    Dear BWers, The client has a requirement where the data is coming from a flat file that does not have any keys defined. So i need to design an ODS that does not have any keys. I also need to create a infoobject that can be used as a counter to see th