How to Connect to Oracle from Liferay portlet ( Java Liferay and Oracle integration )

Liferay is a open source and free enterprise portal . It is also described as a web application framework or content management framework . In this post we explained that how to Connect to Oracle from Liferay portlet .