Forums

Home » Liferay Portal » English » 3. Development

Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
JITENDRA PANIGRAHY
suggestion regarding using type of portlet in liferay
May 10, 2012 1:14 AM
Answer

JITENDRA PANIGRAHY

Rank: New Member

Posts: 17

Join Date: April 22, 2012

Recent Posts

Hi,

I am using LIferay CE 6.1. We need to implement some new functionality(s) using portlets, with below objectives.
-get rid of tightly coupling with liferay (may need to migrate to different portal server)
-more scallable and easily extensible.
We have ambiguity in selecting either Spring portlet or Liferay MVC portlet or Generic Portlet for our implementations.
Any kind of architectural suggestions are appreciated. Thanks in advance.
Bart Simpson
RE: suggestion regarding using type of portlet in liferay
May 10, 2012 5:13 AM
Answer

Bart Simpson

Rank: Liferay Master

Posts: 523

Join Date: August 29, 2011

Recent Posts

I am not the expert, though this is what I have experienced.
If you need absolute control / flexibility then go for Spring MVC Portlet based architecture (here you'll be able to leverage liferay's existing implementation / utils etc.
Or else go with Liferay's MVC which will be the fastest to build.
Hitoshi Ozawa
RE: suggestion regarding using type of portlet in liferay
May 10, 2012 5:58 AM
Answer

Hitoshi Ozawa

Rank: Liferay Legend

Posts: 7990

Join Date: March 23, 2010

Recent Posts

t rid of tightly coupling with liferay (may need to migrate to different portal server)


If this is one of your requirements, I think you know which one to select.
JITENDRA PANIGRAHY
RE: suggestion regarding using type of portlet in liferay
May 10, 2012 11:50 AM
Answer

JITENDRA PANIGRAHY

Rank: New Member

Posts: 17

Join Date: April 22, 2012

Recent Posts

Great Paul. Thanks for your input.
Again, coming to spring mvc portlet, some blog says, it is problematic using Spring MVC together with Service Builder. Good to have any view on it.
Hitoshi, thanks for your response. I wanted to understand advantages/limitations of each one before selection. You can share us if you have any thing additional.
Bart Simpson
RE: suggestion regarding using type of portlet in liferay
May 10, 2012 10:33 PM
Answer

Bart Simpson

Rank: Liferay Master

Posts: 523

Join Date: August 29, 2011

Recent Posts

You can keep your portlet implementation on Spring MVC , and use the service builder for the database related stuff (generating services, sql etc). These services can be used inside your spring based portlet. I think you should be able to achieve this. I haven't done this myself, but would be interested in knowing your findings and provide any help.
So keep posting !
Subhash Shah
RE: suggestion regarding using type of portlet in liferay
May 10, 2012 10:50 PM
Answer

Subhash Shah

Rank: Junior Member

Posts: 77

Join Date: November 29, 2011

Recent Posts

JITENDRA PANIGRAHY:

Again, coming to spring mvc portlet, some blog says, it is problematic using Spring MVC together with Service Builder. Good to have any view on it.


Hi Jitendra,

I have used liferay service builder with spring in my recent development and it works just fine. If there are any specific issues you have heard of using service builder with spring, I may help you.
JITENDRA PANIGRAHY
RE: suggestion regarding using type of portlet in liferay
May 11, 2012 3:48 AM
Answer

JITENDRA PANIGRAHY

Rank: New Member

Posts: 17

Join Date: April 22, 2012

Recent Posts

Thanks to all of you. I would be sharing my finding if any.