The largest Interview Solution Library on the web


Interview Questions
« Previous | 0 | 1 | 2 | 3 | 4 | Next »

41.How To Use JQuery In Liferay?

We need to provide the entry like below in our JSP files. So that it can read the provided java script path very easily and we can use jQuery accordingly.
<script type="text/javascript"
src="<%=themeDisplay.getPathThemeCss()%>/../js/jquery-1.7.2.min.js">

42.How To Configure Liferay To Use A JNDI JDBC Datasource Instead Of Internal C3p0 Connection Pool?

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.
<Resource type="javax.sql.DataSource"
name="jdbc/LiferayPool"
factory="org.apache.tomcat.jdbc.pool.DataSourceFactory"
driverClassName="com.mysql.jdbc.Driver"
url="jdbc:mysql://<IP-Address>/<database_name>?autoReconnect=true&useUnicode=true&characterEncoding=UTF-8&useFastDateParsing=false&noAccessToProcedureBodies=true"
username="liferay"
password="0bknSWE2zzl"
initialSize="10"
maxActive="200"
minIdle="0"
/>

43.Below is the entry of resource where c3p0.ComboPooledDataSource is configured.?

<Resource
name="jdbc/LiferayPool"
auth="Container"
type="com.mchange.v2.c3p0.ComboPooledDataSource"
factory="org.apache.naming.factory.BeanFactory"
driverClass="com.mysql.jdbc.Driver" jdbcUrl="jdbc:mysql://<server-IP>/<database-name>?useUnicode=true&characterEncoding=UTF-8&useFastDateParsing=false&noAccessToProcedureBodies=true"
user="liferay"
password="0bknSWE2zzl"
minPoolSize="10"
maxPoolSize="100"
/>

44.What is Liferay?

Liferay Portal is a free and open source enterprise portal project written in Java and distributed under the GNU Lesser General Public License and optional commercial license.

45.Technologies used in Liferay?

AJAX, Apache ServiceMix, ehcache, Groovy, Hibernate, ICEfaces, Java J2EE/JEE, JGroups, Lucene, MuleSource ESB, Seam, Spring 3.0 & AOP, Struts & Tiles, Tapestry, Velocity

46.Liferay Standards?

  • AJAX
  • iCalendar & Microformat
  • JSR-168
  • JSR-127
  • JSR-170
  • JSR-286 (Portlet 2.0)*
  • JSR-314 (JSF 2.0)
  • OpenSearch
  • CMIS

47.Explain Liferay Architectural details?

  • Hierarchical and extensible system of communities and organizations
  • Replicable templated communities and organizations
  • Message-oriented architecture leveraging Liferay’s lightweight message bus, Mule, or ServiceMix ESB.
  • Dependency injection provides pluggable service implementations

48.Name public and private cloud platforms with Liferay deployment compatability?

Liferay Portal is deployable to the cloud and virtualized environments, including EC2, Elastic Beanstalk, and VMWare.

49.Web Services used in Liferay?

JSON, Hessian, Burlap, REST, RMI, Spring HTTP, WSRP (full support for 1.0 and 2.0), WebDAV

50.Explain Liferay Security?

Liferay Portal uses industry standard, government-grade encryption technologies including advanced algorithms such as DES, MD5 and RSA. Liferay was benchmarked as among the most secure portal platforms using LogicLibrary’s Logiscan suite.

  • Pluggable Authentication
  • Email Verification
  • Granular Permissioning
  • LDAP Authentication
  • Session Management

51.Liferay Single Sign On implementations?

  • CAS and Siteminder out of the box
  • Support for JAAS, JOSSO, LDAP, Netegrity, Microsoft Exchange

52.Explain ways to extend and customize Liferay?

  • Customizing the look and feel: Themes
  • Adding new predefined page layouts: Layout Templates
  • Customizing or extending the out-of-box functionality: Hook plugins
  • Advanced customization: Ext plugins

53. List Application Servers compatible with Liferay?

  • Geronimo
  • GlassFish
  • JBoss
  • JOnAS
  • OracleAS
  • SUN JSAS
  • WebLogic
  • WebSphere

54.Explain features of Liferay Document Library?

  • JSR-170 compliant Java Content Repository
  • CMIS 1.0 Support
  • Check in/check out
  • Integration with Microsoft Office®
  • Versioning
  • Workflow
  • Fine grained permissioning
  • Multi-file uploads
  • File format conversion among common formats like Microsoft Office, PDF, TXT and HTML (import and export)
  • WebDAV enabled
  • Image gallery

55.Liferay Performance and Scalability?

  • Clustering at any combination of tiers (presentation, service, business logic, and database)
  • Terracotta DSO integration
  • Advanced Caching (Ehcache, Memcached)
  • Page Caching
  • Load Balancing
  • Static Content Export
  • Portlet Performance Monitoring
  • Code Performance Monitoring

56.Liferay Identity Management implementations?

  • LDAP Authentication and Synchronization
  • Oracle Access Manager
  • Novell Identity Manager
  • Sun Identity Manager / Open SSO
  • SiteMinder
  • Tivoli

57.Features of Liferay Message Boards?

  • Rich text editor (WYSIWYG)
  • Role-based permissioning
  • User data display
  • Threaded comments and categories management
  • Versioning
  • Statistics
  • Recent posts
  • Email based subscriptions
  • RSS

58.Explain Hook plugins?

Hook plugins are how you customize the core functionality of Liferay at many predefined extension points. Hook plugins are used to modify portal properties or to perform custom actions on startup, shutdown, login, logout, session creation, and session destruction. Using service wrappers, a hook plugin can replace any of the core Liferay services with a custom implementation. Hook plugins can also replace the JSP templates used by any of the default portlets. Best of all, hooks are hot-deployable plugins just like portlets.

59.Explain Ext plugins?

Ext plugins provide the largest degree of flexibility in modifying the Liferay core, allowing you to replace essentially any class with a custom implementation. However, it is highly unlikely that an Ext plugin written for one version of Liferay will continue to work in the next version without modification. For this reason, Ext plugins are only recommended for cases in which an advanced customization is truly necessary, and there is no alternative. Make sure you are familiar with the Liferay core so your Ext plugin doesn’t negatively effect existing funcitonality. Even though Ext plugins are deployed as plugins, the server must be restarted for their customizations to take effect.

60.Explain Themes?

Themes let you dictate your site’s look and feel. You can specify color schemes and commonly used images. You’ll apply styling for UI elements such as fonts, links, navigation elements, page headers, and page footers, using a combination of CSS and Velocity or FreeMarker templates. With Liferay’s Alloy UI API framework, you use a consistent interface to common UI elements that make up your page. This makes it easy to create sites that respond well to the window widths of your users’ desktop, tablet, and mobile devices. Most importantly, themes let you focus on designing your site’s UI, while leaving its functionality to the portlets.

« Previous | 0 | 1 | 2 | 3 | 4 | Next »


copyright © 2014 - all rights riserved by javatechnologycenter.com