Posts

Showing posts with the label DEMOS

Struts2, Spring2 JPA & AJAX

On this tutorial we will demonstrate how to setup Struts 2 in Eclipse, and make it work with Spring, Java Persistence API (using Hibernate) and Struts 2 Ajax tags... http://struts.apache.org/2.0.14/docs/struts-2-spring-2-jpa-ajax.html

Integreting Spring Beans with JMX

.. and manage via http://<server>:8080(or web port)/jmx-console: <beans>   <!-- this bean must not be lazily initialized if the exporting is to happen -->   <bean id="exporter" class="org.springframework.jmx.export.MBeanExporter" lazy-init="false">     <property name="beans">       <map>         <entry key="bean:name=testBean1" value-ref="testBean"/>       </map>     </property>   </bean>   <bean id="testBean" class="org.springframework.jmx.JmxTestBean">     <property name="name" value="TEST"/>     <property name="age" value="100"/>   </bean> </beans>