Results 1 to 7 of 7

Thread: confused

  1. #1
    updev's Avatar
    updev is offline Member
    Join Date
    Nov 2008
    Location
    Lagos, Nigeria
    Posts
    4
    Rep Power
    0

    Default confused

    I am new to Java. worked with php and MySQL mostly, but now have to learn Java urgently.
    Problem im having is this:

    I am creating a desktop application that will connect to the internet. User should be able to create and maintain a contacts list, want to know if to work with files(ie new contacts be added to a file) or to do with a database.
    Anyone please help out.
    Thanks

  2. #2
    DecafMatan's Avatar
    DecafMatan is offline Member
    Join Date
    Nov 2008
    Location
    Orange County, California
    Posts
    9
    Rep Power
    0

    Default

    Well there are a few things you could do..
    • Store the contact list online, at a remote server (this how AIM does it)
    • Store contacts in an XML or Plain text File (Very simple/easy)
    • Use a small embedded database like SQLite to read/write to a file
    • Or run a full fledged MySQL Server (which seems like overkill, unless you will be managing hundreds of clients on multiple machines)

  3. #3
    updev's Avatar
    updev is offline Member
    Join Date
    Nov 2008
    Location
    Lagos, Nigeria
    Posts
    4
    Rep Power
    0

    Default

    The project is for a desktop SMS Sender and i expect there will be a lot of clients. Do i then go for a full fledged MySQL Server? and how do I accomplish that?
    Please help out

  4. #4
    DecafMatan's Avatar
    DecafMatan is offline Member
    Join Date
    Nov 2008
    Location
    Orange County, California
    Posts
    9
    Rep Power
    0

    Default

    You can download and install MySQL Server (for Free) from their homepage. It can be easily run from a linux or windows server.

  5. #5
    DarrylBurke's Avatar
    DarrylBurke is offline Forum Police
    Join Date
    Sep 2008
    Location
    Madgaon, Goa, India
    Posts
    11,458
    Rep Power
    20

    Default

    Why two posts on the same topic?
    http://www.java-forums.org/awt-swing...perations.html

    db

  6. #6
    updev's Avatar
    updev is offline Member
    Join Date
    Nov 2008
    Location
    Lagos, Nigeria
    Posts
    4
    Rep Power
    0

    Default

    I have a MySQL server installed already, cos i use it to work with php. The problem I have is how to go about it. alredy i got something working, but when i run the class on its own it works well but if i create an object of the class, it does not display the table

  7. #7
    updev's Avatar
    updev is offline Member
    Join Date
    Nov 2008
    Location
    Lagos, Nigeria
    Posts
    4
    Rep Power
    0

    Default

    Darryl.Burke,
    After the first post i was not sure if i had posted in the right place, so i decided to redo it elsewhere

Similar Threads

  1. [SOLVED] Confused by the textField
    By jamesfrize in forum New To Java
    Replies: 4
    Last Post: 03-28-2008, 06:30 PM
  2. a lot confused
    By vineethraj in forum New To Java
    Replies: 4
    Last Post: 01-18-2008, 01:36 AM
  3. what does it mean:confused:
    By sivasayanth in forum New To Java
    Replies: 2
    Last Post: 01-12-2008, 05:52 AM
  4. bit confused on this question
    By money123 in forum New To Java
    Replies: 2
    Last Post: 07-27-2007, 01:14 PM
  5. confused code
    By creativehacker in forum New To Java
    Replies: 6
    Last Post: 07-02-2007, 09:10 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •