Originally posted by Kunal Verma:
Can't we achieve the same functionality with a single class?
Ofcourse, you can. You can also, go ahead and write a complex application with a single class. But isn't it better to split up things based on their responsibilities?
The home interface, is used to interact with the container (creating bean, locating etc), where as the remote interface is used to interact with the bean . As you can see, the roles they play are different, and hence they are seperate.