Client code creates and calls
The variable cart contains a reference to the remote EJBObject, which is created by create. This example creates a new session bean. The reference to the EJBObject is used to call the remote methods.
cartHome.create(“Emma”, “0507”);