Liferay is an advanced platform for software development with which companies can create innovative and contemporary websites for businesses.
Become a part of futuristic digital transformation solutions by enrolling into Liferay training offered by SK trainings. Our expert trainers will make you fundamentally knowledgeable by covering all the essential areas of the Liferay. In this course you will gain overall knowledge of the various concepts such as Liferay tools, problem formulation , difference between internet and intranet, Liferay plugins, administration, successful deployment, and a lot more other topics. Get certified in Liferay by joining SK trainings.
Liferay is an advanced software development platform using which organizations can create innovative and modern business portals and websites. It supports various programming languages such as Java, C++, .Net, PHP and many others. Liferay empowers the organizations with an ability to build advanced digital transformation solutions.
SK trainings has designed this Liferay online training with an aim to make the learners skilled in the essential areas and to make them job ready professionals. During the training you will be working with two Liferay live projects which gives you practical exposure. Get the best Liferay training by joining SK trainings.
Upon the completion of this liferay training you will be able to:
To learn liferay you need to have basic knowledge of:
Following are the job roles who get benefited from learning this course :
Yes, upon the successful completion of the CyberArk training you will receive the course completion certificate from SK trainings. This certificate is valid across all the top MNCs and simplifies your job search process.
In general, a web portal represents a web application that provides a single point of access to variety of information.
Functionality of a portal can extended very easily by creating custom applications that can run inside a portal. These applications are called portlets.
For running portlets you need application server that can run a portlet container spec (JSR168 or JSR286). There are dozens of free and enterprise portal products available.
Liferay portal is an open source portal and below are the benefits of using Liferay portal:
Liferay provides 3 ways to extend the functionality of a Liferay portal. Each of the way fits is good for different needs.
Liferay portal comes with a bundle where all the default built in portlets exist. Typically if any customization required in terms of JSP (UI) and portal properties. We need to go by Hook implementation. Hook is supported by hot deployment. Liferay documentation suggests that - Whenever possible, hooks should be used in place of Ext plugins, as they are hot-deployable and more forward compatible.
Some common scenarios that require the use of a hook are:
Following is the portlet lifecycle:
init(): It mainly initializes the portlet.
render(): It takes the HTML output to User Interface. It mainly render the view in term of JSP/HTML code and show into the respective portlet.
Destroy: This method takes care of releasing the portlet resources.
Liferay themes are the way to customize look and feel of a liferay portal page. The themes are extendable components that can be deployed separately on a portal and each page on the portal can choose a different theme (if required). Themes are really powerful way to run multiple websites from a single portal. You can host multiple websites on a single liferay portal with totally different look and feel. This allows you to be unique at the same time save a lot resources on website hosting. A lot of companies use liferay for creating multiple unique websites with the help of extraordinary themes that can be easily developed. Themes are also available from marketplace. For developing on our own, we have option of using VM pages(Velocity templates). Liferay provides the feature to deploy the different themes into the portal same like portlets war files. So number of themes we can be deployed into Liferay portal and we can further select those themes for user interface as per the requirement of end user for different site or organization pages.
Liferay Portal comes with default configurations that are stored in portal.property file. You can use portal-ext.properties file to override the values in portal.properties file. This allows you a clean way to keep your own copy of configurations that can be used outside the portal at the same time you can easily upgrade the portal.
Liferay portal ships with the one liferay portal tomcat bundle which is up and running in any server with certain database settings. We can have more than one liferay instances running from one database. Liferay Portal allows you to run more than one portal instance on a single server. The Portal Instances page of the control panel lets you manage these instances. Data for each portal instance are kept separate. All portal data, however, is kept in the same database. Each portal instance requires its own domain name. Liferay will direct users to the proper portal instance based on this domain name. So before you configure an instance, we need to configure its domain name in our network first. When we are ready to add an instance, click the Instances tab - > Add button. It will be prompted for four fields and a check box: Web ID: A general convention is to use the domain name for this. It’s a user-generated ID for the instance. Virtual Host: Put the domain name you configured in your network here. When users are directed to your Liferay server via this domain name, Liferay will then be able to send them to the proper portal instance. Mail Domain: Enter the domain name for the mail host for this instance. Liferay will use this to send email notifications from the portal. Max Users: Enter the maximum numbers of user accounts you would like your portal instance to support. Active: Use this check box to choose whether to create an active or an inactive portal instance. Now we need to click Save. Now navigate to the portal using new domain name. We will see that looks like a clean install of Liferay. This is our new portal instance which can now be up and running.
We can set this from control panel -> portal settings -> Authentication -> LDAP -> How do users authenticate?. Here we can select whatever we require from email address,screen name or user ID. At the time of LDAP authentication, we need to provide the required LDAP mappings which basically reads all the details related to users and usergroups from LDAP directory and import into Liferay portal. At the time of this connection with third party we need to give the required field like authentication should be by email address or screen name or user ID.
Liferay service builder is basically used to create the service layers for any business logic implementation. From developer point of view it is very helpfull as it used to create all the service layers automatic. Suppose we want to develop a portlet, for this we need to write all the required implementation classes, utility cleasses and other required classes. Service builder is used to create all these classes for developer, where they can add their business logic further and process the data and render the output to view as per the requirement. As per the advantage, this service builder will create whole structure of the service layers for developer mainly. It really helps them to write the code and their logic in service builder created model implementations and service implementation classes. These classes comes with normal CRUD (create, update and delete)operations. For developer, no need to add anything extra as whole service and utility layers are already got created by service builder. It really speed up the developement process. Service builder requires service.xml which is having some of the required entries. Each of the entry is basically called entity, which is having it's primary key fields with some other required fields. If we want to implement order and finder method, we can implement it by using this service.xml. Each entity creates table into liferay configured database with the given column names and their types. We can create service.xml related local-service and remote-service by setting them value as "true". When we would run this build-service like below, this would create all the service layers(implementation, utility etc.) where developer can write their required business logic further. Creation of all the service-classes would be done by the build.xml, we need to build-services using this xml file into Ant view of IDE.
We can support internationalization (i18n) on Liferay portlets and through out this whole Liferay portal. We need to provide whatever language we need to support into LIferay portal. This is mainly reads the regions number and provide the available language like en_US(english), SG(singapore), zh_CN(simple chinease), zh_TW(traditional chinease), ja_JP(Japanease). In the same way to provide support of multiple languages without writing java code in Liferay, we can use Locales this through out the portal, portlet, hooks and themes. This entry we can provide into same portal-ext.properties which Liferay portal would read and provide all the translation accordingly.
locales=en_US,zh_CN,zh_TW,ja_JP,ko_KRIf we are writing some custom messages in out code then we need to provide the below property files also as per the called language and using of Locales would convert it accordingly. We can use LocaleUtil in our code which will convert the certain message given in language files. For example we want the assetCategory title in multi languages then we need to use this assetCategory.getTitle(locale). So here whatever locale we have mentioned earlier would be in action and pick the given title name from certain locale related language.property file.
Language_en_US.properties Language_zh_CN.properties Language_zh_TW.properties
One property is there in portlet.xml which is as follows:
by using the value true and false we can configure a portler that can be added multiple times on a portal page.
Liferay passes user credentials through CMIS to the alfresco in order to connect. To enable this in liferay, we need to enter following below property in portal-ext.properties which will allow liferay to store password in session.
company.security.auth.type=screenNameSo we need to start Liferay. Login as administrator and go to control panel. we need to go to Document and Media which will bring up a screen where we need to click on Add -> New Repository. this will bring one screen where we basically provide connection details to connect to Alfresco like below.
So further we can use these all form and fields like below in our JSP code. http://liferay.com/tld/aui /WEB-INF/tld/liferay-aui.tld
We need to do the entry of perticular resource with some certain parameter like name, factory, driverclassname, url of database, uaername and password. Below is the entry of resource where JDBC datasource is configured.
name="jdbc/LiferayPool" factory="org.apache.tomcat.jdbc.pool.DataSourceFactory" driverClassName="com.mysql.jdbc.Driver" url="jdbc:mysql:///?autoReconnect=true&useUnicode=true&characterEncoding=UTF-8&useFastDateParsing=false&noAccessToProcedureBodies=true" username="liferay" password="0bknSWE2zzl" initialSize="10" maxActive="200" minIdle="0" />Below is the entry of resource where c3p0.ComboPooledDataSource is configured.
Liferay portal comes with different portlets by default. These portlets are nothing but different small applications running in the instance(portal). Portlets are pluggable software components that are managed in a web portal.
In general words you can call them as different catalogues as portlets produce fragments of markup code that are aggregated into a portal. So a portal page is displayed as a collection of portlet, thease multiple small applications together making a page of the site and these all pages together makes one community or enterprise portal. Hence a portlet (or collection of portlets) resembles a web-based application that is hosted in a portal.
Portlet is a small application to fulfill the requirement of certain domain. Inter portlet communication is supported under Liferay portal. Portlet support hot deployment feature of Liferay Portal.
JSR is a "Java Specification Request". Liferay Portal is developed to adhere to JSR 168 and JSR 286 specifications.
This specification is created by committee of JEE portal vendors. This specification is designed to achieve interoperability between different portals and portlets.
Liferay supports mainly below JSRs:
JSR-168(Portlet 1.0) JSR-286(Portlet 2.0) JSR-127(JSF 1.0) JSR-170 JSR-314(JSF 2.0) JSR-329
The modes of a portlet are typically related to the types of operations a user can perform on the portlet. A view mode is where users are allowed to do read only operations, whereas in edit mode user can add/update the data in the portlet.
Each portlet mode has a method which handles it: doView()
These methods will contain mainly our "traffic directing" logic, which are responsible to decide what view the user wants to see. Once the view has been determined, we will forward on to methods which actually implement that view. For standard portlet view modes have two views:
LDAP is lightweight directory access protocol that is most commonly used for authentication and authorization of users. LDAP mainly consists users and usergroups of any organization with certain serach filter like DN entries. In the control panel of liferay we have option to provide the LDAP settings so that portal can contact the third party like LDAP and fetch the required users and groups as per given mappings.
For example Active directory is a LDAP implementation which can store users. Liferay support integration of any LDAP implementation through its admin control panel.
We need to provide the settings in control panel - > portal settings -> LDAP
This will require LDAP URL, username, password, users search filters mappings, groups search filters mapping etc.
Sometimes we have the requirement where we need to establish communication in between two portlets for example any action done in one portlet redirecting the end user to other portlet where some kind of result is displaying as per action done on first portlet.
So in this use case we have to use liferay inter-portlet communication mechanism which serve the action performed by end user in one portlet and provide the result to the second portlet where the action result needs to be displayed. We can say that it works on striker-catcher mechanism.
JSR style inter portlet communication ensures that your portlets are going to work on any other JSR compliant portal server. If you use a liferay specific way to communicate between portlets than you may not be able to deploy and run the same portlet war on another JSR compliant portal (e.g. Apache Pluto)
At the time of creation of any site we need to provide domain names which further take it as site domain name. We need to provide the certain domain name as required through the control panel of liferay portal. Single instance of Liferay Portal supports hosting of two or more domain names via communities(sites).
When we will go to control panel -> Site settings -> we can provide the site URL, details like site(community) description, membership type, active status and virtual host
If we need any customization, related to JSP and UI then we can implement this using Hooks. Liferay portal comes with a bundle where all the default built in portlets exist.
If any customixation required in the core level classes then it can be done through EXT for example LDAP users and user groups import modification. but here in EXT, restart would be required.
We can set the display category like below mentioned liferay-display.xml. Suppose we have developed one portlet where portlet ID we have provided. We need to enter the custom built liferay portlet into certain category like name "category.cms", "category.collaboration" etc.
By doing this custom built liferay portlet would come in required category by clicking the add application feature of liferay as there would be many of portlets under different categories. So below tag we need to enter for the entry of a portlet into certain category.
It is possible to use Liferay with Liferay IDE with other then tomcat server bundles but there are some features or benefits that will not be available:
Native eclipse server adapter that supports launching and debugging. Deployment via add/remove modules wizard would not be available. Auto redeployment based on changes to project resources.
Let us solve your all Liferay online training doubts.
Talk to us for a glorious career ahead.
We make sure that you are never going to miss a class at SK trainings. If you do so you can choose from either of the below two options.
The industry trainers who are working with us are highly qualified and possess a minimum of 10-12 years of experience in the IT field. We follow a critical procedure while selecting a trainer which include profile selection, screening, technical evaluation and validating presentation skills. The trainers who get top ratings by students are given priority and continue to teach with us.
You need not worry about anything. Once you join SK trainings, you will get lifetime assistance from our support team and they are available 24/7 to assist you.
Online training is an interactive session where you and the trainer are going to connect through the internet at a specific time on a regular basis. They are interactive sessions and you can interact with trainers and ask your queries.
Yes, you will be eligible for two types of discounts. One is when you join as a group and the other is when you are referred by our old student or learner.
Yes, you will gain lifetime access to course material once you join SK trainings.
Our trainer will provide you server access and help you install the tools on your system required to execute the things practically. Moreover, our technical team will be there for you to assist during the practical sessions.
Yes, Sk trainings accepts the course fee on an instalment basis to make the students feel convenient.
SK trainings is one of the top online training providers in the market with a unique approach. We are one-stop solutions for all your IT and Corporate training needs. Sk trainings has a base of highly qualified, real-time trainers. Once a student commits to us we make sure he will gain all the essential skills required to make him/her an industry professional.
Till now SK trainings has trained thousands of aspirants on different tools and technologies and the number is increasing day by day. We have the best faculty team who works relentlessly to fulfill the learning needs of the students. Our support team will provide 24/7 assistance.
SK trainings offers two different modes of training to meet student requirements. Either you can go for Instructor led-live online classes or you can take high-quality self-paced videos. Even if you go with self-paced training videos you will avail all the facilities offered for the live sessions students.
Yes, each course offered by the SK trainings is associated with Two live projects. During the training, students are introduced to the live projects implementation process.
Yes, absolutely you are eligible for this. All you need to do is pay the extra amount and attend live sessions.
You must experience the course before enrolling.
The Liferay training course at the SK trainings is designed by experts which you can learn by enrolling. In this course you will learn all the basic as well as advanced concepts with the help of the real time mentor. The expertise areas include Liferay tools, problem formulation , difference between internet and intranet, Liferay plugins, administration, successful deployment, and a lot more other topics. You will also get hands-on experience by working on real projects. Get the Liferay certification by enrolling at the SK trainingsGet Certified
Need to know more about Liferay online training and Certification
Avail Free Demo Classes Now
Our core aim is to help the candidates with updated and latest courses. We offer the latest industry demanded courses to the individuals. Following are some of the trending courses.
If you want to judge how good a course is then you get to experience it. At SK trainings you will get demo classes for free. There will be no fabrication in these classes as they are live. Feel It - Learn & Then enroll for the course.