Hi Sebastian,
That’s a great idea. But there’s one thing I worry when start/stop node. I want to pause all incoming request that call the node’s services, continue processing all current requests before stop a node. After start the node, it releases the pause automatically. Can you share your knowledge to solve it? Best regards Binh, Nguyen Thanh From: Millies, Sebastian [mailto:sebastian.mill...@softwareag.com] Sent: Wednesday, September 12, 2012 2:27 PM To: dev@tuscany.apache.org Subject: RE: HOW TO: Hot deploy SCA service withou restart app server it’s quite easy using the Tuscany node API. I expose the start/stop methods in an MBean interface and restart my nodes using JConsole. -- Sebastian From: Raymond Feng [mailto:enjoyj...@gmail.com] Sent: Wednesday, September 12, 2012 7:20 AM To: dev@tuscany.apache.org Cc: bin...@viettel.com.vn Subject: Re: HOW TO: Hot deploy SCA service withou restart app server At this point, a restart is required even the change only happens in the composite file as the start/stop is tied to web app context listener or servlet filter. Programmatically, you can start/stop a Tuscany node though. So you can potentially make the lifecycle of a composite application more dynamic. We did that for the OSGi enterprise services implementation based on Tuscany/SCA. Thanks, Raymond On Sep 11, 2012, at 8:51 PM, Makiet wrote: Hi, I have some interfaces and java classes, and a composite file to expose a part of those interfaces as services. One day, I want to expose one more service based on an existing interface. I mean no code change needed, only modify the composite file (I guessed). How can I achieve that without restart my app server? Best regards Binh, Nguyen Thanh IDS Scheer Consulting GmbH Geschäftsführer/Managing Directors: Michael Rehm, Ivo Totev Sitz/Registered office: Altenkesseler Straße 17, 66115 Saarbrücken, Germany - Registergericht/Commercial register: Saarbrücken HRB 19681 <http://www.ids-scheer-consulting.com> http://www.ids-scheer-consulting.com