RE: Choose which module template before create a model listener

Lan Zhang, modified 6 Years ago. New Member Posts: 23 Join Date: 5/16/11 Recent Posts
Hi,
I am using studio 3.7.1 and Lifeary 7.2.

I need to create a model listener and an indexer into DLFileEntry component. I understand that a model listener can be created into a module project. So I tried to create a module project first. But there are many module templates there and I do not know which template is best fit my need.

Can you tell me what module template should I choice when I create module project? Also, where can I find the documentation for those module templates, like whatkind of customization I can do for each of the module templates?
Thank you!
thumbnail
David H Nebinger, modified 6 Years ago. Liferay Legend Posts: 14933 Join Date: 9/2/06 Recent Posts
Most of the templates are actually for the type of module to create (i.e. Service Builder module for SB, portlet mvc, yada yada yada). Most you may identify what they are for easily enough, and for those that you don't recognize we can help.

But there is not a template for every type of module that you might want to create.

In these cases, I will typically use the "api" module template because it has the least overhead (i.e. if you pick the SB template there's too much stuff to purge before you start going).
Lan Zhang, modified 6 Years ago. New Member Posts: 23 Join Date: 5/16/11 Recent Posts
Hi David,
Thank you so much for your suggestion. 
I will try to create an api module project for my model listeners.