[Design of JBoss ESB] - Re: Registry Design
by arvinder
anonymous wrote :
| "arvinder" wrote : 1) The state of an endpoint service in the registry. This would be needed for clients and also reporting.
|
| If this was supported I'd expect it to be part of the EPR. Each Service can have multiple EPRs and the "state" of each could be different, right?
|
Yes this makes sense, although I would have thought that there would be only 1 Service Impl backing different EP's and so the state would be applicable to the service itself, rather than the EP fronting it. But I see your point.
anonymous wrote :
| "arvinder" wrote : 2) Each service should be categorised, either via a hardcoding of type under the registry, or a spi provided categorization. This may lead to signatures like searchByCategory etc.
|
| We were saying that this type of more advanced lookup might be part of a future release. JAXR has the ideas of Service "Classification" and "Concept" and I'd guess that these could be used as parameters to a lookup. In the mean time though, the client/user can manually filter the Service list returned from getServices by manually interpretting the Classification/Concept settings on each Service.
|
Ah ok!
anonymous wrote :
| "arvinder" wrote : 5) Aside from just services, will the registry hold dependant objects such as an XSD if there is say a validation service? Would this be classed as a ServiceResources and be grouped under the ServiceEntry such as ServiceEntry.getResources() ?
|
| Note really sure about this Arvinder. So does the client need access to the physical XSD, or does it simply request the service to perform validation "XYZ"?
|
Sorry my mistake. For a validation service that requires the client to pass in xml, the client would need to pass in a reference to an XSD aswell, that the xml must adhere to. So my point above is invalid.
What i think I was leaning to was, will we use the registry to hold objects other than Services, such as XSDs and XSLTs that are application resources that need to be accessed centrally? Thereby implying can a Service also be classed as an Application Resource ?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3968082#3968082
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3968082
18 years
[Design of JBoss ESB] - Re: Registry Design
by tfennelly
Thanks Arvinder.
"arvinder" wrote : 1) The state of an endpoint service in the registry. This would be needed for clients and also reporting.
If this was supported I'd expect it to be part of the EPR. Each Service can have multiple EPRs and the "state" of each could be different, right?
"arvinder" wrote : 2) Each service should be categorised, either via a hardcoding of type under the registry, or a spi provided categorization. This may lead to signatures like searchByCategory etc.
We were saying that this type of more advanced lookup might be part of a future release. JAXR has the ideas of Service "Classification" and "Concept" and I'd guess that these could be used as parameters to a lookup. In the mean time though, the client/user can manually filter the Service list returned from getServices by manually interpretting the Classification/Concept settings on each Service.
"arvinder" wrote : 5) Aside from just services, will the registry hold dependant objects such as an XSD if there is say a validation service? Would this be classed as a ServiceResources and be grouped under the ServiceEntry such as ServiceEntry.getResources() ?
Note really sure about this Arvinder. So does the client need access to the physical XSD, or does it simply request the service to perform validation "XYZ"?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3968075#3968075
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3968075
18 years
[Design of JBoss jBPM] - Re: web services question
by kukeltje
"tom.baeyens(a)jboss.com" wrote :
| So you would start with JSR 109: Web Services for Java EE, Version 1.2
| This relies on JAX-WS (next version of JAX-RPC) and JAXB 2.0.
|
Yes, can be generated by jboss-ws, maybe with as small 'wrapper' class
"tom.baeyens(a)jboss.com" wrote :
| I don't know these technologies. But my concern is: how easy or hard will it be to create new commands and expose them through that web service ?
| Depends on the signature of the commands, but in general not to hard. The initial configuration was tough, but adding new commands could be done in hours"tom.baeyens(a)jboss.com" wrote :
| I want to get a better understanding of the ins and outs going from development to deployment:
| * we need a J2EE 1.4 container
|
No, can run with jboss-ws in tomcat
"tom.baeyens(a)jboss.com" wrote :
| * we have to put @WebService in the CommandService SLSB ?
|
No, no SLSB is needed just the command objects, what you describe is JSR-181, WS for J2EE 1.5/EJB3
"tom.baeyens(a)jboss.com" wrote :
| * we have to generate the JAXB bindings from the command beans themselves ?
| This is what I want to try yes and then put this command object in the commandexecutor
"tom.baeyens(a)jboss.com" wrote : is it hard to customize ?
| Depends on what you want to customize. If you want new ws calls for which no commands exist it is more difficult. If we just use the JbpmContext and e.g. implement HQL in there it is not difficult.
"tom.baeyens(a)jboss.com" wrote :
| do you think that will be needed often or will the default name mappings be sufficient ?
| Depends on the amount of effort we want to put in there initially. I have a list from a customer that is limited, but usable for them"tom.baeyens(a)jboss.com" wrote :
| * anything else we need to do ?
| Not much afaik"tom.baeyens(a)jboss.com" wrote :
|
| You don't have to convince me yet... cause i just don't get it yet. One way to get more insights is if you just go ahead and implement the basic structure. So that we can have a look out how it works.
| I'll try to get an example up and running before the weekend is over since I'll be on Aruba the two weeks after that. I do not want to check it in yet though since I've made changes to the build scripts (there is a ws dir now) and some libs are required that are not in the repository yet (afaik). How can we communicate this?"tom.baeyens(a)jboss.com" wrote :
|
|
| Alex's opinion is always appreciated.
Agree
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3968071#3968071
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3968071
18 years