Help! Java is Killing Me!!!


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 4 of 4

Thread: Help! Java is Killing Me!!!

  1. #1
    Join Date
    Jun 2006
    Posts
    2

    Help! Java is Killing Me!!!

    Here's a code I'm supposed to write and it's killing me. Here's the project:

    create a java application of an inventory that stores the names and departments of employees in an organisation and also the corresponding computers (use computer serial provided) that have been assigned them.

    the application should run such that, it should take the employee name from keyboard and then produce the corresponding department and assigned computer of each employee.

    the application should also calculate the total number of computers in each department and finally the total number of computers in the whole organisation.

    store input items such as employee name, dept and assigned computers in excel or notepad.


    NB: An interface is needed for the user of this application.

    Pls somebody help me out 'specially the code for the calculation of the number of computers and the display. Any help is appreciated!!! Thanks in advance

  2. #2
    Join Date
    Apr 2006
    Posts
    9

    hey you would need basic java understanding

    This is really simple. All you need to create a follwing tables
    computer, Employee, Depat..and make sure that there is a foreign key for eache table in a table. While reading the name of an employe from the screen run a join query for all tables basedon the forieng key woth emp name on the emp table.
    Tahst it! if you dont understand what I wrote aboev you would need to sit with someone who know a bit java and also database..

  3. #3
    Join Date
    Jun 2006
    Posts
    2
    Thanks for your response. I'm not familiar with database systems yet so I'm still a little bit lost. Thanks anyway.

  4. #4
    Join Date
    Apr 2006
    Posts
    28
    The good way, you create the Database on access or MySQL but you make know a lot of skills, the simple for your study, you can create two arrays (Employee , Department). Every time you enter the name, the program must search on Dept array to get the dept name and store the total .......

    Good luck!

Similar Threads

  1. Replies: 2
    Last Post: 06-14-2006, 04:16 PM
  2. Java vs. .Net. A questionnaire
    By Basil in forum .NET
    Replies: 1
    Last Post: 05-13-2005, 07:46 AM
  3. DevX does seem one sideded
    By Rob Abbe in forum Talk to the Editors
    Replies: 44
    Last Post: 01-13-2003, 03:57 PM
  4. learning c# very confusing.
    By Mike Tsakiris in forum .NET
    Replies: 11
    Last Post: 10-04-2002, 06:32 PM
  5. Re: VB vs. Visual Age for Java
    By JJ in forum Enterprise
    Replies: 1
    Last Post: 07-06-2000, 05:50 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center