Win a copy of Emmy in the Key of Code this week in the General Computing forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Junilu Lacar
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Knute Snortum
  • Devaka Cooray
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Ron McLeod
  • Carey Brown
Bartenders:
  • Paweł Baczyński
  • Piet Souris
  • Vijitha Kumara

A Beginner's First EJB Project

 
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.
 
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 )
 
30 seconds to difuse a loaf of bread ... here, use this tiny ad:
Java file APIs (DOC, XLS, PDF, and many more)
https://products.aspose.com/total/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!