论坛

主页 » Liferay Portal » English » 3. Development

组合视图 统一视图 树状图
讨论主题 [ 上一个 | 下一个 ]
toggle
rajiv jackz
how to develop small application as portlet
2010年9月27日 下午9:58
答复

rajiv jackz

等级: New Member

帖子: 3

加入日期: 2010年9月26日

最近的帖子

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
2010年9月27日 下午10:53
答复

Nishikant sapkal

等级: Junior Member

帖子: 77

加入日期: 2010年2月15日

最近的帖子

Hi Rajiv,

You can use ext environment or sdk for development and deployment.
Patrick NERDEN
RE: how to develop small application as portlet
2010年9月28日 上午1:41
答复

Patrick NERDEN

等级: New Member

帖子: 10

加入日期: 2010年4月16日

最近的帖子

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.