You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomee.apache.org by Devashis Jana <hb...@yahoo.com.INVALID> on 2023/05/23 14:00:35 UTC

Eclipse EJB and TomEE

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.


Re: Eclipse EJB and TomEE

Posted by Cesar Hernandez <ce...@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 (<hb...@yahoo.com.invalid>)
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.