Design for a semi protocol between a server and client

Hi!
I'm building quite a large client/server application that communicate using Serializable Objects.
There is about 20 actions done between the client and server ranging from
- the client requesting objects from the server
- to the client sending a range of different values to the server.
Does anyone have a design of a protocol that handles a large amount of actions that I could get design ideas off?

Hi!
I'm building quite a large client/server application
that communicate using Serializable Objects.
There is about 20 actions done between the client and
server ranging from
- the client requesting objects from the server
- to the client sending a range of different values to
the server.HOPP / Half-Object plus Protocol / Half-Object part Protocol
This is the pattern EJB's follow.
Does anyone have a design of a protocol that handles a
large amount of actions that I could get design ideas
off?Protocol ? There is SOAP, RTSP, SMTP or HTTP.
To implement a Protocol Handler, checkout the Command & Interpreter Pattern. Command is most useful if you simply know the commands you need to handle, and Interpreter is most useful if you have a grammer you wish to implement.

Similar Messages

  • Communication protocol between Admin Server and Managed Server

    Hello - I am hoping someone can help me here to understand the communication protocols used in my setup.
    Here is my understanding of the protocol that are used between each component.
    End User <--->HTTPS<--->LoadBalancer Device<--->HTTPS<--->Web Server<---->HTTPS<--->WebLogic Server(Managed Server)<--->LDAP/JDBC<-->Data tier components
    AdminServer<--->T3<--->Managed Server i.e. The communication protocol between Admin Server and Managed server is T3
    The communication protocol between Managed Servers running in one cluster on two seperate machine is What?
    Thank you.

    Hello, interesting question.
    In the documentation " [cluster multicast communication|http://download.oracle.com/docs/cd/E13222_01/wls/docs90/cluster/features.html#1007001] " don't specify the used protocol to pack the information for example in a session replication.
    Although in a session replication all objects must be serializable i don't think rmi protocol is used.
    I hope some expert give us some light in this issue :-)
    http://download.oracle.com/docs/cd/E13222_01/wls/docs90/cluster/features.html#1007001

  • 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

  • Monitor/capture tcp data between a server and client

    Hi
    I am doing a server/client TCP connection between my laptop and another computer running the server program. With my client program I am able to send commands to the server to which it reacts. However I do not know what the commands are (I just press a button in the client GUI and the command is sent), so my initial thought was that, maybe I was able to monitor/capture the strings/bytes/integers commands, which is send over the TCP/IP. There are only these two computers on the network, so no problem in other traffic there. FYI, they are connected with a wireless peer-to-peer connection.
    My problem comes from the manufature of the software making a crabby manual, so really the commands in the manual, which I was supposed to send with my own TCP vi, are just impossible to understand, and don't get me started with their support :-)
    SO, any suggestions if it is possible to capture what is sent over the TCP when I press a button in my client GUI?
    LabVIEW 8.6 / 2009 / 2010
    Vision Development Module 8.6 / 2009 / 2010
    VBAI 3.6 / 2010

    Matthew Williams wrote:
    Wireshark, http://www.wireshark.org , will capture data off the network and sort/display/categorize.
    I don't know how well it will work in a wireless environment, we usually use a wired hub (not switch).
    Matt
    Hi Matt
    I have just tried Wireshark, I get a lot of data, so I just have to use a bit of time figuring out what is what, but good program to monitor the LAN connection also wireless. I can monitor all the packages between the client and server. It looks like there is a bunch of data just from keeping the connection active, but again I have to dig a bit deeper before I can say anymore:-)
    MikeS81 wrote:
    Hi SCMAJA,
    another way is to build your own TCP/IP Server with LabView and receive with it the commands send with your client program.
    Mike
    Hi Mike
    Yeah I tried that right now using the TCP Communicator - Passive example, unfortunately the connection between the client and server is kept alive using some commands, so the only command I can get to read is the connect command, because the client then refuses the connection because there is no "right" answer/repsonse from the server :-(
    edit:
    I just got in touch with the support, and got some of the commands to work. I had to make some crazy command with a header first, then size and last my command, all converted from DEC to HEX.. Not easy to figure out :-)
    Message Edited by SCMAJA on 02-08-2008 04:29 PM
    LabVIEW 8.6 / 2009 / 2010
    Vision Development Module 8.6 / 2009 / 2010
    VBAI 3.6 / 2010

  • Connection between sap server and client

    I am useing 4.7, I am unable to connect server from a client.
      It gives me an message "Partner not reached"
    but from the client it is PINGING.

    Hi Charles,
    Which server is this? which client you are using? is it related to MDM?
    Regards,
    Mausam

  • ABAP server and client proxies

    Dear All,
                what is the diff between  ABAP server and client proxies?
    Regards,
    Ashish goyal

    Hi Ashish,
    Client proxy means proxy in Sender System, and Server Proxy means proxy in Receiver System.
    Have a look to the following links:
    <a href="http://help.sap.com/saphelp_nw04/helpdata/en/02/265c3cf311070ae10000000a114084/frameset.htm">ABAP Proxy Runtime</a>
    <a href="http://help.sap.com/saphelp_nw04/helpdata/en/c9/74246d8ad2447799063d39013e9a11/frameset.htm">Programming with Client and Server Proxies</a>
    ABAP Proxies in XI(Client Proxy)
    /people/ravikumar.allampallam/blog/2005/03/14/abap-proxies-in-xiclient-proxy
    ABAP Server Proxies
    /people/siva.maranani/blog/2005/04/03/abap-server-proxies
    Hope this help
    Francesco

  • Replication between Oracle Server and MS SQL Server

    Hello,
    Does anybody know of a well known or reliable software that can do data replication between Oracle Server and Microsoft SQL server.
    I suppose I can write my own version using Heterogenous Services in Oracle but I would like to know if such an automated replication between Oracle and SQL is available commercially.
    Thank you.

    Viacheslav Ostapenko wrote:
    Sorry, Aman,
    I couldn't find any info about replication to MS SQL. Is it possible at all? Could you provide link where we can read about this? It could be very interesting.Sorry Viacheslav, even I couldn't find anything for the same. I am not sure that it can be done or not, I haven't heard anyone in my contact doing so. The only place where I have seen Streams being used around me is within Oracle db only. May be someone else can help if he/she has done it.
    Aman....

  • Diff. between content server and archive server(SARA on content server)

    I am very interested about difference between content server and archive server. Is there content server supplied by SAP and archive server by third party producers or something else?
    If so dditionally what needs to be done to archive data (via Sara) on content server. I did it on sap R/3 4.0 on an archive server. Is it huge difference to do it on 4.7x2 on content server?

    Hey,
    The content server is used to save documents,
    and SARA (and other third party producers) are used to archive old data.
    For example:
    You should use Content server - When you need to save un-structured data about worker (e.g: pictures, documents and etc) .
    You should use SARA (and other third parties) - When you need to move to archive old
    worker which have left your organization before 5 or more years (there for they are not relevant for you)
    Here is some more information about Content server
    from help.sap.com:
    "Therefore, besides the SAP database, an external content server is always available in every SAP system installation. In this way, the necessary technical infrastructure is provided for all document-centric applications and business scenarios that do not require a long-term archiving solution"
    Here is some more information about SARA and archiving
    from help.sap.com:
    "Data Archiving removes from the database application data from closed business transactions that are no longer relevant for the operational business. The archived data is stored in archive files that can be accessed by the system in read-only mode."
    for more information:
    http://help.sap.com/saphelp_nw70/helpdata/en/8c/e9ddbb5d9a524bbb7854d31b963248/frameset.htm
    http://help.sap.com/saphelp_nw70/helpdata/en/73/c335406ee32e34e10000000a155106/frameset.htm

  • 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.

  • Difference between web server and application server

    Hi Everybody
    Could anybody expain difference between web server and application server?
    Sharad

    Hi there
    The difference I know is the application servers provides the containers for the applications to run which is not provided by the web servers.
    For example the containers can be an EJB container or JSP container etc

  • Difference between application server and central instance

    Hi everyone,
    whats the difference between application server and central instance and message server. where it will be installed. and how?
    Regards
    Basis Fresher

    Hi,
    just want to clarify that is is not correct that only one enqueue process can be configured on the CI.
    Please see the documentation within transaction RZ11 for the parameter Parameter : rdisp/wp_no_enq
    Short description : number of enqueue work processes
    Parameter description :
    You can use this parameter to define the number of enqueue work processes for the instance.
    Ensure that a value >0 is only set on the central instance that provides the enqueue server (instance rdisp/enqname ). One enqueue work process on the central instance is normally sufficient (rdisp/wp_no_enq = 1); only in very large systems can a higher value be useful.
    Kind Regards
    Thomas Alt

  • RE:difference between application server and web application server

    hi,
         i am a fresher to SAP.please tell me the difference between application server and web application server so that my doubt will be clarified.

    Hi,
    the SAP Web Application Server is the reliable, open standard-based application server from SAP. It supports both J2EE and ABAP, and serves as the underlying infrastructure for all new and upcoming SAP solutions, like SAP R/3 Enterprise, SAP Portal, SAP Exchange Infrastructure, and all other SAP components.
    The SAP Web Application Server is not a new product, it is the natural evolution of proven SAP application server technology formerly known as SAP Basis. It provides the platform to develop, execute, and operate Web applications and Web services as well as traditional SAP GUI based applications
    if it helpful rewards points are appreciated

  • Different between shared server and dedicated server

    could you explain difference between shared server and dedicated server.

    Oracle has two modes, a shared server mode and a dedicated server mode. In dedicated server mode (the default), the Oracle server creates one process per connection.
    This quickly limits the number of connections the Oracle Server can support due to the following:
    1.There is an OS limit on how many processes/file descriptors can be supported
    2.Oracle has an internal PROCESSES parameter that prevents it from launching more than the specified number of processes.
    When it is anticipated that these limits may be exceeded, which frequently happens for 50-100 concurrent connections, you should either configure Oracle in shared server mode or increase the limits above, so that many concurrent connections can be supported by each Oracle process. Oracle states that running in shared server mode is slightly slower than in dedicated server mode.

  • Differeance between appilication server and web server

    differeance between appilication server and web server

    please give me good sites to learn (how to run
    servlets in jsp)
    You don't run servlets in jsp. I suggest you to start reading here.
    http://www.coreservlets.com/
    There is a PDF version available for download too. Also, do not forget to make good use of Google search.

  • I just bought OS X Lion and now it says I need to go to the App store and pay even more money to get a newer iPhoto for PhotoStream to work between my iPhone and my computer.  Is this a rip off to make us pay more $ or is thereanotherway to update iPhoto?

    I just bought OS X Lion and now it says I need to go to the App store and pay even more money to get a newer iPhoto for PhotoStream to work between my iPhone and my computer.  Is this a rip off to make us pay more $ or is there another way to update iPhoto?

    Yes, you’ll need to upgrade to the latest version of iPhoto for $15.  That is the only solution.  You can read here if you wish: http://www.macworld.com/article/160380/2011/06/icloud_what_you_need_to_know.html

Maybe you are looking for