Re: Can tomcat 9 handled EJB ?

2018-04-01 Thread Stefan Frei
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 :
> 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-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
>

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



Can tomcat 9 handled EJB ?

2018-04-01 Thread Karen Goh
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-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org