Java Forums

Main Menu
Home
Today's Posts
FAQ
Search
Contact Us

Java Network
Linux Archive
Java Tips
Java Tips Blog

Sponsored Links





Welcome to the Java Forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community, you will:

  • have access to post topics
  • communicate privately with other members (PM)
  • not see advertisements between posts
  • have the possibility to earn one of our surprises if you are an active member
  • access many other special features that will be introduced later.

Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 07-27-2008, 02:54 PM
Member
 
Join Date: Jul 2008
Posts: 2
wu2kai is on a distinguished road
Help,how to do?
Requirements
Intel Media (M) Sdn Bhd is a small company selling computers, computer accessories and peripherals, printers, and computer media. This company requires a simple Employee Database System to manage the company’s human resources. Information such as the employee’s first name, employee’s last name, ID Number, gender, date of birth, address (containing street name, city, state and postal code), employment date, employment status (Probation or Confirmed), designation (job title/position), department, employment type (full-time or part-time) and salary needs to be kept in the database. The company wants to be able to add an employee record, view/change an employee’s details, and delete an employee record. It will only have a maximum of 50 employees.

Assignment
You have been asked to develop this simple GUI application for the above company based on the requirements given above. Use an array to store the Employee Database. Prior to the development, you will need to come up with the Table Specification and the UML design of the classes required for your project. Use the Date class for date fields. Use a menu of your choice to perform operations on the Employee Database like adding a record, deleting a record, and amending the record. Make sure exceptions are handled in your coding where applicable.
Bookmark Post in Technorati
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 07-27-2008, 06:28 PM
Norm's Avatar
Senior Member
 
Join Date: Jun 2008
Location: Heredia, Costa Rica
Posts: 2,225
Norm is on a distinguished road
What is the question? Ask questions to get help.
This looks like an assignment!
Bookmark Post in Technorati
Reply With Quote
  #3 (permalink)  
Old 07-27-2008, 08:26 PM
Member
 
Join Date: Jul 2008
Posts: 2
wu2kai is on a distinguished road
This assignment is the question !
Bookmark Post in Technorati
Reply With Quote
  #4 (permalink)  
Old 07-27-2008, 10:13 PM
Norm's Avatar
Senior Member
 
Join Date: Jun 2008
Location: Heredia, Costa Rica
Posts: 2,225
Norm is on a distinguished road
Right. The answer is start coding and come back with when you have problems.
Bookmark Post in Technorati
Reply With Quote
  #5 (permalink)  
Old 07-28-2008, 12:47 AM
Senior Member
 
Join Date: Jul 2007
Posts: 1,266
hardwired is on a distinguished road
You want to get a general idea of what there is do do and then focus on each part, one at a time. The project spec suggests to start with the planning aspect. Okay. Then there is the gui part to put together. And then the model that will contain/edit the data. And how you'll connect the two. Pick one area and work on it. It's okay to reorganize things as you go. The more you do the more ideas you get about how you can design things and put them together.

You have been asked to develop this simple GUI application for the above company based on the requirements given above.
Fun. For gui development see Trail: Creating a GUI with JFC/Swing.

Use an array to store the Employee Database.
Easy enough. You can make up your own class(es) to store in the array. For info on arrays see Arrays.

Prior to the development, you will need to come up with the Table Specification and the UML design of the classes required for your project.
Okay. Sounds like the place to begin. Do you know how to do these?

Use the Date class for date fields.
Also helpful in working with dates: the Calendar and SimpleDateFormat classes and the DateFormat interface. See their respective api in the javadocs.

Use a menu of your choice to perform operations on the Employee Database like adding a record, deleting a record, and amending the record.
For developing menus see How to Use Menus.

Make sure exceptions are handled in your coding where applicable.
Covered in depth at Lesson: Exceptions.
Bookmark Post in Technorati
Reply With Quote
  #6 (permalink)  
Old 07-30-2008, 03:24 AM
CaptainMorgan's Avatar
Moderator
 
Join Date: Dec 2007
Location: NewEngland, US
Posts: 841
CaptainMorgan will become famous soon enoughCaptainMorgan will become famous soon enough
Send a message via AIM to CaptainMorgan
Quote:
Originally Posted by Norm View Post
Right. The answer is start coding and come back with when you have problems.
wu2kai:
We are not here to do your homework for you. This is your responsibility - not ours. Everyone here is a volunteer and offers assistance in various ways using their free time. If you don't respect the assistance the members provide, then you will not get much respect in return. It's your work, I suggest you get started on it. Echoing what Norm said above, how can we help you if you don't present any evidence of effort on your part? I'd rather you just go somewhere else. But if you truly want assistance, then make a reasonable attempt at your work and present your issues after you've tried. You're not off to a good start here; I can only hope this is the last time you request such a thing... am I right? Read the FAQ before you post again.

hajeer, take your issue up with your own thread. Not in someone else's. It's simply not polite.(converted to thread)
__________________

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
to our beloved Java Forums!
(closes on September 4, 2008)
Want to voice your opinion on your IDE/Editor of choice?
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
!
Got a little Capt'n in you? (drink responsibly)

Last edited by CaptainMorgan : 07-30-2008 at 03:27 AM.
Bookmark Post in Technorati
Reply With Quote
  #7 (permalink)  
Old 07-30-2008, 10:18 PM
Member
 
Join Date: Jul 2008
Posts: 32
Engineeringserver.com is on a distinguished road
I agree with the posters above me, although the assignment isnt all that hard you still need to learn it by doing it yourself if you have specific questions however i can help with the code
__________________

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

<--
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
Java developer
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
Bookmark Post in Technorati
Reply With Quote
Sponsored Links
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +3. The time now is 12:52 PM.


VBulletin, Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2006 - 2007, www.java-forums.org