留言板

Spring Framework for business layer in liferay

Sanjay Jat,修改在12 年前。

Spring Framework for business layer in liferay

New Member 帖子: 11 加入日期: 11-6-23 最近的帖子
Hello ,
I want to know why we use spring framework in liferay.Is it possible to develop a portlet without using it ,i also want to know how it is useful for developing a portlet .
Thanks
thumbnail
Sagar A Vyas,修改在12 年前。

RE: Spring Framework for business layer in liferay

Liferay Master 帖子: 679 加入日期: 09-4-17 最近的帖子
Sanjay Jat:
Hello ,
I want to know why we use spring framework in liferay.Is it possible to develop a portlet without using it ,i also want to know how it is useful for developing a portlet .
Thanks


HI Sanjay ,

Simple Answer could be to inherit robustness and power of Spring. (IOC , DI)

Liferay uses Spring and Hibernate.

it possible to develop a portlet without using it


Yes of course , You can create MVC portlet , JSF portelt, Struts portlet.

Thanks,
Sagar Vyas
thumbnail
Raja Seth,修改在12 年前。

RE: Spring Framework for business layer in liferay

Regular Member 帖子: 233 加入日期: 11-8-18 最近的帖子
Hi Sanjay,

Liferay integrated with Spring for dynamic proxy features so that our middle tier business logic could be exposed either as simple beans or as session beans, allowing us to easily deploy to either a servlet environment or an EJB environment with minor configuration changes. In Liferay3.0 it was integrated with spring.

Hope you get your answer.

Regards,
Raja