Fóruns

Início » Liferay Portal » English » 3. Development

Visualização combinada Visão plana Exibição em árvore
Tópicos [ Anterior | Próximo ]
toggle
rajiv jackz
how to develop small application as portlet
27 de Setembro de 2010 21:58
Resposta

rajiv jackz

Ranking: New Member

Mensagens: 3

Data de entrada: 26 de Setembro de 2010

Mensagens recentes

am new bee, can any one help me , how to do web application with MVC architechure in liferay. already i had developed small inventory application using Strut 2 hibernate and having as war file. shall i integrate war file into liferay as struts portlet or might i need to develop new application from the scratch??emoticon
Nishikant sapkal
RE: how to develop small application as portlet
27 de Setembro de 2010 22:53
Resposta

Nishikant sapkal

Ranking: Junior Member

Mensagens: 61

Data de entrada: 15 de Fevereiro de 2010

Mensagens recentes

Hi Rajiv,

You can use ext environment or sdk for development and deployment.
Patrick NERDEN
RE: how to develop small application as portlet
28 de Setembro de 2010 01:41
Resposta

Patrick NERDEN

Ranking: New Member

Mensagens: 10

Data de entrada: 16 de Abril de 2010

Mensagens recentes

Hi Rajiv,

You shouldn't develop any business content inside Liferay since portlets only care the view side of your model.

Instead, you shall expose your application with frontend services (You can use Apache CXF for example). Then you can develop all the exiting portlets you can imagine in terms of ergonomy, style, functionalities. Your portlet will have access to your application through the services you developped.

The last thing to care about is authentication. The best way to deal with it is to integrate your stuff with some SSO server. Liferay already handles plenty of SSO server connectors which will make your work easier. You just need to implement it inside your app. OpenAM for example is very quick to integrate since it only relies on two Web Services. But you can use CAS as well or the one that fits your needs best. Just pass the token along your Web Service request and let your application validate it upon the SSO server to retrieve the connected user.