Win a copy of OCP Java SE 8 Programmer II Exam Study Guide this week in the OCP forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Payroll Employee  RSS feed

 
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I need some scratch label code to complete this application.Please suggest me.

Employee Management:

A timesheet is a method for recording and tracking the amount of an employee's time spent working. The timesheet can report total hours worked or time spent working on a specific task or job. It is primarily used for payroll. The hours worked provide a record for time to be paid. In other words, an employee timesheet is a record that you can look back on to find out how much time you spent doing something. It contains a detailed breakdown of tasks accomplished throughout the project or program. This information may be used for payroll, client billing, and increasingly for project costing, estimation, tracking and management. It measures employee performance, and identifies problematic tasks.
Timesheets can also be used to build a body of knowledge about how much effort tasks take to develop. For example if developing a training plan has historically taken a month, then it can be assumed that creating a new one will take a month. It also track resource costs and project expenses to allow for better future budgeting.

Regards
DD
 
Bartender
Posts: 3648
16
Firefox Browser Java Mac OS X
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well what have you thought of so far?

I can identify (at least) 3 entities (classes) right off the bat. Linking these entities together with relationships and identifying what attributes (variables) each entity has will be next.
 
Bartender
Posts: 10575
66
Eclipse IDE Hibernate Ubuntu
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

D dutta wrote:I need some scratch label code to complete this application.


I hate to say, but: no you don't.

As K.Tsang says, you need to think about how YOU want to do this - and code is almost never the answer. In fact, I'd say: don't write one line of Java code until you've spent at least three days thinking about this task - scribbling notes, writing specs (in English; or your native language), drawing diagrams, and generally thinking about objects and classes and "things you'll need to do".

A couple of pages that might be useful for you before you embark: WhatNotHow (←click) and WhereDoIStart.

HIH

Winston
 
D dutta
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Winston Gutkowski wrote:

D dutta wrote:I need some scratch label code to complete this application.


I hate to say, but: no you don't.

As K.Tsang says, you need to think about how YOU want to do this - and code is almost never the answer. In fact, I'd say:

Winston



Ok.Thanku.
Work on progess.
 
Ranch Hand
Posts: 225
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What you are asking for is not trivial. As the others have stated already, you need to sit down with paper a d pencil (or pen if you don't make mistakes) and work up a design. To get you started, I see the need to employee, payroll, client, time and productivity, methods to save data and to retrieve. And that is just off the top of my head.

And one final note, you might want to read the we are not a code mill page.

Regards,
Robert
 
D dutta
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Robert D. Smith wrote:What you are asking for is not trivial. As the others have stated already, you need to sit down with paper a d pencil (or pen if you don't make mistakes) and work up a design. To get you started, I see the need to employee, payroll, client, time and productivity, methods to save data and to retrieve. And that is just off the top of my head.

And one final note, you might want to read the we are not a code mill page.

Regards,
Robert



Don't go away.Soon make something trivial.Using pen and paper starting designing variables, object, classes methods and ui required for this.I obey all to get started.
Please believe me.
Thank you.
 
Marshal
Posts: 58345
178
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

D dutta wrote: . . . .Soon make something trivial.Using pen and paper starting designing variables, object, classes methods and ui required for this. . . .

I don't think you mean trivial.

Don't try a UI at this stage. you should have your application working correctly without a GUI before you even think of a user interface.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!