[jboss-dev-forums] [JBoss AS7 Development] - Standalone client API

Kabir Khan do-not-reply at jboss.com
Tue Oct 19 15:20:53 EDT 2010


Kabir Khan [http://community.jboss.org/people/kabir.khan%40jboss.com] created the discussion

"Standalone client API"

To view the discussion, visit: http://community.jboss.org/message/567278#567278

--------------------------------------------------------------
> [19:17] bstansberry: ok. emuckenhuber, might as well listen in on this chat with kkhan. this may very well be a task that can be divided up
> 
> [19:18] bstansberry: kkhan, emuckenhuber: there are a number of pieces
> 
> [19:19] bstansberry: first, a standalone server needs to be able to open a socket for management requests
> 
> [19:19] bstansberry: my thinking is to re-use the <management/> element from the domain.xml config to configure that socket
> 
> [19:20] kkhan: What exactly is <management/> in domain?
> 
> [19:20] kkhan: I mean I've seen it, but don't know exactly what it is for
> 
> [19:20] bstansberry: sorry, in host.xml
> 
> [19:21] bstansberry: it basically configures the socket the SM uses for listening for requests from the DC
> 
> [19:22] kkhan: ok
> 
> [19:23] bstansberry: in the domain-client module there is a DomainClientImpl class that connects to the DC to send requests using a protocol
> 
> [19:24] bstansberry: we'll need a similar set of classes that send requests to a standalone server using a similar protocol
> 
> [19:24] kkhan: in standalone-client or something
> 
> [19:25] bstansberry: yeah, we need to discuss that part in a sec, but basically, yes
> 
> [19:26] bstansberry: in the server-manager module, the o.j.a.server.manager.management package there are some classes that show how the DC handles requests that come in on its management socket
> 
> [19:26] bstansberry: a standalone server would want to use something very similar
> 
> [19:28] bstansberry: kkhan: I'm thinking for M1 at least, let's just keep it simple. Copy and paste stuff and get this working; don't worry too much about code duplication between this standalone case and the DC case
> 
> [19:28] kkhan: ok, makes sense
> 
> [19:29] dmlloyd: ServerController is meant to be the standalone equivalent of DomainController
> 
> [19:29] dmlloyd: someday
> 
> [19:29] bstansberry: ok
> 
> [19:31] kkhan: bstansberry: I think that has given me enough info to start looking at things
> 
> [19:32] bstansberry: cool
> [19:17] bstansberry: ok. emuckenhuber, might as well listen in on this chat with kkhan. this may very well be a task that can be divided up
> [19:18] bstansberry: kkhan, emuckenhuber: there are a number of pieces
> [19:19] bstansberry: first, a standalone server needs to be able to open a socket for management requests
> [19:19] bstansberry: my thinking is to re-use the <management/> element from the domain.xml config to configure that socket
> [19:20] kkhan: What exactly is <management/> in domain?
> [19:20] kkhan: I mean I've seen it, but don't know exactly what it is for
> [19:20] bstansberry: sorry, in host.xml
> [19:21] bstansberry: it basically configures the socket the SM uses for listening for requests from the DC
> [19:22] kkhan: ok
> [19:23] bstansberry: in the domain-client module there is a DomainClientImpl class that connects to the DC to send requests using a protocol
> [19:24] bstansberry: we'll need a similar set of classes that send requests to a standalone server using a similar protocol
> [19:24] kkhan: in standalone-client or something
> [19:25] bstansberry: yeah, we need to discuss that part in a sec, but basically, yes
> [19:26] bstansberry: in the server-manager module, the o.j.a.server.manager.management package there are some classes that show how the DC handles requests that come in on its management socket
> [19:26] bstansberry: a standalone server would want to use something very similar
> [19:28] bstansberry: kkhan: I'm thinking for M1 at least, let's just keep it simple. Copy and paste stuff and get this working; don't worry too much about code duplication between this standalone case and the DC case
> [19:28] kkhan: ok, makes sense
> [19:29] dmlloyd: ServerController is meant to be the standalone equivalent of DomainController
> [19:29] dmlloyd: someday
> [19:29] bstansberry: ok
> [19:31] kkhan: bstansberry: I think that has given me enough info to start looking at things
> [19:32] bstansberry: cool
--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/567278#567278]

Start a new discussion in JBoss AS7 Development at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2225]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-dev-forums/attachments/20101019/91cbc60d/attachment.html 


More information about the jboss-dev-forums mailing list