Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

A Beginner's First EJB Project

 
JiaPei Jen
Ranch Hand
Posts: 1309
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I spent about one and half weeks to read EJB tutorial documents and did some simple exercises. Now, I have to apply my limited knowledge to complete a simple project. Any help would be greatly appreciated. This EJB project (viewing site) provides:
A. emploees of a company:
1. a time sheet (i.e. hours worked under each task code daily) every work day.
2. a expense report under each task code every two weeks
B. managers of a company:
1. assign task codes to his/her subordinates
2. set payment type (i.e. by piece, task, or regular), pay period (i.e. hourly, daily, weekly ), start date, maximum # of hours allowed per day for his/her subordinates
3. tabulate hours and expenses billed by client, individual, manager.
4. tabulate time sheet and expense report by charge code and period.
Primarily, data manipulation part only involves inserting, retrieving, and tabulating data by variables. The only calculation needed is to come up with the total of the tabulation produced.
My questions are:
1. I should use container managed persistence or bean managed persistence? (I am going to use the Oracle database.)
2. Do I need a stateless session bean?
3. Are there similar cases available in any of the EJB books to follow?
4. I welcome any instruction, advice, suggestion, or warning of pitfalls.
 
Peter Gragert
Ranch Hand
Posts: 424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Enterprise Java with UML
von C. T. Arrington
makes a time-sheet EJB-application (though I did not get it
to work up to now, because I am beginner too )
 
Ruth Stout was famous for gardening naked. Just like this tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!