Peter :
And of course the local implementation of DataInterface is Data itself.
Which solution is better:
1- Make Data implement DataInterface
2- Keep Data the way it is. Make a DataAccessLocal class that implement DataInterface and hold a reference to a Data?
Maybe this sound like a stupid question :
what is better, to add 2 words (implements DataInterface) or a whole class? dooohh...
but are there advantages/disadvantages that I dont see?
daniela