[JBossWS] - Re: JBoss WS-Eventing vs JMS-Topic
by sbutt
Sorry for the type in my previous message, from JMS-Notification i meant JMS-Topic framework.
"sbutt" wrote : Hi there,
| I'm planning to implement a data-mining/analysis application (using WS-Eventing framework), which would get some data from a number of third party providers and analyse it.
|
| I'm assuming my analysis application would be an Event Consumer (sink) WS-Client, which would subscribe to Event Producer(source), responsible for third party data providers? Do you think my understanding is correct at this stage?
|
| Actually, my scenario is that I have a number of clients to whom we're sending some requests and in return getting some response. So in nut-shell what i'm looking for is a kind of analysis application, through which I can monitor what was sent to which client and what I got in response(success, error, warning etc etc).
|
| So do you think that with the help of WS-Eventing framework I can take care of the above scenario?
|
| Secondly, I have also read about JMS-Notification framework similarly based upon Producer-Subscriber design pattern. So can anybody suggest, which one is more robust and beneficial over the other?
|
| One good reason I can think about WS-Eventing framework is that the communication is going to be in the form of SOAP, so Event-Consumer endpoint can be implemented in any language be it php, c#, asp etc etc.
|
| In-case of JMS-Notification, it is going to be Java dependent. Is this assumption true and what other reasons there can be to give preference to WS-Eventing over JMS-Notification?
|
| Thanks.
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4250120#4250120
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4250120
16 years, 10 months
[JBossWS] - JBoss WS-Eventing vs JMS-Topic
by sbutt
Hi there,
I'm planning to implement a data-mining/analysis application (using WS-Eventing framework), which would get some data from a number of third party providers and analyse it.
I'm assuming my analysis application would be an Event Consumer (sink) WS-Client, which would subscribe to Event Producer(source), responsible for third party data providers? Do you think my understanding is correct at this stage?
Actually, my scenario is that I have a number of clients to whom we're sending some requests and in return getting some response. So in nut-shell what i'm looking for is a kind of analysis application, through which I can monitor what was sent to which client and what I got in response(success, error, warning etc etc).
So do you think that with the help of WS-Eventing framework I can take care of the above scenario?
Secondly, I have also read about JMS-Notification framework similarly based upon Producer-Subscriber design pattern. So can anybody suggest, which one is more robust and beneficial over the other?
One good reason I can think about WS-Eventing framework is that the communication is going to be in the form of SOAP, so Event-Consumer endpoint can be implemented in any language be it php, c#, asp etc etc.
In-case of JMS-Notification, it is going to be Java dependent. Is this assumption true and what other reasons there can be to give preference to WS-Eventing over JMS-Notification?
Thanks.
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4250117#4250117
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4250117
16 years, 10 months
[JBoss jBPM] - Re: Passing objects through the workflow
by mmusaji
I am creating a variable and starting the process by providing these variables on startup.
| MyObject myObject = new MyObject();
| myObject.setName("a name to set");
|
| variables.put("myObj", myObject);
|
| ProcessInstance processInstance = executionService.startProcessInstanceByKey("process", variables);
|
The workflow calls the class which implements the ActivityBehaviour interface.
| <custom name="validate" class="org.tlg.workflow.AlterObject" exp="#{anObj}">
| <transition g="-27,-18" name="" to="end"/>
| </custom>
|
Now unfortunately this is where I become stuck. In AlterObject class I cast the object back and amend details.
| MyObject myObject= (MyObject )execution.getVariable("anObj");
| myObject.setName("A different name"); //name should change
| execution.setVariable("myObj", myObject);
|
Going back to my Junit I want to ensure them changes have taken effect. If I use the processInstanceId that kicked off the workflow the process has ended already, and if I use the existing hashmap to get the variable I have just set, I get the old value set in the object.
Is my workflow implementation correct for what I am trying to do?
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4250116#4250116
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4250116
16 years, 10 months
[Installation, Configuration & DEPLOYMENT] - Error raised when deploying application
by Sri_obs
Hi guys,
I am trying to deploy a EJB application in JBoss 5.1.0 GA application server and i get the following error:
**********************ERROR*************************
13:55:34,609 ERROR [ProfileDeployAction] Failed to add deployment: Demo.ear
org.jboss.deployers.spi.DeploymentException: Exception determining structure: AbstractVFSDeployment(Demo.ear)
at org.jboss.deployers.spi.DeploymentException.rethrowAsDeploymentException(DeploymentException.java:49)
at org.jboss.deployers.structure.spi.helpers.AbstractStructuralDeployers.determineStructure(AbstractStructuralDeployers.java:85)
at org.jboss.deployers.plugins.main.MainDeployerImpl.determineStructure(MainDeployerImpl.java:1004)
at org.jboss.deployers.plugins.main.MainDeployerImpl.determineDeploymentContext(MainDeployerImpl.java:440)
at org.jboss.deployers.plugins.main.MainDeployerImpl.addDeployment(MainDeployerImpl.java:390)
at org.jboss.deployers.plugins.main.MainDeployerImpl.addDeployment(MainDeployerImpl.java:300)
at org.jboss.system.server.profileservice.repository.MainDeployerAdapter.addDeployment(MainDeployerAdapter.java:86)
at org.jboss.system.server.profileservice.repository.ProfileDeployAction.install(ProfileDeployAction.java:61)
at org.jboss.system.server.profileservice.repository.AbstractProfileAction.install(AbstractProfileAction.java:53)
at org.jboss.system.server.profileservice.repository.AbstractProfileService.install(AbstractProfileService.java:361)
at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1631)
at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082)
at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)
at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
at org.jboss.system.server.profileservice.repository.AbstractProfileService.activateProfile(AbstractProfileService.java:306)
at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:271)
at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:461)
at org.jboss.Main.boot(Main.java:221)
at org.jboss.Main$1.run(Main.java:556)
at java.lang.Thread.run(Thread.java:595)
***********************************************************
I have successfully deployed it on JBoss 4.2.3 GA application server.
I appreciate if someone can let me know what exactly is the problem and suggest a solution for this.
Regards,
Sri.
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4250115#4250115
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4250115
16 years, 10 months