From portal-commits at lists.jboss.org Wed Feb 6 02:59:21 2008 Content-Type: multipart/mixed; boundary="===============4325225625851399836==" MIME-Version: 1.0 From: portal-commits at lists.jboss.org To: portal-commits at lists.jboss.org Subject: [portal-commits] JBoss Portal SVN: r9797 - docs/branches/JBoss_Portal_Branch_2_6/referenceGuide/en/modules. Date: Wed, 06 Feb 2008 02:55:21 -0500 Message-ID: --===============4325225625851399836== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: mmcallis Date: 2008-02-06 02:55:21 -0500 (Wed, 06 Feb 2008) New Revision: 9797 Modified: docs/branches/JBoss_Portal_Branch_2_6/referenceGuide/en/modules/configur= ation.xml Log: minor corrections to my revision: 3.6. Disabling Dynamic Proxy Un-wrapping Modified: docs/branches/JBoss_Portal_Branch_2_6/referenceGuide/en/modules/c= onfiguration.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- docs/branches/JBoss_Portal_Branch_2_6/referenceGuide/en/modules/configu= ration.xml 2008-02-06 07:04:41 UTC (rev 9796) +++ docs/branches/JBoss_Portal_Branch_2_6/referenceGuide/en/modules/configu= ration.xml 2008-02-06 07:55:21 UTC (rev 9797) @@ -262,19 +262,23 @@ Disabling Dynamic Proxy Un-wrapping - JBoss Portal uses the JBoss Microkernel for the service inf= rastructure. The JBoss Microkernel provides injection of services into othe= r services, also known as wiring. It is only possible to inject - dynamic proxies that talk to the MBeanServer, due to the Microker= nel being JMX based. The overhead - at runtime is minimal since the Microkernel implementation is hig= hly optimized; however, when it is used - with Java 5, a noticeable bottleneck appears due to the fact that= the implementation - of the JMX API classes, javax.management.*, = provided by the Java Platform, performs synchronization. This does not occu= r under JDK 1.4 since those classes are implemented by JBoss MX. + JBoss Portal uses the JBoss Microkernel for the service infras= tructure. The JBoss Microkernel provides injection of services into other s= ervices, otherwise known as wiring. Due to the Microkernel being JMX based,= tt is only possible to inject dynamic proxies that talk to the MBeanServer= . The overhead at runtime is minimal since the Microkernel implementation i= s highly optimized; however, when it is used with Java 5, a noticeable bott= leneck appears due to the fact that the implementation of the JMX API class= es, javax.management.*, provided by the Java Platform,= performs synchronization. This does not occur under JDK 1.4 since those cl= asses are implemented by JBoss MX. - JBoss Portal services use a special kind of Model MBean called JBossServiceModelMBean, which allows the un-wrapping of inject= ed dynamic proxies, and replaces them with real plain old java object (POJO= ) services. This allows the removal of the bottleneck with Java 5, and also= provides a performance boost on JDK 1.4. By default this feature is enable= d, but it is possible to disabled is using the following command: + JBoss Portal services use a special kind of Model MBean called JBossServiceModelMBean, which allows the un-wrapping of inject= ed dynamic proxies, and replaces them with real plain old java object (POJO= ) services. This allows the removal of the bottleneck with Java 5, and also= provides a performance boost on JDK 1.4. By default this feature is enable= d, but it is possible to disable. To do this on Linux systems, change into = the $JBOSS_HOME/bin/ directory and run the following c= ommand: - + +./run.sh -Dportal.kernel.no_proxies=3Dfalse + + On Microsoft Windows systems, run the following command: + + + +run.bat -Dportal.kernel.no_proxies=3Dfalse + + --===============4325225625851399836==--