My goal is to work with (stateless) session beans in NetBeans 11.1. I'm working on the OS Ubuntu-Mate 18 and I'm using the GlassFish 5.1.0 server.
I tried to implement a session bean like in the tutorials https://www.oracle.com/webfolder/technetwork/tutorials/obe/java/SessionBean/SessionBeanDemo.html. Unfortunately, most of the tutorials are old and deprecated. I'd tried to implement a stateless session bean as follows:
First, I started a new "Enterprise Application" project.
Then I choosed a name...
... and I leaved the check marks on creating EJB and Web App module.
After that the Ear-Folder showed a strange warning about the dependency artifacts. If I try to resolve the project problems, nothing happend.
You can read the description in the screenshot.
When I began to create a session bean in SessionTest-ejb-1.0 I'm not able to choose a location. The EJB-Module is supposed to make the session bean work.
I don't have any idea how to implement a session bean in Netbean 11.1. I can't rely on the internet tutorials. Netbeans 11.1 is completely different than the other versions.
The same problem persists using netbeans 11.2 and the wildfly server.
I think the problem is in the ejb plugin of netbeans 11.x
To solve the problem, I created the Entreprise Application using Netbeans 9.0 (it works), then I opened it using the latest version of Netbeans 11.2.