Who creates what?
For a bean with a remote client view (in other words, a bean that can be accessed by remote clients), you know that you have to write the Component interface and the Bean class. But somebody has to write the class that implements your Component interface (to make the Remote EJBObject), and somebody has to make the stub that goes with that EJBObject. That somebody is the Container. And, though we haven’t yet talked about the Home, we’ve listed the relevant pieces here for completeness.
You | the Container |
---|---|
|
|
Get Head First EJB now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.