I am using "vfabric-tc-server-standard-2.8.1".
I created instance "project" in vFabric. Like
I have create two web application "Demo1" and "Demo2".
I deployed both "Demo1.war" & "Demo2.war" into that 'project'
In my Demo2 project have simple jsp page. That page contains 2 buttons "Stop Demo1 Apps" and "Start Demo1 Apps".
I need to Stop Demo1 application, when i click "Stop Demo1 Apps". Then
I need to Start Demo1 application, when i click "Start Demo1 Apps"
I am new one for vFabric.
Is possible to start and stop the specific application in vFabric using java code.
vFabric is actually a VMWare product. VMWare does own SpringSource. So in some ways it is related to Spring. But you can use vFabric products and not have anything Spring in it.
Personally, I think you will be better supported asking this question to the vFabric team at www.vmware.com
As far as your question, I am not sure what you mean.
vFabric has Hyperic, where you can deploy and undeploy apps that Hyperic is managing and monitoring.
With it they have a package that has scripts to run tcServer stuff through Hyperic, like writing code that will deploy and undeploy applications. I personally have written a Groovy script that deploys apps to tcServer instances, but you have to have Hyperic to use it, because you create a Group of servers in Hyperic and the code uses the group name and the Hyperic database to lookup the servers then it can deploy.
So, yes it is possible, but you have to have Hyperic, as far as I know.