Liferay Portlet Configuration files(portlet.xml, liferay-portlet.xml and liferay-display.xml)

When we create a new portlet in Liferay, the folder structure is created as below: /PORTLET-NAME/ build.xml /docroot/ /css/ /js/ /WEB-INF/ /src/ (not created by default) liferay-display.xml liferay-plugin-package.properties liferay-portlet.xml portlet.xml web.xml icon.png view.jsp So what is the use and need of the Configuration Files that are stored in the docroot/WEB-INF folder? I’m explaining here the … Continue reading Liferay Portlet Configuration files(portlet.xml, liferay-portlet.xml and liferay-display.xml)

Top 10 Mistakes Java Developers Make

This list summarizes the top 10 mistakes that Java developers frequently make. #1. Convert Array to ArrayList To convert an array to an ArrayList, developers often do this: List<String> list = Arrays.asList(arr); Arrays.asList() will return an ArrayList which is a private static class inside Arrays, it is not the java.util.ArrayList class. The java.util.Arrays.ArrayList class hasset(), … Continue reading Top 10 Mistakes Java Developers Make

Liferay 7 installation

Liferay have announced Liferay 7 Community Edition Milestone 4.They have conducted program called Liferay 7 Community Expedition Program so that interested people can join in the program they can test and experience the Liferay 7 portal. Liferay released liferay-portal-7.0-ce-m4 and we can download portal server bundle and we can explore new featured and we can … Continue reading Liferay 7 installation

JasperReport Beginners

JasperReport is a popular reporting tool used by the Java programmer. Interestingly, what started as Teodor Danciu’s (creator of JasperReport library, 2001) need for an inexpensive reporting solution, has today bloomed into a full-fledged reporting library. This facilitated the need for a simple, inexpensive yet feature rich tool to add reporting capabilities in a Java … Continue reading JasperReport Beginners

Guide to Build AngularJS App – step by step

What is AngularJS? AngularJS is a JavaScript MVC framework developed by Google that lets you build well structured, easily testable, and maintainable front-end applications. And Why Should I Use It? If you haven’t tried AngularJS yet, you’re missing out. The framework consists of a tightly integrated toolset that will help you build well structured, rich … Continue reading Guide to Build AngularJS App – step by step