Foren
ServiceBuilder in Plugins Env uses Portal-Impl.jar
Dilip Ranjith, geändert vor 14 Jahren.
ServiceBuilder in Plugins Env uses Portal-Impl.jar
New Member Beitrag: 1 Beitrittsdatum: 14.08.09 Neueste Beiträge
Hi I am a Liferay Newbie.
I was trying to develop a portlet in plugins environment. I was successful in doing it
But i realized that servicebuilder generated xml files uses portal-impl.jar.
e.g. in hibernate-spring.xml
similar references exists in other generated xmls
I was under the impression that portal-impl.jar should not be used in plugins environment in order to make the portlet standards compliant.
Please suggest a work around for this I want to develop a standards compliant portlet
I was trying to develop a portlet in plugins environment. I was successful in doing it
But i realized that servicebuilder generated xml files uses portal-impl.jar.
e.g. in hibernate-spring.xml
<!--?xml version="1.0" encoding="UTF-8"?-->
<beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemalocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd">
<bean id="liferayHibernateSessionFactory" class="com.liferay.portal.spring.hibernate.PortletHibernateConfiguration">
<property name="dataSource" ref="liferayDataSource" />
</bean>
<bean id="liferaySessionFactory" class="com.liferay.portal.dao.orm.hibernate.SessionFactoryImpl">
<property name="sessionFactoryImplementor" ref="liferayHibernateSessionFactory" />
</bean>
<bean id="liferayTransactionManager" class="org.springframework.orm.hibernate3.HibernateTransactionManager">
<property name="dataSource" ref="liferayDataSource" />
<property name="globalRollbackOnParticipationFailure" value="false" />
<property name="sessionFactory" ref="liferayHibernateSessionFactory" />
</bean>
</beans>
similar references exists in other generated xmls
I was under the impression that portal-impl.jar should not be used in plugins environment in order to make the portlet standards compliant.
Please suggest a work around for this I want to develop a standards compliant portlet