[jboss-dev-forums] [JBoss AS7 Development] - Format of a Detyped Operation Request

Brian Stansberry do-not-reply at jboss.com
Fri Jan 14 11:58:41 EST 2011


Brian Stansberry [http://community.jboss.org/people/bstansberry%40jboss.com] commented on the document

"Format of a Detyped Operation Request"

To view all comments on this document, visit: http://community.jboss.org/docs/DOC-16336#comment-5221

--------------------------------------------------
I've gotten suggestions for "op" and "addr" as well.

There's a couple factors that I think are important:

1) We're using a flat structure for the request, which makes it easier to write; i.e. no "parameters" level. So, these become reserved words; i.e. can't be used as the name of a parameter.

2) We want it to be easy to create (i.e. type) requests, so I've shied away from real long names. Perhaps this isn't so important though. If people are creating requests using jboss-dmr, they'll likely use a constant or some utility and won't be typing "operation-target". Same with people using REST. And with the CLI, we can probably eliminate most of the need to type "op" and "op-addr" in requests.

Telnet? Hmm. We need to secure it. Right now it's a binary protocol, but it should be easy enough to develop non-Java clients for it.
--------------------------------------------------

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-dev-forums/attachments/20110114/116fa73e/attachment.html 


More information about the jboss-dev-forums mailing list