I'm a third year student on my BSc Applied Computing in the UK and i would immensely appreciate any help with my RMI assignment. I have already bought Ivor Horton's Java 2 SDK 1.4 last year but since there is no RMI chapter in it i decided to post under J2EE; please re-direct me if i've posted on the wrong forum.
Basically we have to define three remote interfaces ICompany, IProject and IStaff (only the first two are needed) define 1:M relationship between the first two and get to print on the console the company and the projects they have already placed.
I have created the interfaces, the classes, stubs and skeletons, the server were i define a dummy db holding projects and the client application. Up to here everything works fine but i only print the company name. How can i match company and projects and get them printed? Note: Projects have an attribute companyID.
I would have liked to attach my .java files for you to get a better idea but i don't think it's possible. If there's a way please let me know.