Fórumok

Portlet without ServiceBuilder but using hibernate and spring

Fox Mulder, módosítva 12 év-val korábban

Portlet without ServiceBuilder but using hibernate and spring

New Member Bejegyzések: 12 Csatlakozás dátuma: 2011.11.10. Legújabb bejegyzések
When i craete a portlet without a service.xml instead I want to use spring and hibernate directly, there is no META-INF folder with all the default spring and hibernate files in the portlet project. only after i create a service.xml file and define a dummy entity and run build service, all these files will be created. what is the recommended way writing a portlet without using service builder?


maybe its because i am not used to it, but service builder seems to generate thousands of lines of code which coulc be done using just a few ten lines of code using hibernate+annotations... confuses me
thumbnail
David H Nebinger, módosítva 12 év-val korábban

RE: Portlet without ServiceBuilder but using hibernate and spring

Liferay Legend Bejegyzések: 14914 Csatlakozás dátuma: 2006.09.02. Legújabb bejegyzések
That's just ServiceBuilder showing it's age emoticon

I think you just need to put your files into the WEB-INF folder and pull them manually. The default build process will only include files into META-INF if service builder is part of the deployment.