Client - Server over a network --- Where to begin?

I need to create a repository server-like applications on a network and have client access them. I have no idea where to start. I've looked at sockets, RMI, and SQL (I don't want to make a DB if I don't have to though), but I don't know if I'm even going in the right direction. Ideally the server would just be a collection of data to be accessed or modified and the clients would be GUIs designed to present and manipulate that data. I've done similar projects before, but never over a network, which is the part that is throwing me.
Any advice would be appreciated, as I have hit the wall.

I suggest you reconsider using a free DB like MySQL.
This is simple to setup and can be shared remotely by multiple clients and it persists the data you have.

Similar Messages

  • Client /server model of network communication

    can some some tell me what is meant by the client / server model of network communication?

    See this networking tutorial
    http://java.sun.com/docs/books/tutorial/networking/index.html
    You could have asked both questions in the same post, as they are related.

  • 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

  • Client server technology of oracl

    Hi, I am sunil and beginner for oracle
    I want to know some basic idea about client server technology

    See this networking tutorial
    http://java.sun.com/docs/books/tutorial/networking/index.html
    You could have asked both questions in the same post, as they are related.

  • Client/server - sending ArrayList over network

    Hi all
    I have have written a multithreaded client/server application where multiple clients connect to the server. For each client, the server spawns a new thread to handle the connected client. When a client connects to the server, the client sends its name to the server. The server stores the name in an ArrayList and sends the whole ArrayList to all the connected clients.
    It worked fine a few days ago. But now I have a problem: When I send the ArrayList to all the connected clients then only the newly connected client gets the updated ArrayList while the previously connected clients get the ArrayList that they got previously i.e. they are not updated. If instead of sending an ArrayList, I just send the name of the newly connected client to all other connected clients then it works i.e. each client gets updated with that name. It also works fine if I just send an Integer value to all the clients upon a new connection.
    I know the ArrayList implements Serializable, but I dont know how it doesnt work anymore!
    Plz help me with this. I have been trying all combinations, but no luck so far.
    thank you
    taurean

    thank you jwentling
    to make sure that we are on the same page, here is the relevant code.
    This method updates the list of the peers' names on the Gui (that extends JFrame).
    public void update(final ArrayList dataPacket)
              SwingUtilities.invokeLater(new Runnable()
                   public void run()
                        setTitle(dataPacket.toString());
                        peerList.setListData(dataPacket.toArray());
                        peerList.updateUI();
         }This inner class continuously listens to server to get the arraylist that contains the names of the other peers/clients that are connected.
    The con varibale is the Connection where I obtain input/output streams for this client.
    Note: con.getInputStream() returns ObjectInputStream.
         private class Listener implements Runnable
              public void run()
                   while(true)
                        ArrayList dataPacket = (ArrayList) Receiver.receiveObject(con.getInputStream());
                        if (dataPacket != null)
                             update(dataPacket);
         }Here is how the static receiveObject() metod looks like:
    public static Object receiveObject(ObjectInputStream stream)
              Object obj = null;
              try
                   obj = stream.readObject();
              catch(ClassNotFoundException cnfe)
                   System.out.println(cnfe.getMessage());
              catch(IOException ioe)
                   System.out.println(ioe.getMessage());
              return obj;
         }i think that the receiveObject() method should return the updated list (sent from server), but i get the previoulsy sent list fromt his method!!!
    Has it to do something with the stream? I mean could it be that the list is still in the stream (as you pointed out) and instead of the updated list, i just get the one from the stream that i got initially?!
    thank you for ur time

  • HT204014 How can I get spotlight search to work over a network running OS X Server?

    I have installed OS X Server on an iMac to share its files over a network.
    I can access the files fine, but if I try and search the shared folders from another Mac on the network it yields no results.
    How can I get search to work as well as it does on the files on local disks.

    Spotlight searching of shared volumes works for me using OS X 10.10.3 Server and OS X 10.10.3 client, as follows:
    If I use Spotlight to search for some content "Aaron Aardvark" the file that contains this text does not seem to show up in the immediate results, but if I select "Show All in Finder" and switch from "This Mac" to "Shared" the file "untitled text.txt" that contains it is listed.
    In the past Spotlight was responsible for bringing servers to their knees, so I suspect that the above two-step process is a way of limiting server searches to cases where it is actually required.
    Server 4.1 (OS X 10.10.3) seems to add the extended attributes needed to allow Spotlight to index sharepoints:
         test_server3:~ admin$ ls -el /Volumes/Server\ 3\ Users/
         total 0
         drwxr-xr-x+ 4 admin  staff  136 30 Apr 17:02 Server 3 Users
          0: user:_spotlight inherited allow list,search,file_inherit,directory_inherit
         test_server3:~ admin$
    but in the past, e.g. Snow Leopard server, you could choose whether or not these attributes were set or not. IIRC  Snow Leopard clients would always include server volumes in Spotlight searches, causing significant slow-downs on the client, so a lot of sysadmins, myself included, chose not to enable it.
    C.

  • 'Cannot begin data load. Analytic Server Error(1042006): Network Error

    Hi...
    I got a error message when I upload data from source file into Planning via IKM SQL to Essbase (data).
    Some records are found following errors.
    'Cannot begin data load. Analytic Server Error(1042006): Network Error [10061]: Unable To Connect To [localhost:32774]. The client timed out waiting to connect to the Essbase Agent using TCP/IP. Check your network connections. Also please make sure that Server and Port values are correct'
    What is this error about? is the commit interval too large? now the value is 1000.

    Hi,
    You could try the following
    1. From the Start menu, click Run.
    2. Type regedit and then click OK.
    3. In the Registry Editor window, click the following directory:
    HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Tcpip\Parameters
    4. From the Edit menu, click New, DWORD Value.
    The new value appears in the list of parameters.
    5. Type MaxUserPort and then press Enter.
    Double-click MaxUserPort.
    6. In the Edit DWORD Value window, do the following:
    * Click Decimal.
    * Enter 65534.
    * Click OK.
    7. From the Edit menu, click New, DWORD Value.
    The new value appears in the list of parameters.
    8. Type TcpTimedWaitDelay and then press Enter.
    9. Double-click TcpTimedWaitDelay.
    10. In the Edit DWORD Value window, do the following:
    * Click Decimal.
    * Type 300
    * Click OK.
    11. Close the Registry Editor window.
    12. Reboot essbase server
    Let us know how it goes.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Networked client-server applications (newbie)

    Hello everyone,
    (Apologies if this post is irrelevant for this particular forum :)
    As I understand peer-to-peer networks, separate instances of application software are installed on 'each' computer, and files are then shared by everyone logged on. My query regards client-server networks (i.e. a centralized server with less powerful client computers attached to it): Would someone please explain (and possibly point to additional resources) how applications are installed on these networks? In particular, is it true that there's only one instance of application software (e.g. MS Word) installed on the central server, and that this is then somehow shared by all the connected users? ... and if not, is it possible to have such an arrangement, so that when it comes to upgrading any application software, the update only happens at one location (instead of on each client machine)? Thanks very much for your time.

    Guy: Thanks so very much :)
    I see now. I was specifically wondering about networks involving WinNT / 'Win 2000 Server' as the 'central' server OS, but think that these would involve heavier clients than the mainframe example.
    I assume that in a Win NT client-server network, if a client wanted to run a program (e.g. MS Word), the Win NT OS would transfer a 'copy' of the MS Word executable to the client machine where it would run and consume the resources of the client. Win NT would do this again for any other client, and so ultimately there would only be one 'stored' copy of MS Word. Also, given copies of executables are transefered, resources of the clients are used up, resulting in medium 'weight' clients with relatively less central server load.
    It'd be great if you could verify this assumption,
    Regards, SP.

  • Client Computer cannot connect to server over internet (VPN)

    Hello Guys,
    I am setting up a windows server 2012 Data centre for business purpose. I have installed & configured server with AD DC, DNS, DHCP, IIS, NPS, Routing etc.. I am able to connect client computers which is on the same domain to the server through same router.
    VPN also work fine. But if I try to connect to the server via VPN through a different internet connection it won't connect. Can some one please tell me what I am doing wrong.
    My Network Confg is,
    DHCP IP ADDRESS FROM ISP
    DHCP Disables Router, (Tried with enable)
    Have my own website domain which is not linked with the server.
    NAT not configured.
    Thanks in Advance
    Emmanual.

    Hi Emmanual,
    Thank you for posting in Windows Server Forum.
    Can you ping to the remote server after connecting through VPN?
    Did you find any specific error\event id for your case?
    What’s your client OS version?
    If you are not getting ping successfully then seems there is connection issue through VPN. So for this you can initially check the connection setting with following article.
    You Cannot Connect to the Internet After You Connect to a VPN Server
    http://support.microsoft.com/kb/317025
    There are several reason as client is not getting remotely connected to server. In addition you can checl following article.
    Enabling remote client access over a VPN connection
    http://technet.microsoft.com/en-us/library/cc995159.aspx
    Hope it helps!
    Thanks.
    Dharmesh Solanki
    TechNet Community Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Support, contact [email protected]

  • Resolving names of Mac OS clients over a network

    I support a number of OS X clients (both laptops and iMacs) in a Windows-centric environment. All of the Apple systems are running 10.6.x, and are not set up to use Active Directory (although the Windows clients do). We use Retrospect for backup, which supports both our Windows and OS X systems quite well, except that we've found that the hostnames of the OS X clients will randomly stop resolving- so we've been left with entering IP addresses for many of our OS X clients in the backup system. Since we use DHCP, this can be problematic if someone leaves their computer off for a couple of days, or for laptops which are only occasionally plugged into the wired network (but we need to catch them for backup whenever they may be connected). So far there doesn't seem to be any particular pattern to this, although things seem to work more often if the fully qualified name is used (systemname.domain, even though they're not joined to domain accounts) it isn't surefire.
    Does anyone else have any experience with this, and perhaps some suggestions?
    As a note, this is for a medium-size division within a large organization, and we don't have any control over the network environment. We could request static IPs for every Mac system but I don't think that would go over very well. This is a critical issue, because occasionally a system will stop resolving, stop backing up, and then we'll need to access recent backup data, only to find that it's not there- not good.
    I can provide any additional information needed for troubleshooting.

    Unless the workstations are in the same domain then you will have to open wide your Win dows domain or setup your own DNS internal server. Either that or join the Macs to the Domain.

  • Cant connect to OSX server over network in recovery mode

    Hi guys.
    First of all, thanks for any help you can give me.
    I am running osx server on a mavericks mac mini on a home network.  Attached to it I have a 1tb hard drive to which all the macs in my house use time machine to back up over my network and they are stored there.
    I have just formatted one of my macs and want to restore it from these time machine backups that are on the osx server on my network.
    When i enter recovery mode from boot (COMMAND R), it can see the "backups" on networks "Matts-Mac-Mini" but when i then click "CONNECT" it says "Enter your name and password for the server "Matts-Mac-Mini/local" so that Time Machine can access it.
    It gives me a box with NAME and PASSWORD and a CONNECT button.
    By DEFAULT the "NAME" it starts with is "root".......which I dont understand.
    I have tried every single iteration of names and passwords I can think of but it still wont connect, it either shakes the box or gives an error saying "There was a problem connecting to the server "Matts-Mac-mini.local".  Check the server name of IP address and then try again".
    I have tried the log in details for the osx server, the login details for the mac im trying to connect from, used root as the username, tried capitals, no capitals, spaces no spaces etc.  I am at a total loss and about to tear my hair out!!
    Is there anyone able to give me any help with this please, I would be SO grateful!
    Many thanks,
    hardtofin

    I think I have isolated the password, with a certain username and password the box never shakes and instead gives the error: "There was a problem connecting to the server "Matts-Mac-mini.local".  Check the server name of IP address and then try again".
    Are you able to offer any help with this?  I dont see why i can't connect to it, if the imac can already see it?
    Many thanks again,
    hardtofin

  • How to set a default firefox homepage on client workstations on a network with a server running windows 2003 server?

    I am running a small client server network with about 27 client machines and windows server 2003 is the server OS. I want the default webpage on firefox to display our department homepage when users log on. I have set IE7 already in the groups policy in the ISS section but this only affects IE7. Any idea how I can do this with Firefox?

    You can set or lock default prefs via a mozilla.cfg file.
    Pref: browser.startup.homepage , see http://kb.mozillazine.org/browser.startup.homepage
    defaultPref(); // set new default value
    pref(); // set pref, but allow changes
    lockPref(); // lock pref, disallow changes
    See http://kb.mozillazine.org/Locking_preferences

  • Importing Over Network: Where Do The Files/Images Go?

    I am a relative Mac newcomer after years of Windows/PCs... have used Adobe Photoshop and PS Elements to edit and organize images and now I'm trying Aperture (thank heavens for a trial version). I'm gonna have a bunch of questions...
    Here's the first one: why do the files I've imported into a project/folder in Aperture vanish the next time I open the program? Could it be because the images are on a different computer on my home network?
    I am running Aperture on a MiniMac that is connected to my network (all wired, in this instance). My images are all stored on the internal HDD on a Dell XPS. Twice now, I have connected to the network, and imported a slew of image files into the project folder I'm building in Aperture. Everything imports fine and I can manipulate the images to my hearts content in Aperture (if slowly... don't recommend a Mini for Aperture but that's a different story altogether...)
    The next time I have opened Aperture, it looks like it's the first time, like I haven't created any projects or imported any files. Nothing is there.
    Have I forgotten to save something? I go to the "file" menu but "save" is not one of the options, I presume that import saving is automatic, ala iPhoto... but... where then is my work from the previous session?
    At the risk of asking too many questions in a single post:
    I would also like to know if there is a way to get Aperture to display RAW files instead of the companion JPEG files when I combine the pair into stacks. I generally shoot RAW with a JPEG (small, basic quality) for reference sake. I only want to see the RAW files when I'm in Aperture, but sometimes Aperture seems to want to display the JPEGs. Is there a preference or something I can set to determine that?
    OK, there's enough questions for now... Thanks,
    --PS

    Driver 69
    That's driver FORTY-9. Hmmm???
    Are you sure you are opening the library you imported into?
    Are you kidding? I'm not sure of ANYTHING <g>
    Aperture will default to the aperture library in the 'Pictures' folder if it can't find the library set under the preferences menu
    Hmmm again. The library I set in Preferences is a folder I created on a high-speed external drive that is hard-wired into the MacMini via Firewire 800. I double clicked on the Aperture library in that folder, and it came back to a fresh folder of images I imported last night. Still no sign of the stuff I imported on Monday.
    But at least I'm getting a clue where to look for stuff...
    As a test, double click on the Aperture Library' in your own home Pictures folder - Import a few pictures - Close Aperture and open it again
    I think I have done the first two steps there -- opened Aperture last night, imported a folder (still on the network, though). I'll have to see what I wind up with when I close / re open it... later today.
    If your new pictures are there - then you are OK
    And if not? I hope they are, I like the way one of them turned out after RAW-tuning it in Aperture. Looks better than the same picture I manipulated in PShop.
    Now what you may need to do is see if you can find the library you imported all the other pictures into.
    Sounds like I have at least a clue where to start looking.
    Always try to keep you pictures locally on the fastest drives you have
    Accessing images over a network is not advised
    Well, there's a big fore-head slap and "d'oh". Maybe that explains why Aperture seemed to be running so slowly? Because the pictures I'm messing with are on another computer? Slap my forehead again.
    Think it'll be faster if I copy them to that 7200rpm external HDD that's firewired to the Mini? I think I'll try that, too.
    Hope this helps
    Brian
    Thanks for the suggestions, Brian, very helpful.
    -PS

  • Client/Server network traffic.

    I don't know if here is the right forum to ask it, but let's go on.
    Nowadays we a system on Forms 4.5/windows/Oracle 8.0
    We have some clients machines linked to the server by a Frame-Relay link and we use Windows 2000 Terminal Server to reduce the network traffic.
    Well, we are gonna update to Forms 6i/Oracle 8i.
    I would like to know if Forms Server can be a good option to Windows 2000 Terminal Server.
    If I haven't been clear with my question I'll can do it again. I'm new on Forms 6i and I've just installed it to test (It hasn't been working yet....)
    Thanks in advance
    Ronaldo.

    This could provoke quite a discussion.
    "If your client are on slow links you may, for example query 10,000 rows of data. "
    Generally, forms shouldn't be pulling back tens of thousands of rows from the database. Your user is unlikely to page through that much, so either you want a summary (which is best calculated on the database server and the summary results dragged across the network) or you are paging through records in the tens, not tens of thousands. (Look at the 'Number of recods buffered' property in your base table blocks. Bet it's one or two digits, not five!)
    "The information that is transmitted to the client is basically screen draw information - and this will be alot less than the 10,000 rows you were querying before. "
    As above. In client/server you shouldn't have been bringing stuff from the database down to the client that wasn't going to be on the screen anyway, especially if you had a slow network.
    Depending on how your application is written, it could well peform a lot worse on the web than in client server. Rather than having the client do a fair share of the work, it's now got to keep talking to the application server to get anything done.
    For example, because navigation triggers don't allow the use of restricted built-ins, rather than putting code in a 'post-text-item/when-validate-item' trigger on the relevant item, it gets put in a form level 'when-new-item-instance' trigger. It's a bit untidy in client/server but workable. Put it on the web, and every time the user tabs between fields, the form has to go off to the application server to fire the when-new-item-intance trigger to tell it what to do next.
    Another 'speed-bump' is if you have any synchronize bits (eg in a post-query trigger, or as part of a "I'm 10% complete" information messages in long running loops). These will also generate network traffic between the app server and form.
    While web server does have advantages, I wouldn't be selling it on it's performance improvements.

  • Batch upgrading client JRE's over Windows network

    Does anyone know of a tool or method that can be used to force/exert upgrade of windows client JREs on all machines within a domain/network? This prob won't be anything to do with java, and rather it will most likely be a admin tool used to rollout any application over windows networks. Just thought someone might have used it for java.

    You can use the login script, SMS, Zenworks, Footprint, Altiris, Orbiter, AD policies, Managesoft, or any other systems management software. Some of these are better suited for large organizations but others work well within a smaller group. Talk to your systems/network administrator? They can't all be rabid.
    The key is to create a completely silent installation. Here's the install string for jre 1.4.2_01. If you paste this into a command prompt (ensuring that your either use the full path to the exe file, or make that directory active), it will install silently with all defaults. Using one of the tools above, you can update every machine in your organization.
    j2re-1_4_2_01-windows-i586.exe /S /V"/qr /l %LOGDIR%\J2RE-1.4.2_01\JRE142.log REBOOT=SUPPRESS ALLUSERS=1"
    Make sure the %logdir% is created prior to running this string.
    Hope this helps,
    Margaret

Maybe you are looking for