Serialize the object between Server and Client?

Hello friends,
What is the important to Serialize the object between server and client?
Thanks
tamilvanan

in which context ??
Anyways,checkout the below link and try to understand how do we convert Serializable Object's State to in Stream and send it over network.
http://java.sun.com/j2se/1.4.2/docs/guide/serialization/examples/index.html
Hope that might help :)
REGARDS,
RaHuL

Similar Messages

  • Data streaming between server and client does not complete

    Using an ad-hoc app, data streaming between server
    and client does not complete as it supposed to be.
    The process runs well in solaris 5.8, however under 5.9
    we have found the characters stream buffer length limitation
    is around 900 to 950 characters (by default we are using 3072
    characters).
    Example:
    - We are transfering HTML file, which will be displayed
    in the App client, with buffer=3072, the HTML only displayed / transfered
    as xxxxxxxx characters, but with buffer=900 the HTML is displayed properly,
    in this case, the only problem that we have is the file transfer will
    eventually longer than usual.
    - There is another case, where we have to transfer information (data) as stream
    to the client. A long data stream will not appear at all in the client.
    Any ideas why the change between 5.8 and 5.9 woudl cause problems?
    The current app-driver that we are using is compiled using Solaris 5.6,
    if possible we would like to have use of a later version, which is compiled using Solaris 5.9, do you think this will probably solve our problem?
    Thanks
    Paul

    Does this have anything to do with Java RMI? or with Java come to think of it?

  • Bandwidth between server and client

    HI
    What is the minimum bandwidth can be allocated between server and client?

    Hi,
    Your question has no standard answer. The minimum bandwidth is variable to each specific system. It depends on many other factors too.
    Thanks,
    Gordon

  • Speed between server and client when using FML

    I using FML between server and client, the server access oracle using only 5 ms, but when tranfer back to client, it about 100ms long. I tuned my hp-ux 11 kernel and tuxedo config file, but useless, Why?

    Hi Tumecan,
    Your expected information available here, check.
    Frontend Network Load - Network Integration Guide (BC-NET) - SAP Library
    few related SAP Notes:
    164102 - Network load between application server and front end
    500235 - Network Diagnosis with NIPING
    62418 - Network Load of SAPGUI Frontend Communication
    679918 - The front-end network time
    578118 - Long response times on the SAP GUI
    161053 - Using SAP GUI in WAN
    Regards,
    V Srinivasan

  • What is the difference between ojvm and client versions?

    Changing the java vm from client to ojvm result in the following error:
    Errormessage:
    java.lang.UnsatisfiedLinkError: no UniqueC in java.library.path
    Project Settings -> Configurations -> Development -> Runner -> Virtual Machine -> ojvm FAILS
    Project Settings -> Configurations -> Development -> Runner -> Virtual Machine -> ojvm      RUNS OK.
    Project Settings -> Configurations -> Development ->Paths ->Additional Classpath:
    C:\jars\xerces.jar;C:\jars\UniqueC.dll;C:\jars\log4j-1.2.8.jar
    What is the difference between ojvm and client versions? How can I make ojvm to find UniqueC.dll?
    Various version info:
    Output from program:
    java version:1.4.2_01
    java home:C:\programfiler\JAVA\2sdk1.4.2_01\jre
    java vm version:9.0.3.738 cdov
    Taken from JDeveloper Help About:
    Oracle IDE     9.0.3.10.35
    UML Modelers Version     9.0.3.9.4
    Business Components Version     9.0.3.10.7
    java.version     1.3.1_02
    java.vm.name     OJVM Client VM
    java.vm.version     9.0.3.738 o

    However, Adobe offers extra paid services to create PDF or to export PDF to other formats. You are not required to buy them, however.

  • Time sync between server and client

    Hi guys,
    I have written a chess server and client. My next step is to implement a clock which will be used in timed games, however, I am not sure of the best solution. I can't think of a reliable method to keep the client's time in sync with the servers because the event latency varies between individual events and clients.
    My first idea was to send a 'tick' event every second but I dont think this the best solution. I have seen many applet based clients which have timers, such as Yahoo chess.
    I know this question is a little vague, I can give more detail if needed.
    Thanks,
    Alex

    To prevent client-side cheating, the server should keep the
    "official" clock. Every so often (perhaps when a move gets made?),
    notify both clients of the official time. Clients count seconds from
    that official time.
    This is a suboptimal solution because it leaves clients vulnerable
    to network lag. I can't think of any other solution that doesn't give
    clients some responsibility for tracking time, though, and that's a
    big security hole.
    If you're willing to open that hole, have each client report back to
    the server the elapsed local time from when they recieved the
    last move to when they made their move. Then update the other
    client's clock accordingly.

  • Connection between server and client using thread

    hi
    i am new to java..i hav done a program to connect a server and client...but i hav not used threads in it..
    so please tel me how to use threads and connect server and client..i tried it out not getin...i am havin thread exception...my program is as shown below
    SERVER PRG:
    import java.io.*;
    import java.net.*;
    public class Server{
    String clientsen;
    String serversen;
    public void go(){
    try{
         ServerSocket serverSock=new ServerSocket(6789);
         while(true) {
         Socket sock=serverSock.accept();
         BufferedReader inFromClient=new BufferedReader(new InputStreamReader(sock.getInputStream()));
         BufferedReader inFromuser=new BufferedReader(new InputStreamReader(System.in));
         DataOutputStream outToClient=new DataOutputStream(sock.getOutputStream());
         clientsen=inFromClient.readLine();
         System.out.println("From Client: "+clientsen);
         System.out.println("Reply mess to Client");
         serversen=inFromuser.readLine();
         outToClient.writeBytes(serversen+'\n');
    } catch(IOException ex) {
         ex.printStackTrace();
    public static void main(String[] args) {
         Server s = new Server();
         s.go();
         CLIENT PRG
    import java.lang.*;
    import java.util.*;
    import java.io.*;
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import java.net.*;
    import java.lang.Thread;
    import java.applet.Applet;
    class Client1
    public static void main(String argv[]) throws Exception
              String Sen;
              String modsen;
              BufferedReader inFromUser=new BufferedReader(new InputStreamReader(System.in));
    Socket clientSocket=new Socket("192.168.1.2",6789);
              DataOutputStream outToServer=new DataOutputStream(clientSocket.getOutputStream());
              BufferedReader inFromServer=new BufferedReader(new InputStreamReader(clientSocket.getInputStream()));
              System.out.println("Enter the mess to be sent to server");
              Sen=inFromUser.readLine();
              outToServer.writeBytes(Sen + '\n');
              modsen=inFromServer.readLine();
              System.out.println("FROM SERVER: " +modsen);
              clientSocket.close();
    please send me the solution code for my problem...

    sorry for inconvenience...
    SERVER PROGRAM
      *import java.io.*;*
    *import java.net.*;*
    *public class MyRunnable implements Runnable*
       *public void run() {*
       *go();*
    *public void go(){*
    *try {*
        *String serversen;*
       *ServerSocket  welcomeSocket=new ServerSocket(6789);*
       *while(true)*
    *Socket connectionSocket=welcomeSocket.accept();*
    *//BufferedReader inFromClient=new BufferedReader(new //InputStreamReader(connectionSocket.getInputStream()));*
    *System.out.println("enter the mess to be sent to client");*
    *BufferedReader inFromuser=new BufferedReader(new InputStreamReader(System.in));*
    *DataOutputStream outToClient=new DataOutputStream(connectionSocket.getOutputStream());*
    *//clientsen=inFromClient.readLine();*
    *//System.out.println("From Client: "+clientsen);*
    *//System.out.println("Reply mess to Client");*
    *serversen=inFromuser.readLine();*
    *outToClient.writeBytes(serversen+'\n');*
    *} catch(IOException ex) {*
    *        ex.printStackTrace();*
    *class Server1{*
    *public static void main(String argv[]) throws Exception*
         *Runnable threadJob=new MyRunnable();*
    *Thread myThread=new Thread(threadJob);*
    *myThread.start();*
    *}*CLIENT PROGRAM
    import java.io.*;
    import java.net.*;
    class Client2
    public static void main(String argv[]) throws Exception
              //String Sen;
              String modsen;
              //BufferedReader inFromUser=new BufferedReader(new InputStreamReader(System.in));
    Socket clientSocket=new Socket("192.168.1.2",6789);
              //DataOutputStream outToServer=new DataOutputStream(clientSocket.getOutputStream());
              BufferedReader inFromServer=new BufferedReader(new InputStreamReader(clientSocket.getInputStream()));
              //System.out.println("Enter the mess to be sent to server");
              //Sen=inFromUser.readLine();
         //     outToServer.writeBytes(Sen + '\n');
              modsen=inFromServer.readLine();
              System.out.println("FROM SERVER: " +modsen);
              clientSocket.close();
    this is the code which i hav used using thread but i am gwetin error..ts is the error
    Exception in thread "main" java.lang.NoSuchMethodError : Main

  • Difference between Server and Client Installation of ODI

    Hi All,
    i am new to ODI, recently i try to install ODI it has three Option 1.Complete 2. Client 3. Server
    i installed Server after installation it contains only Agent. and i tried Client option end of the installation i saw all the ODI components including Agent. i am bit confusion about when do i need to use ODI Server and when do i need to use ODI Client and what is the purpose of both
    Thanks
    Knidhi
    Edited by: knidhi on Oct 6, 2009 2:38 PM
    Edited by: knidhi on Oct 6, 2009 2:38 PM

    Hi,
    Trying to help :-
    What roll ODI Server play in the entire ODI ArchiTechture?
    ODI Server will act as a cenratilsed system for all your ODI clients
    You can call this ODI server as an execution server for all your ODI clients .
    When this is needed ?
    (some real time examples to explain the need)
    If there is team need to work on a cenratlised application ...
    say MachineDev1 (developer1) , MachineDev2 (developer2) .. and MachnAnlayst1 (An1), MachnAnlayst2 (An2) need to work on an single application
    The developer1 will create projects based upon his machine ,
    The developer2 will create projects based upon his machine ,
    and the analysts/operators will try to execute the application from their machines with their machine agents.
    the application will reffer the paths for temperory/supporting files/folders on the agent machines which they are running ...
    this will be a difficult task, if you dont have a similar folder sturcture in all of your machines ..
    In order to avoid this conflict you need a centralised system for running your jobs from different machines
    say SVR (from your example). put all the supporting files/folders in this system while developing projects each develpoer need to consider this server as an execution server.
    so if any execution comes from any clients with this agent, it will reffer to the machine SVR folders and you can have a centralaised enviorment to work for different machines.
    Regards,
    Rathish

  • Xsan between server and client??

    Sorry, if my question should be stupid:
    I am installing now a FC Raid to a Xserve. The raid is neither Promise nor Xraid. Could I connect a specific workstation (MacPro) with the Xserve via xsan (and FC) to get higher transmission speed for that workstation?
    I understand, that normally you connect several servers with one or serveral San-Storage.
    Thanks in advance!

    Hi,
    Well, that depends on the FC interface on the RAID..
    But it should be faster, as the data path is dedicated in FC.
    You do, though, need a huge setup for that small installation, so it has to be worth it.
    FC switch, dedicated Ethernet Metadata network (could be VLAN'ed on an existing switch) and SAN software.
    But, the speed is higher, compared to AFP if you have enough RAID controllers with bandwidth.
    Apple's XRaid has 80MB/sec pr. controller at 2GB FC.
    Promise uses 4x4GB FC interfaces / chassis, so those should be higher. Yours my offer something different.
    Hope it helps...

  • Transfer files between server and clients

    Hi all
    i use oracle forms 11g r2 webutil
    i have some questions :
    1- How i can choose picture from client side and save it on server ( in folder ) ?
    2- How i can print the picture from client side?
    Thanks

    Hello,
    For transfering files, configure the Webutil library, then use its AS_To_Client() and Client_To_AS() methods.
    Francois

  • Passing parameters between server and client side

    Dear All
    I writing a server-side web service and using wsdl to expose its methods for a 'client' to use.
    However, i need to make sre the clients creates a soap header? How can i tell the client it must create a soap header?
    Also can someone tel me how i pass a value from the server-side to the client-side and also get a vlue from the client soap message
    Many thanks

    In your wsdl you would have the header as part of the input for example, see the operation below:
    <wsdl:operation name="foo">
    <soap:operation soapAction="http://www.foobar.com/foo" style="document"/>
      <wsdl:input>
       <soap:body use="literal"/>
       <soap:header message="tns:FooSoapHeader" part="MySoapHeader" use="literal"/>
      </wsdl:input>
      <wsdl:output>
       <soap:body use="literal"/>
    </wsdl:output>
    </wsdl:operation>

  • Difference between SERVER and CLIENT side conflicts?

    Some sync conflicts (ApplyChangeFailed event) are generated on the server side (WCF service in my case) and some are generated on the client side ... what triggers the conflict
    to be generated on one side or the other?

    the ApplyChangeFailed is fired by the provider that's applying the change.
    When you upload, it fires on the destination/remote provider.
    when you download, it's your local provider applying the change.

  • XL Reporter Problem:  Version Mismatch between server and client

    When I start SAP Business One, I get the following message:
    "The new version of Add-on is installed.  Upgrade the Add-on in the current Common DB."
    The version of the XL Reporter add on shown in the Add-On Administration is 881316, but the version of the add-on in the Add-On Manager screen is 881 316 00 08 (equates the verions of SBO installed).
    Does anyone have any advice on how to correct?   Do I need to reinstall SAP Business One on the server?
    Regards
    Jeffrey Patch

    Hi,
    Check this link :
    https://websmp202.sap-ag.de/~form/sapnet?_FRAME=CONTAINER&_OBJECT=011000358700000827312009E
    Check Application Error/Limitation > Reason 6 in the link.
    Kind Regards,
    Jitin
    SAP Business One Forum Team

  • What are the differences between inactive and active ABAP objects?

    Can anybody tell me what are the differences between inactive and active ABAP objects?
    In my opinion,  an active object is compiled and system wide available, that means the system do not have to compile the program again before run or use the object. While An inactive object is not system wide available and every time you run an inactive object, firstly the abap runtime will have to  generate a tempory runtime object and this inactive object can not seen by others.
    Am I right? Can anybody kindly tell me other differences?

    Hi,
    "When it is inactive, it is like it would not exist at all:" no - it's like it only exists to you
    "If we just saved that one means it is stored in application server not in database": no - the inactive version is also stored in the database. You can log off and log on and it will still be there, in its inactive status.
    "Only active objects can be executed.": no - inactive objects can be executed by you
    When you create or modify a program, it is inactive until you activate it.
    With a change, there are two versions of the program stored in the database - the active version (as it was before you made your change), and the inactive version. If you attempt to run the program, you'll run the inactive version - the one with your changes. Everyone else on the system will run the active version.
    In this way, you can make changes without affecting anyone else.
    Once you activate your program, then the inactive version becomes the active version.
    With a create, there is no active version, until you hit the activate button. This means ONLY you can run the program.
    An additional benefit of this model, is that if you make a change, save it, and then change your mind without activating, you can recover the active version into the editor, using version management.
    A downside is that sometimes you have to activate your change before you can test it, if it interacts with other, active, programs.
    Regards,
    Kumar

  • Differences between GKAPI server and client modes

    Cisco Gatekeeper External Interface Reference does not talk much about the server and client modes. Does anyone know the different between these 2 modes?

    Hi Krishna,
    Have a look at the two links below. They provide configuration examples for each of the two topologies along with explanation on the different commands used.
    http://docwiki.cisco.com/wiki/Basic_Load_Balancing_Using_Routed_Mode_on_the_Cisco_Application_Control_Engine_Configuration_Example
    http://docwiki.cisco.com/wiki/Basic_Load_Balancing_Using_One_Arm_Mode_with_Source_NAT_on_the_Cisco_Application_Control_Engine_Configuration_Example
    I hope this helps
    Daniel

Maybe you are looking for

  • Flash builder 4.7 and 3.5 sdk not able to complete an IOS release build

    Hello,   I am having a problem when I try to make an IOS ipad release build it never able to finish and fails due to compiler errors.   I am using window 7 and flash builder 4.7 and AIR sdk 3.5.   I have one actionscript mobile project linked to 5 li

  • MacBook Pro Suddenly Very Slow

    Hello all, I own a mid-2012 MacBook Pro with 8gb of RAM and 2.5GHz i5 processor running the latest version of Mavericks. I purchased it back in December 2012, and have only had one issue with it (graphics card failure, which was fixed by Apple). Ever

  • Anybody has been able to add a video to iBooks Author?

    I followed the export instructions in the help but I always get the same error message: The media file "Untitled2.m4v" wasn't added. The file is an unsupported format. My video is in 1280x720 resolution. This is what I did to export my video: Convert

  • Replacing a pattern in a file

    Hi., In my file I want to replace the occurance of the VARIABLE_1 with VARIABLE_2 in a particular line.. HERE is the Example: # sed -e 's/multimediaGroup type="media" dbid=$a/multimediaGroup type="media" dbid=$b /' abc>abc.new here I am replacing the

  • I keep getting kicked out of iphoto

    I get into iphoto.  I see my photo files.  And then, after about 30 seconds, I get kicked out of iphoto and get a new window that shows a Problem Report for iPhoto.  Any idea what is happening?  Why?