You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Karen Goh <ka...@yahoo.com.INVALID> on 2018/04/01 14:33:25 UTC

Can tomcat 9 handled EJB ?

Hi expert,

I have come to the point where I may have to use EJB transaction management in my Maven JEE web app which runs on JDK 1.8, windows 10 system and MySQL.

And then I read several conflicting comments, articles that I have to use OpenEJB and put the depenedency in order to use it.

But, I also read from the famous Adam bien blog that I only need the javaee-api version will do.  I have javaee-api version 8 which is one grade higher so I think should be ok right ?

http://www.adam-bien.com/roller/abien/entry/the_only_one_dependency_you

But, I am not sure.

At first, I tried to use hibernate sessionFactory but I find it very difficult to implement and finds EJB entityManager much easier..I hope cos now things are not running well in my tomcat 9.

I hope someone can point me to the right direction.

If I can't use EJB inside Tomcat server, is there any other framework etc that can be used ?

Thanks & regards,
Karen

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: Can tomcat 9 handled EJB ?

Posted by Stefan Frei <st...@gmail.com>.
Hi Karen

your keyword here could be "TomEE", a collegue of mine used it
recently to code an application, as far as i know its a tomcat with
extended EE-Functionalities.

Cheers

2018-04-01 16:33 GMT+02:00 Karen Goh <ka...@yahoo.com.invalid>:
> Hi expert,
>
> I have come to the point where I may have to use EJB transaction management in my Maven JEE web app which runs on JDK 1.8, windows 10 system and MySQL.
>
> And then I read several conflicting comments, articles that I have to use OpenEJB and put the depenedency in order to use it.
>
> But, I also read from the famous Adam bien blog that I only need the javaee-api version will do.  I have javaee-api version 8 which is one grade higher so I think should be ok right ?
>
> http://www.adam-bien.com/roller/abien/entry/the_only_one_dependency_you
>
> But, I am not sure.
>
> At first, I tried to use hibernate sessionFactory but I find it very difficult to implement and finds EJB entityManager much easier..I hope cos now things are not running well in my tomcat 9.
>
> I hope someone can point me to the right direction.
>
> If I can't use EJB inside Tomcat server, is there any other framework etc that can be used ?
>
> Thanks & regards,
> Karen
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org