JBoss.orgCommunity Documentation

eXoJCR User Guide

JCR Performance and Scalability


I. JCR Performance Tuning Guide
1. JCR Performance Tuning Guide
1.1. Introduction
1.2. JCR Performance and Scalability
1.2.1. Cluster configuration
1.2.2. JCR Clustered Performance
1.3. Performance Tuning Guide
1.3.1. JBoss AS Tuning
1.3.2. JCR Cache Tuning
1.3.3. Clustering
II. How to extend my GateIn instance?
2. Introduction
2.1. Overview
2.2. Motivations
3. Prerequisites
3.1. Remove all the hard coded portal container name (i.e. "portal")
3.2. Remove all the hard coded rest context name (i.e. "rest")
3.3. Remove all the hard coded realm name (i.e. "exo-domain")
3.4. Make your Http Filters compatible
3.5. Make your HttpServlets compatible
3.6. Make your HttpSessionListeners compatible
3.7. Use init tasks if you need a PortalContainer to initialize an Http Filter or an HttpServlet
3.8. Make your LoginModules compatible
3.9. Avoid static modifier on component dependency
3.10. Avoid component initialization based on component dependency in the constructor
4. FAQ
4.1. What has changed since the previous versions?
4.2. What is the main purpose of a portal extension?
4.3. What is the main purpose of the starter?
4.4. How a portal and a portal container are related?
4.5. How to define and register a PortalContainerDefinition?
4.6. How the platform interprets the dependency order defined into the PortalContainerDefinition?
4.7. How to change the ServletContext name, the realm name and/or the rest context name of my portal without using a PortalContainerDefinition?
4.7.1. On JBoss (tested on JBoss 5.1.0.GA)
4.7.2. On Tomcat (tested on Tomcat 6.0.20)
4.8. How to add new configuration file to a given portal from a war file?
4.9. How to create/define a portal extension?
4.10. How to deploy a portal extension?
4.11. How to create/define a new portal?
4.12. How to deploy a new portal?
4.13. How to import properly a configuration file using the prefix "war:"?
4.14. How to avoid duplicating configuration files just to rename a simple value?
4.15. How to add or change a Repository and/or a Workspace?
4.16. How to add new ResourceBundles to my portal?
4.17. How to overwrite existing ResourceBundles in my portal?
4.18. How to replace a groovy template of my portal?
4.19. How to add new Portal Configurations, Navigations, Pages or Portlet Preferences to my portal?
4.20. How to add new Http Filters to my portal without modifying the portal binary?
4.21. How to add new HttpSessionListeners and/or ServletContextListeners to my portal without modifying the portal binary?
4.22. How to add new HttpServlet to my portal without modifying the portal binary?
4.23. How to override or add a Context Parameter to my portal without modifying the portal binary?
4.24. Where can I found an example of how to extend my portal?
4.25. How to deploy the sample extension?
4.25.1. On JBoss (tested on JBoss 5.1.0.GA)
4.25.2. On Tomcat (tested on Tomcat 6.0.20)
4.26. Where can I found an example of how to create a new portal?
4.27. How to deploy the sample portal?
4.27.1. On JBoss (tested on JBoss 5.1.0.GA)
4.27.2. On Tomcat (tested on Tomcat 6.0.20)
4.28. I get "java.lang.IllegalStateException: No pre init tasks can be added to the portal container 'portal', because it has already been initialized." what can I do to fix it?
4.29. What has been done to allow GateIn extensions?
5. Recommendations
5.1. Don't ship your configuration files with your jar files?
5.2. Use a dedicated workspace/repository for your extension?
III. How to use AS Managed DataSource under JBoss AS
6. Configurations Steps
6.1. Declaring the datasources in the AS
6.2. Do not let eXo bind datasources explicitly