掲示板

Spring Portlet V/s MVC Portlet

9年前 に Jagir Vimalbhai Buch によって更新されました。

Spring Portlet V/s MVC Portlet

New Member 投稿: 11 参加年月日: 14/03/28 最新の投稿
Hi All,

There are few questions in my mind

1) Which is better Spring Portlet or MVC Portlet in Liferay?
2) Why should we use Spring Portlet as Liferay provides MVC Portlet?
3) How to use Service Builder with Spring MVC Portlet
9年前 に Jagir Buch によって更新されました。

RE: Spring Portlet V/s MVC Portlet

New Member 投稿: 11 参加年月日: 14/03/28 最新の投稿
These many views..but no reply from anyone...
No one knows the answer... emoticon
thumbnail
9年前 に Vicki Lea Tsang によって更新されました。

RE: Spring Portlet V/s MVC Portlet

Junior Member 投稿: 49 参加年月日: 11/04/18 最新の投稿
Hi Jagir,

Have you tried posting this question in the Liferay Portal forums here? You might have better luck there, since his category is for Social Office specifically, whereas I think your question is related more to the portal in general.

Best regards,

Vicki
thumbnail
9年前 に Meera Prince によって更新されました。

RE: Spring Portlet V/s MVC Portlet

Liferay Legend 投稿: 1111 参加年月日: 11/02/08 最新の投稿
Hi
Please have a look into following link it may help you..

http://www.liferaysavvy.com/2014/04/liferay-plugin-portlet-development.html


Regards,
Meera Prince
http://www.liferaysavvy.com
8年前 に Nilang I Patel によって更新されました。

RE: Spring Portlet V/s MVC Portlet

Junior Member 投稿: 31 参加年月日: 11/07/26 最新の投稿
You may refer my blog on Spring MVC vs Liferay MVC portlet in liferay to understand the core differences and similarities between these framework which help you to decide which one to choose.

Regards
Nilang
thumbnail
8年前 に Jan Geißler によって更新されました。

RE: Spring Portlet V/s MVC Portlet

Liferay Master 投稿: 735 参加年月日: 11/07/05 最新の投稿
To add some information here in:
Service Builder is completely independent from any WebController framework. As it should be. Services are (or should) always be completely decoupled from the display logic (UI). That's the whole reason behind a multi tier architecture.
Which one is better:
The one you know better and feel comfortable with. The one which gives you more speed in development. ;)
thumbnail
8年前 に David H Nebinger によって更新されました。

RE: Spring Portlet V/s MVC Portlet

Liferay Legend 投稿: 14919 参加年月日: 06/09/02 最新の投稿
Jan Geißler:
Service Builder is completely independent from any WebController framework.


True, but the framework can sometimes interfere w/ the SB portlet.

I tend to create a SB portlet but leave the portlet side alone - just move it to the "hidden" category and otherwise leave the generated view.jsp alone.

Any real portlets will use the service jar and therefore will not "corrupt" the SB portlet's class loader with framework jars.

This separation is not a requirement, you can put them in a single project but take care that everything you pull in and monitor the effects in the class loader.

Which one is better: The one you know better and feel comfortable with. The one which gives you more speed in development. ;)


This is the position that I push most often - use the tools you know. A development project can be a hard time to learn a new framework as you'll always be wondering at each failure whether it is your code or the framework.

Sometimes, however, Liferay MVC can be thrown on you, namely if you have a requirement to use the Configuration panel - this is only supported by Liferay MVC and not by Spring MVC. Spring MVC you can use the general EDIT mode to display settings, but you won't get the expected integration w/ Liferay's Configuration panel.