![]() ![]() Consult your database documentation for details on syntax and how to create databases and users. To use these databases, the database and user with appropriate access must be created and the appropriate JDBC driver must be available in your app server. Liferay can also connect to Apache Derby, Firebird, Informix, Ingres, or SAP DB. You cannot use this database in production.įor production use, Liferay supports MySQL, Microsoft SQL Server, Oracle Database, IBM DB2, PostgresQL, and Sybase. Out of the box, Liferay bundles are configured to use HSQLDB, which should only be used for development or demo purposes. In most cases, installing a bundle is as easy as uncompressing the archive and then starting the application server.įor example, Tomcat is started with: $ $/osgi/configs folder. The complete compatibility matrix of Liferay DXP can be found here. Liferay Portal CEīundles are archives that combine Liferay Portal with popular application servers such as Tomcat, GlassFish, and others.Īll bundles are cross-platform and should run on any modern flavor of Windows, Linux, macOS, or other Unix-based operating systems. ![]() This download comes with a 30-day trial license that allows you to navigate the full features of Liferay DXP. Liferay Digital Experience Platform (Liferay DXP) is an equivalent version of Liferay Enterprise Edition from the previous versions of Liferay. You will be presented with multiple download options from the linked page. " Portal Community Edition is freely downloadable here. The generated directory structure looks like thisĪfter creating the project you can import it as maven project in the eclipse. The above command will create project structure as well as sample code. Its Group Id is com.liferay and artifactId is .mvc.portlet. In the above command we have used an Archetype Plugin. Each plugin is identified by Group Id, Artifact Id and version. Before executing the below you must have to install Maven in your machine. Open your command prompt and execute the below command in a single line.All the parameters starting with -Dmust have space. A Maven Archetype generate project skeleton which saves our development time. Each Archetype create different project structure. For example there is maven archetype for Spring MVC which create project structure for Spring based application, similarly there are Archetypes for liferay, hibernate, wicket, struts and son. For each framework or technology there are specific folder structure.Ī Maven archetype is simply a plugin which create a project structure. Similarly for Struts application the directory structure may be something else. For Spring based web application the directory structure may be different from normal Servlet based web application. The portlet will be packaged as OSGI module which is nothing but a JAR file at the end.įor different types of projects there are different types of directory structures. In this article we will show how to create a basic MVC Portlet using Maven as build tool. The archetype is capable of generating necessary source code compliance with OSGI specification. Liferay has already published many Maven Archetypes for creating OSGI based application. Using Maven we can easily create OSGI module in Liferay 7.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |