[jboss-as7-dev] Standalone Server: Domain Model
Heiko W.Rupp
hrupp at redhat.com
Wed Jan 12 05:52:03 EST 2011
Am 11.01.2011 um 11:44 schrieb Heiko Braun:
> Creating to API's doesn't make sense at all. Instead we should try to collapse the concepts when used standalone. I.e. by referencing a default server group "standalone".
+1 - I thought we had this already in Antwerp?
For the standalone case just use some "defaults" for domain and profile. Parts of the tree that don't make sense,
will return "an empty collection" which the API user would not need to display.
And if standalone as some API methods enabled that aren't for domain mode, just expose them
in both modes and return some "wrong mode" exception if they are called in wrong mode.
Aside from admin console/RHQ, other users will also like to have only one api to code against.
Especially when writing CLI scripts against the standalone mode (don't want to fire n instances) and
then later want to port them over to a domain.
Heiko (pilhuhn)
--
Reg. Adresse: Red Hat GmbH, Otto-Hahn-Strasse 20, 85609 Dornach bei München
Handelsregister: Amtsgericht München HRB 153243
Geschaeftsführer: Brendan Lane, Charlie Peters, Michael Cunningham, Charles Cachera
More information about the jboss-as7-dev
mailing list