[Design of JBoss Remoting, Unified Invokers] - Re: Transport Use Cases
by jason.greene@jboss.com
"ron.sigal(a)jboss.com" wrote : The use of Remoting by JBossWS is a counterexample, since they use a Remoting client without a Remoting server, but I can't say much more than that, not being very familiar with their code.
|
JBossWS uses Remoting solely for basic client side http transport functionality. SOAP marshalling is implemented in JBossWS using a custom remoting marshaller.
The server side component of JBossWS is currently just a servlet, which is needed for container integration, however, it was also desired for remoting to provide a lightweight standalone http server API. Tom did a prototype awhile back using an embedded slimed down version of tomcat, but it would also be a good idea to reuse any VM provided http server, the sun vm includes one, for example. This is obviously less important than the main and more prevalent use cases of remoting, but I thought I would mention it nonetheless.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4087303#4087303
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4087303
18 years, 6 months
[Design of POJO Server] - Re: ManagedOperation aspects for the ProfileService.Manageme
by scott.stark@jboss.org
"alesj" wrote :
| Eh silly me, didn't even think for a second :-(, there are ManagedProperties for that kind of stuff. :-)
|
| How do you currently invoke those?
| Since I think they should be invoked the same way as ManagedOperations - over the KernelBus.
| That's why we introduced AttributeDispatchContext.
The properties are updated during the ManagementView.process call based on what updateComponent calls have been made. These currently just map back to the deployemnt attachment. For those properties with a ViewUse.RUNTIME setting:
| public enum ViewUse
| {
| /** A read-write property used for creating/updating a config */
| CONFIGURATION,
| /** A read-only type of property */ (this comment is wrong, its an extension of CONFIGURATION that has a runtime component the property change should be dispatched to)
| RUNTIME,
| /** A read-only type of property that provides runtime stats */
| STATISTIC
| }
|
we also need to send the change to the runtime component.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4087293#4087293
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4087293
18 years, 6 months