I am working on a project to build a stateless ejb calculator component and my very first error is that the javax.ejb package does not exist (even after I looked for and included the jar). The thing is all solutions I am seeing online are old.....like from 2006, with the latest ones being 2013-2015. Which kinda makes it seem like an obsolete thing, and there's probably a better way of doing it. If so please advice me. I'm using the latest version of Apache Netbeans and JDK 15. Currently started the project with Java EE7(recommended in the tutorial I'm following) and GlassFish server.
Also I'm not sure if it all stems from the import error but when I try to add business logic, "Insert code " does not give me an "Add Business Method" option.