Forums

Home » Liferay Portal » English » 3. Development

Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
rajiv jackz
how to develop small application as portlet
September 27, 2010 9:58 PM
Answer

rajiv jackz

Rank: New Member

Posts: 3

Join Date: September 26, 2010

Recent Posts

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
September 27, 2010 10:53 PM
Answer

Nishikant sapkal

Rank: Junior Member

Posts: 76

Join Date: February 15, 2010

Recent Posts

Hi Rajiv,

You can use ext environment or sdk for development and deployment.
Patrick NERDEN
RE: how to develop small application as portlet
September 28, 2010 1:41 AM
Answer

Patrick NERDEN

Rank: New Member

Posts: 10

Join Date: April 16, 2010

Recent Posts

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.