i am trying the 'Hello World! with Remote Stateless Session Bean'example with glassfish3+ and netbeans 7.2 and while creating a session bean i have an error stating-"there is no suitable project available into which Remote interface could be stored. An open Ant-based Java Class Library project is required". what does this mean and how to resolve the problem and how can i proceed.does it require any additional installation.
Ok. So Netbeans tries to enforce best practices on you. in this case it is considered best practice to put your remote interfaces in a separate Java library, because other clients might use it. So Here's the step you should take.
Create a new Java Class Library Project
Right click on your EJB Module, Click properties and add that project to your EJB Modules library.
Now you should see your Library Class, when you create a new Session Bean with Remote Interface.

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With