Interaction between Objects in powerjava