Topic
  • No replies
xtreme79
xtreme79
1 Post

Pinned topic Need help with some questions about WSAD - Websphere

‏2011-03-09T22:56:52Z |
Practicing for an exam in WSAD - Websphere (Java) and there is a question I do not understand how to solve. Based on the following image http://i51.tinypic.com/msdpwo.png you should answer the questions.

1. Enter the access methods (hint: 4 + 2 relations) in Employee Been that WSAD will generate
2. Write a method in the Department, which return all the Employees of a Department. Name: public ArrayList getEmployees()
3. Write an EJB-ql (find method) that return all Employees Name: Collection findAll()

Can someone please explain how I solve this sort of task with help of the picture?