Fórum

Portlet without ServiceBuilder but using hibernate and spring

Fox Mulder, modificado 12 Anos atrás.

Portlet without ServiceBuilder but using hibernate and spring

New Member Postagens: 12 Data de Entrada: 10/11/11 Postagens Recentes
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, modificado 12 Anos atrás.

RE: Portlet without ServiceBuilder but using hibernate and spring

Liferay Legend Postagens: 14916 Data de Entrada: 02/09/06 Postagens Recentes
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.