How to set up connection between S and C

I want to realize a chat between server and client.
on both side ,there is a textArea to get the information to send to the other.
I know the socket is must be used,but how to set up the data source(from textarea or textfield),and how to store the data?
can some one tell me how to do this?
thanq!

So what are you saying you dont know how to use the textarea and textfield?Cause it is ez to convert that code that dunedinhigh gave you from console to a gui like what you want I think.So here is a link that shows you how to use text component.You learn this then you can put 2 and 2 together.Also check out the java tut page.
http://java.sun.com/docs/books/tutorial/
http://java.sun.com/docs/books/tutorial/uiswing/components/simpletext.html
good luck

Similar Messages

  • How to establish the connection between crm and r/3

    Hi,
    Sorry for posting this question in this forum, i did not find any CRM forums.My question is,How to establish the connection between CRM and R/3...in my office i installed standard alone CRM system,but it is not talking to R/3.
    Could any one tell me where to find adapters and plugins for this.
    Thanks in advance.
    Ajey

    Hello Ajey,
    in the case you mean the connection between R/3 and SAP CRM you should read the Best Practice Guides:
    B01: CRM Generation
    C71: CRM Connectivity
    B09: CRM Replication
    from http://help.sap.com/bp_crmv240/index.htm. There is a CRM Forum at http://www.sap.com/community/ and also at http://www.sapfans.com/.
    Regards
    Gregor

  • How can I get connection between VC and back end ABAP system

    Hi, I'm developing the kits in the VC platform, and I need to access the back end system designed by ABAP. For example, the system provides some public functions(not web services), and I hope when I click the "search" button, the VC front can call the remote functions and get the data from the back end system. In addition to that, the most important is I must keep the connection real-time. How can I do it?

    Thanks for your help. At present, my VC version is 7.1.4 which isn't installed in the portal server but in local machine, and I'm new in the VC. What I want is when I click the "search" button(in the properties pannel), I can get the data from the remote server. I know the VC 6 provides similar functions, but the current version doesn't. Could you explain the details of how to get and keep the connection between them? Thanks so much.

  • How to Set Up Network Between IMAC and Windows XP

    Hi
    I have a new Imac 27 inch in my study and a PC running Windows XP downstairs - I don't know how to set up the PC and when I phone apple support they could only tell me how to file share from the IMAC end - would be grateful for some help

    First of all, it is easier if your Windows user has a password, it may not be the case, if not, you should set one.
    Then check your firewall settings. if it is activated, go to your network connection's properties, choose the Exceptions tab, and check "File sharing" so that it will no longer be blocked.
    From now on, you should be able to connect to your computer from the finder.
    Choose Go > Connect to server
    Then in the address, type smb://ip.address.of.windows/ and OK
    after a short time, it will prompt you for your username and password, and you should be able to access your Windows resources.
    If your Mac and Windows are in the same workgroup (set in computer properties in Windows, and in Network properties in Mac) it will appear in any finder window side bar.

  • How to create a connection between CRM and R73??

    Hi, I have a problem. I am working with CRM and in my program I have to access to some tables in R/3 to get some data, I have created a RFC function to get those data (it is created in R/3). In CRM there is a report that use that function but when I use it I get a Dump. I think it is because the connection are not established. I know that I have to go to the SM59 but I don't know how and where I have to create, and I don't know which do the Destination parameter must be.
    If anybody knows how to solve it...
    Thanks in advance

    Alejandro,
    Please go through this link below
    http://help.sap.com/saphelp_erp2005/helpdata/en/89/45aad99715462abdf09ec503e151e7/frameset.htm

  • How to make connection between ASP and Oracle 8i

    Dear Helper,
    I have a problem about how to make the connection between ASP and
    Oracle 8i. If you have this idea, please help me to solve this
    problem. Thank You!!!
    null

    You must install Oracle Objects for OLE.
    After this in asp-script you may use following instructions
    1)initialization
    <%
    Set Session("OraSession") =server.CreateObject
    ("OracleInProcServer.XOraSession")
    set Session("OraData") = Session("OraSession").OpenDatabase
    ("service", "scott/tiger",0)
    %>
    2)open Dynaset
    <%
    Set EmpDynaset = Session("OraData").CreateDynaset("select 1 as
    f1, 2 as f2 from dual", 0)
    %>
    3)navigation
    <%EmpDynaset.MoveFirst%>
    <%EmpDynaset.MoveNext%>
    <%EmpDynaset.EOF%>
    4) Field access
    <%=EmpDynaset.Fields(1).value%>
    5) Sql execute
    Session("OraData").ExecuteSQL("delete xxx")
    Best regards.
    null

  • Connection between Portal and MDM

    Hi all
    Can anybody help me on how to establish the connection between portal and MDM with step by step procedure.
    i am new to this combination .
    before i worked with portal but not worked with MDM .
    Regards
    Suresh babu

    Hello Suresh,
    As of my knowledge MDM IViews have the advantage to ful fil your neeed to provide connectivity moreover,that they are not complex in structure and are therefore not restricted by any underlying schema structure. As opposed to regular iViews in other systems which are embedded into the pages on which they appear, MDM iViews are more generic and granular in nature enabling their placement on a page to be more adaptable.
    The SAP Enterprise Portal (SAP EP) offers templates for creating the iViews. The following are some examples of these templates available at the link:
    [http://help.sap.com/saphelp_mdm550/helpdata/en/45/c9f8cac2124ebee10000000a11466f/content.htm]
    Procedure:
           1.      Create a new page using the page wizard.
           2.      To see the iViews you created on the new page, you need to link them to the page. Right-click each of the iViews that you created and from the context menu, select Add iView to Page &#8594; Delta Link
           3.      Double-click the new page you created and select:
    Page Content to view a list of the iViews that have been linked to this page
    Page Layout to view the layout currently assigned to this page. The iViews can be rearranged using the drag&drop function.
           4.      The visual structure of a page can be changed with the Page Layout function. Select Define Layout to reset the layout of the page.
           5.      Select Preview to view the page showing how the iViews have been arranged. The preview simulates what an end user sees at runtime.
    Detailed pictorial presentation available at:
    [http://help.sap.com/saphelp_mdm550/helpdata/en/45/c8e2fa5f0c2e97e10000000a155369/content.htm]
    Hope you will find it helpful.
    Regards,
    Krutarth

  • How to Set Up SSO Between IBM WebSphere and SAP EP Using JAAS

    Hi
    I have read the article on SDN called "How to Set Up SSO Between IBM WebSphere and SAP EP Using JAAS", which is also the name of my posting.
    The reason why I post this is that I've tried to follow the links in the PDF to get the file WebsphereEpSsoLib.zip but I get an error 403, which tells me that the file is not there.
    Does anybody know where this file went or can somebody tell me an alternative place to get this file?
    Jacob

    Please open the associated whitepaper, and you can find the download link to the .ZIP file on page 4.
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/ibm/how to set up single sign-on between an ibm websphere portal and the sap enterprise portal using jaas.pdf
    Hope that works!
    Elise

  • HT5631 how do I verify my apple id? I can't sign in to it in mail and I can't make a new one because it just will not process I'm trying to set up iCloud between iPad and iPhone and having ALOT of difficulty pleAse help need it done by later on today!!!!!

    how do I verify my apple id? I can't sign in to it in mail and I can't make a new one because it just will not process I'm trying to set up iCloud between iPad and iPhone and having ALOT of difficulty pleAse help need it done by later on today!!!!!

    In order to use your Apple ID to create an iCloud account, the primary email address associated with the ID must first be verified.  To do this, Apple will send a verification email to your account and you must respond to the email by clicking the Verify Now link.  Make sure you are check the spam/junk folder as well as the inbox.  If it isn't there, go to https://appleid.apple.com, click Manage your Apple ID, sign in, click on Name, ID and Email addresses on the left, then to the right click Resend under your Primary Email Address to resend the verification email.

  • Frustration! I have all igoods in order to use all, fully as should be. But looks like Softbank does no agree with any connection between iPhone and iMac... What in the world! How Apple let that happen???

    I live in Japan,
    I have all igoods in order to use all, fully as should be. But looks like Softbank does no agree with any connection between iPhone and iMac... What in the world! How Apple let that happen??

    Make sure that you allow pages to choose their colors and that you haven't enabled High Contrast in the Accessibility settings.
    *Firefox > Preferences > Content : Fonts & Colors > Colors : [X] "Allow pages to choose their own colors, instead of my selections above"
    See also:
    *http://kb.mozillazine.org/Images_or_animations_do_not_load
    *https://support.mozilla.org/kb/Images+or+animations+do+not+show

  • How to test the connection between DSD backend and DSD connector

    Dear all,
    I am configuring the MDSD scenario .. and i want to insure that my customization is correct
    How to test the connection between DSD Backend and DSD connector ??

    Hi Viren,
    The problem is:
    We have a new BW system. The basis people asked me to check the connection between this BW system and the R/3. There is only one client for now(100). I have logged into 100 and tried executing RSA1 to check the connection, but it gave a message box saying "You can only work in Client 000". Then I have treid logging into 000(just to make sure) and tried executing RSA1. Even here I got a message saying "The SAP BW system must not be operated in client 000". Now, I am not sure of what is wrong in clien 100. I am not sure if I have to do some settings before I access RSA1 or any other BW transaction. Could you please help me in this.
    Also, I just checked the RFC destinations in BW. There is a destination created for our R/3 and I have noticed that they have given a remote UserID and password for remote login. I tried to check the Remote UserID in SU01 but there is no userID with that name. Could this be a problem?
    Thanks,
    RPK.

  • How to establish an Oracle connection between server1 and server2

    I am trying to establish an Oracle connection between server1 and server2 specifically, while logged into server2 launch OEM on server1. Can anyone help me out here on establishing this connections between the 2 servers. thank you inadvance

    I am assuming this is 10g.
    Same way you connect from your desktop to the server using the URL (e.g http://server1:1158/em).
    But you have to ensure that server2 can see server1. They cannot see each other, then it is not OEM problem.
    if it is not 10g, then let me know

  • Live/realtime connection between WebI and Xcelsius

    Hi,
    is it possible to have some kind of a live connection between WebI and Xcelsius for the following scenario...
    I need to have my WebI report made availabe as an Xcelsius Dashboard and when I filter a value in the dashboard it should also get filtered in the WebI report. Is this possible and if so then how?
    Pls help.
    Thanks,
    SD
    Edited by: Sebastian D'Souza on Feb 22, 2011 11:39 AM

    Hi Sebastian,
    Yes this is very possible. Of the three connection methods (QaaWS, Live Office, BI Services) I would recommend BI Services for flexibility, speed to set up, and speed for query refresh times.
    Check out this post for a step-by-step guide http://blog.davidg.com.au/2011/03/drill-down-in-xcelsius-using-bi.html
    And refer to the Webi Rich Client guide in the section "Sharing Web Intelligence content with other Web applications" for the full details of how this works.
    Hope this helps.

  • Connecting between labVIEW and PLC S7-1200 using EPICS

    Hello everyone,
    I'm trying to connect between LabVIEW and PLC S7-1200 using EPICS. I did it using OPC and it succeeded and the communication was done, so right now i'm trying to do it using EPICS. so Can anyone help me with that?
    Thanks in advance.
    Ahmed

    Hello,Ahmed:
    Now I'm trying to conect S7-1200 to Labview by OPC server 2012, I'm newer for both PLC S7-1200 and OPC server. by the help file of NI's OPC I tested many times, but lost totally.
    You mentioned that you have succeeded making the connection between them, could you please help me :
    1) How to set in Simense TIA software? I can set the PLC's IP address now, that's all;
    2) OPC server setting.
    if there is a video, that will be great.
    thanks a lot.
    Delphi77.

  • How do you file share between mac and pc?

    i need to know how one can share files between a mac and a pc. my MBP is running os x 10.5.2 and my PC is running vista.
    thanks!

    Mac/Windows Networking in Leopard
    The following articles outline how to set up networking between Macs using Leopard and Windows PCs:
    Setting up a Windows computer to share files with Mac users
    Setting up a Mac computer to share files with Windows users
    Sharing with Windows computers
    If you can’t connect to your Mac from a Windows computer
    Sharing your computer with others on your network
    More information is also available by selecting Mac Help from the Finder's Help menu and searching for the relevant terms such as "windows", "networking", "sharing", etc.
    Also read:
    Simple guide to Leopard/Windows Home Networking
    Written by Intercepter121 and originally posted on the Apple Discussions here.
    If your network complies to the minimum requirements described below you should be able to share resources without any need to enter commands in the terminal to modify configuration files in your mac.
    Requirements
    1. A decent router
    2. Mac Os x 10.5.1 installed on your macs
    3. Windows XP or Vista
    4. Number of network devices <10
    5. Some network printers or drives (NAS)
    6. A decent ISP offering a good DNS service
    <u>General Settings
    If your router offers DHCP and any of the device has power saving features there is a risk that the IP addresses are renewed. This can be problematic as the devices keep changing IP addresses. As this is your network is strongly recommended to reserve IP addresses to the MAC (Machine Address Code) of the various devices so that they can power on and off and still keep the same IP.This simple suggestion will greatly improve the browsing of the local network.
    Accessing Windows Resources from Leopard with no authentication
    Windows
    1. Check the settings of the PC and ensure the IP addresses on the local LAN are trusted
    2. Activate sharing on the desired devices ensuring the shares are read and write. If you use Vista ensure password protected sharing is disabled.
    3. Try to access the windows share from another windows computer if available to confirm no authentication is required
    MAC
    1. Go into system preferences->security-Firewall check that the setting is not on allow only essential services. Recommended settings is allow access to specific
    2. Go back into system preferences network. On the tab location click edit locations. Duplicate Automatic and call the new location Home. Now select the Home location and go into Advanced-WINS. In the workgroup field enter the same value that is on the other windows computers for example HOME. Now press enter then go back to the main screen. Select Edit locations and delete the location automatic. Now edit your location Home and rename it Automatic. This workaround is a leopard bug described here.
    3. Give 5 minutes to allow all the other machines to broadcast their IP address and the other computers should appear on the left side of your finder window. You can now select the shares you want to connect. As no authentication is active if you are prompted with a user name just press OK.
    The procedure to access a NAS is the same as above, just ensure permissions are set to files are read/write for anyone to avoid confusion.
    NOTE: There is no need to activate SMB sharing if you don't want to allow the PC to read folders on your MAC
    Troubleshooting
    After you have followed all the steps you don't see any windows PC.
    Identify the IP address of the machine you want to connect. In finder select Option+K and enter SMB://IPADDRESS. If you can connect you have a name resolution problem. Go into your router configuration and ensure that the option DNS assigned by ISP is selected and you don't have services like Open DNS in use and fixed IP addresses in that field. Apply the changes and reboot the router. You should start seeing windows PC in finder shortly after.
    Your ISP DNS service is poor and you must use Open DNS or similar
    If you are forced to use services like open dns you have the risk that the router propagates the DNS servers to your machines. As the implementation of SAMBA in Leopard effectively blocks the MAC to be a master browser for performance reasons you end in a situation in which tiger machines connect and leopard ones don't see a single share. Let's fix it.
    1. Go into System Preferences->Network then advanced DNS if you see here the IP addresses of the open dns servers this is the case. Unfortunately you will be forced to change the hosts file.
    2.Ensure you have reserved IP addresses to all your machines so that they always get the same IP.
    3. Now login into your mac as administrator and go into utilities=>terminal.
    4. Issue the following command sudo pico /etc/hosts
    5. Now scroll down and enter all the IP addresses and computer names of any device you want to browse
    6. Reboot your MAC
    The windows devices will now appear in finder and you will be able to connect with Option+K.
    You cannot access shares even entering the IP address
    You have not reserved IP addresses to each machine. Go into your router LAN set up and make sure that is the case.
    Accessing Leopard resources from Windows
    1. Go into system preferences->security-Firewall check that the setting is not on allow only essential services. Recommended settings is allow access to specific
    2. Go into System preferences->accounts and click on Guest flag the option Enable guest account to access shared folders
    3. Now into System preferences->sharing select file sharing and then options here flag SMB and select the user that has to be logged into the computer when the share has to be accessed. Ensure that the folder you want to share has read/write or whatever permissions you like it to have set for Everyone
    You should now be able to see your MAC in the windows network resources and access the shared folder with a double click without any password request.
    Troubleshooting
    You don't see any MACs from Windows
    Check the firewall settings at the start of this post. Then go back to the Network configuration hit advanced and then TCPIP check is using DHCP and not a fixed address. Then check the sharing is set as above with SMB clicked. If SMB is not set you won't even see your mac from windows.
    You see the MAC and the shared folders but you can't read or write on it
    Ensure you have set the guest account to access shared folders. Then check on the sharing preferences that there is at least one folder with read permission for everyone. The classic case here is Dropbox that leopard sets as read and write for the user of the MAC but no access for other users. You try to click on drop box and receive an error but when you actually try to write a file you can do it. Check the permissions on the subfolders of the share as those permissions will prevail on the home shared folders
    FAQ
    You may want to do more complicated things, but first ensure you can actually share files without security in place so you can identify the root cause of your possible problems
    I want to password protect my windows shares: once you have done the relative set up in windows vista and ensured you can connect from another windows machine you will need to use user name and password of the Vista user to connect.
    I want to password protect my MAC shared folders: Go into user account and disable guest access to shared folders is no shared folder has to be accessed without password otherwise leave it checked. Create a new user for sharing (better than giving away your password) so that this user only accesses the folders you want to share. In System preferences network select file sharing SMB and flag only the new user you have defined. Then go back to the folder section and set the permissions you like on the folder you want to share for this newly defined user.
    Good Luck

Maybe you are looking for