Are there any Client/Server Application (using sockets) design patterns?

Hi,
The title of the post nearly says it all. I am searching for different design patterns related with the development of a client/server application. I understand that there must be any different ways on how a client/server application can be developed.
Regards,
Sim085
Disclaimer:
When I enter in the Socket forum on this site I recieve this message "Thank you for any participation in this forum. Due to a lack of relevant activity, we have decided to archive this forum on June 16, 2006. For future posts on this topic, we suggest you use the Networking forum" and I am not allowed to create a new post! However I can see posts done yesterday! All i did is add the forum in 'my forums'. Does this happen to you people as well?

Hi Sim085...How are you?
So look this:
http://forum.java.sun.com/thread.jspa?threadID=5148926&tstart=75
I don�t know if is what you want...but I hope in this^^
Ok man...If you have one example for help you is better.
[ ]

Similar Messages

  • Client/server application using sockets

    Hi there,
    I'm trying to create a client/server application using sockets where the client has a GUI of a membership application form for some sort of club. Basically, the user will enter their name, address, membership no. etc in to various Jtext fields and then press a JButton to submit these details to the server. The server will then hopefully just dump these details to a text file.
    Can anyone give me any examples, ideas on how to start, links etc.
    Thanks v. much in anticipation,
    Nick

    Take a browse of the tutorial on sockets: http://java.sun.com/docs/books/tutorial/networking/sockets/clientServer.html

  • Are there any libraries can be used to generate Type 1 font postscript file

    I am trying to create a Type 1 font postscript file. But I found it is hard to find the library to generate the Type 1 font postscript file. I just found a library named iText which can create the Type 1 font PDF file.
    Are there any libraries can be used to generate Type 1 font postscript file?
    Thanks!

    I don't see much benefit with the current ODI adaptors for planning if it is an EPMA type planning application.
    They have been specifically designed to work with classic planning applications.
    It certainly is possible to load into EPMA interface tables using ODI though there are no direct adaptors and it takes quite a bit of effect to get them into the correct format.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Are there any know issues with using multiple (2) apple tv's in the same household??

    I'm thinking of getting a second Apple TV. Are there any known issues with using multiple (2) apple tv's in the same household? Thank you in advance.

    No, shouldn't have any problems

  • Are there any known issues when using PSE 13 after installing Apple's recent 10.10.3 Combo update for Yosemite?

    I've had Yosemite for some time and bought/installed PSE 13 afterwards.
    In the last few days I upgraded to Yosemite 10.10.3.
    As a PSE 13 novice I've been working my way through "Adobe Photoshop Elements 13 - Classroom in a Book". Working through the exercises I've found my iMac is sometimes taking longer to process the functions I'm using than prior ro the 10.10.3 upgrade. E.g., using the Healing Brush tools, Straighten Tool etc.
    I've struggled with Apple's upgrade and had to re-install my machine from a previous Time Machine Backup and so I was wondering:-
    Are there any known issues with PSE 13 post 10.10.3 upgrade?
    Are there things I should be concerned about in the future before accepting an OS X upgrade?
    Thanks,
    Andy

    No, no known issues. However it's a good idea to always delete preferences after OS X system updates.

  • Client server application using CORBA

    Hi
    I have a basic client server application running using CORBA/idl where the client starts up and the server says hello back to the client. I have figured out the basics but would like some help with these small problems.
    When I start the client, the server says hello. Thats OK. Now I want the client to start a simple java app (called c:\test.java - it works) that I created before. How?
    The next bit is when I close down the app "test" that I start, I want the server to realise that its closing and simply say goodbye on the client. How?
    If anybody can help me, I'd appreciate it.
    Thanks for your time,
    Shaun

    hi,
    to my knowledge, you will have to define a method in idl file and in your client, which server invocates(saying good bye etc) before shutting down..
    ls.

  • Need help in desigining Client/Server Application using Java

    Hi,
    I am new to Java and no sooner that I started studing it I have been given a project - client server java Application that allows a user to do a property search based on critiras (eg location, price) and display the results. I am stuck because I don't know where I need to start. Have to use IDE (Netbeans or Eclipse) but not sure about dev frameworks.
    Can someone give me an outline of what I should do / where I should start? What will be the best solution?
    Thanks in adance

    http://java.sun.com/docs/books/tutorial/networking/index.html
    That's Sun's networking tutorial series. Live it, learn it, love it. You'll need to decide if you want to use connected sockets or datagrams. You'll need details like, can multiple clients connect simultaneously?
    The tutorials are the first step though.

  • Is there any client server communication

    hi All,
    dear all. i am new to aqualogic bpm studio. right now i am opening file on the server by choosing the file from the client.
    actual my need is i want to open the file on the client by choosing file on the client . Aqualogic bpm studio is using COM protocol to get open the file.
    please help regarding this....
    Regards,
    Ram

    The both alternates you are thinking over are fine. But the later one may cause some performance and memory issues.
    If you want to go with the first alternate, I suggest you to develope your owen server using ServerSocket and use your own protocol for communication between client and server over the sockets. Because using HTTP protocol will slow down your entire application. It adds overhead because each request passes through the servlet container.

  • How can I develop a web application using EJB design pattern?

    I have searched over the web and found quite a lot of tutorials on how to use the EJB design pattern.
    I know that there will be a home interface, EJB object interface and a SessionBean.
    But the tutorials often only cover a single class, this made me unable to get a complete picture of how EJB design pattern can be implemented into a whole system.
    I am now required to devleop an online shopping web application using EJB and JSP page.
    I think I will need to create a lot of classes: Member, ShoppingCart, Product...etc.
    What I want to ask is that, do I need to create a home interface, EJB object interface and a SessionBean for each of these classes?
    I really need some ideas on how to develop this system using EJB + JSP pages.
    Many thanks to you all.

    For every EJB that you want to create, you will need to code a home and remote interface and a bean class.
    You could start getting your ideas here
    http://www.theserverside.com/books/wiley/masteringEJB/
    http://www.coreservlets.com

  • Are there any known issues concerning using DIGEST-MD5 SASL authentication with iPlanet Directory Server 5.0 on Windows NT 4.0?

    I am developing support for the DIGEST-MD5 sasl mechnism on a c-ldap client. I am using the evaluation version of the iPlanet Directory Server 5.0 which lists DIGEST-MD5 as a supported SASL mechanism. The server is running on NT 4.0 After installing the Directory Server with the test database, a changed the passwordStorageScheme from the default of SSHA to clear text. I then added my test user. When I run my test I always get back a resultCode of 49 (invalidCredentials). The digest-challenge I receive from the server and my digest-response are shown below. I have satisfied myself that the calculation of the response directive in the digest response is correct. Does anyone see any problems in the digest response or have any other suggestions? Is there a known problem with the iPlanet Directory Server 5.0?
    digest-challenge:
    realm="BGB2.ndp.provo.novell.com",nonce="Ed8UPLXsWaC6CN",qop="auth",algorithm=md5-sess,charset=utf-8
    digest-response:
    username="uid=bgbrown,ou=people,dc=siroe,dc=com",realm="BGB2.ndp.provo.novell.com",cnonce="A9IuPJKr30RiwL",nc=00000001,qop=auth,digest-uri="ldap/BGB2.ndp.provo.novell.com",response=97061205298e5ebaf206c8ac3598fdce,charset=utf-8,nonce="Ed8UPLXsWaC6CN"

    Found the answer. When the username is an LDAP DN it needs to be proceeded by "dn:".
    example: username="dn:uid=bgbrown,ou=people,dc=siroe,dc=com"
    The server also accepts a simple uid value.
    example: username="bgbrown"

  • Are there any memory restrictions when using Invoke-Command?

    Hi, I'm using the Invoke-PSCommandSample workbook to run a batch file inside a VM.
    The batch file inside the VM runs a Java program.
    The batch file works fine, when I run it manually in the VM.
    However, when I use the Invoke-PSCommandSample workbook to run the batch file, I get the following error:
    Error occurred during initialization of VM
    Could not reserve enough space for object heap
    errorlevel=1
    Press any key to continue . . .
    Does anybody know if there are any memory restrictions when invoking commands inside a VM via runbook?
    Thanks in advance.

    Hi Joe, I'll give some more background information. I'm doing load testing with JMeter in Azure and I want to automate the task. This is my runbook:
    workflow Invoke-JMeter {
    $Cmd = "& 'C:\Program Files (x86)\apache-jmeter-2.11\bin\jmeter-runbook.bat'"
    $Cred = Get-AutomationPSCredential -Name "[email protected]"
    Invoke-PSCommandSample -AzureSubscriptionName "mysubscription" -ServiceName "myservice" -VMName "mymachine" -VMCredentialName "myuser" -PSCommand $Cmd -AzureOrgIdCredential $Cred
    This is my batch file inside the VM:
    set JAVA_HOME=C:\Program Files\Java\jdk1.7.0_71
    set PATH=%JAVA_HOME%\bin;%PATH%
    %COMSPEC% /c "%~dp0jmeter.bat" -n -t build-web-test-plan.jmx -l build-web-test-plan.jtl -j build-web-test-plan.log
    Initially I tried to run JMeter with "-Xms2048m -Xmx2048m". As that didn't work, I lowered the memory allocation but even with "-Xms128m -Xmx128m" it does not work. I have tried with local PowerShell ISE as you suggested, but I'm
    running into certification issues. I'm currently have a look at this. Here's my local script:
    Add-AzureAccount
    Select-AzureSubscription -SubscriptionName "mysubscription"
    $Uri = Get-AzureWinRMUri -ServiceName "myservice" -Name "mymachine"
    $Credential = Get-Credential
    $Cmd = "& 'C:\Program Files (x86)\apache-jmeter-2.11\bin\jmeter-runbook.bat'"
    Invoke-command -ConnectionUri $Uri -credential $Credential -ScriptBlock {
    Invoke-Expression $Args[0]
    } -Args $Cmd
    With this, I get the following error (sorry, it is in German):
    [myservice.cloudapp.net] Beim Verbinden mit dem Remoteserver "myservice.cloudapp.net" ist folgender Fehler
    aufgetreten: Das Serverzertifikat auf dem Zielcomputer (myservice.cloudapp.net:666) enthält die folgenden
    Fehler:
    Das SSL-Zertifikat ist von einer unbekannten Zertifizierungsstelle signiert. Weitere Informationen finden Sie im
    Hilfethema "about_Remote_Troubleshooting".
        + CategoryInfo          : OpenError: (myservice.cloudapp.net:String) [], PSRemotingTransportException
        + FullyQualifiedErrorId : 12175,PSSessionStateBroken

  • Are there any programs I could use for screen markers?

    I tried the app store application for $0.99 but it constantly crashes. I was wondering if anyone had any ideas since it isn't an uncommon problem to have. Thanks!

    You need to use a DAC (Example Only - Not a recommendation or suggestion that this is suitable in your circumstances)

  • Are there any connection settings for using rtsp:...

    In my effort to get access in 'YouTube" steaming videos, I tried to find the scope available  in Nokia 3110C handset. After going through the Menu icons, I identified one Menu Item in the path : MAIN MANU>MEDIA>MEDIA PLAYER>GO TO ADDRESS. It is...rtsp://. The help message states ...'Lets you manually enter Web Address...'. I entered : ' rtsp//m.youtube.com. The response was a Note which reads - Check Connection  Settings... Again I followed the above path :  MAIN MANU>MEDIA>MEDIA PLAYER>STREAM SETT. I click the Stream Settings. The nesponsing note : 'No Settings found. Contact your Service  Provider'. So, from the above discussion the net  learning I got is I must have the Stream Settings to get YouTube going in my Set. My querry is : Whare those settings and what is the source in getting those settings ? I understood the rtsp (Real Time Stream Protocol) is more versatile than HTTP and MMS in getting Streaming data (numerical, photograph/radio). Please suggest.

    I experienced same problem with my 3110c handset. At first the STREAMING SETT was shadowed dark with a restriction to get access there. Later I got contact with BSNL (my SP). After downloading the settings I discovered that the shadowy patch over Streaming Sett. has gone. It  now shows an entry ..."bsnlstream."
    So far an attempt  was made to activate the Youtube, a message reminds me that the software of 3110C is not supporting such application.

  • Are there any costs related to using Genius on itunes?

    hey i was thinking of setting up genius and i wanted to make sure that there werent going to be any charges with it... so i was just wondering if there was?

    I just now set it up myself to verify. Nowhere does it mention fees. Just click on the Genius menu in the left-hand window of iTunes to get started.

  • Are there any specific advantages of using Forte's XSLT Processor over other Processor's?

     

    The main advantage is integration into the UDS run-time system. This makes writing applications that perform XSL transformations in TOOL very easy.
    You could implement such transformations using one of UDS's many methods for integrating external components. You can then use XSLT processors that support extension mechanisms that you need, or other non-standard features. This would come at the cost of using the external integration mechanism appropriate to the processor. See the "Integrating with External Systems" book in the UDS documentation.

Maybe you are looking for