I'm quiet skilled with liferay (almost 2 year) and in my free time I decide to start studying another Portal. I start to write my first own portlet without much problem. Now I need a connection to have CRUD operation for my new Entity needed for the logic of my portlet. So, does exist a factory to get EntityManager? Should I use injection, how?
I know It's a very stupid question, but it's my first step to use gateIn seriuosly.