Choosing the bean class, the home interface, and the component interface is a permanent decision! Once you’re done with the rest of the bean wizard, and the deployment descriptor is created, you’re stuck with it. If you accidentally mix up the home and component interfaces, your bean won’t work. In the RI, it won’t even deploy (some servers let you deploy structurally bad beans, which means they blow up at runtime, but the RI won’t even let you in the server door).
Be sure you have the following settings:
Enterprise Bean Class: headfirst.AdviceBean
Remote Home Interface: headfirst.AdviceHome
Remote Interface: headfirst.Advice
Click NEXT
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.