Re: Eclipse EJB and TomEE
Cesar Hernandez <[email protected]>
| Newsgroups | gmane.comp.java.openejb.user |
|---|---|
| Message-ID | <CAFmYxhT8E1Uh9OeeDC5dh8jVqE+ZTDEdWws60YX8GPNjrja_-Q__1540.03981021873$1684858953$gmane$org@mail.gmail.com> |
Hello, The project type needs to be Dynamic Web Project as described in https://tomee.apache.org/tomee-9.0/docs/tomee-and-eclipse.html I did a quick test using Eclipse Version: 2023-03 (4.27.0), TomEE plume 9.0.0 and Java 17, and I was able to set up TomEE as a runtime for a Dynamic Web Project and add an EJB as described in the previous documentation. TomEE is a platform that is developed using Tomcat as its foundation, and Tomcat, as far as I recall, doesn't appear as part of the EJB project runtimes since it's not an EJB runtime out of the box. El mar, 23 may 2023 a las 8:01, Devashis Jana (<[email protected]>) escribió: > Hi, I am an individual learning EJB using Eclipse (2023-03) and TomEE > (9.0). I have Glassfish 7 and TomEE 9 installed within eclipse, the > latter using the Tomcat 10.0 server adapter. When I do File > New > > Dynamic Web Project, then TomEE shows up in the Target Runtime listbox. > I have used it to create JSF and backing bean with a JNDI database > resource and everything works fine. > > Now I want to try an EJB project, but when I do File > New > EJB > Project, TomEE does not show up in the Target Runtime listbox. Only > Glassfish does. How do I get TomEE to show up in the listbox? Can anyone > point me to the documentation where I could find out more about this - I > couldn't find anything. Thank you. > > -- Atentamente: César Hernández.