[jboss-as7-dev] Remote deployment through deployment API

Heiko Braun hbraun at redhat.com
Tue Jan 25 03:29:02 EST 2011


On Jan 24, 2011, at 3:24 PM, Brian Stansberry wrote:

> The current detyped client side API[1] has no such stream-based method.
> With what it exposes, users would have to create operation requests 
> using ModelNode, and either a) pass the content as a byte[] param in the 
> operation request or b) pass a String param that represents a URL from 
> which the server can read the content (URL must be accessible to the 
> server).
> 
> The simplest solution is just to add "byte[] addDeploymentContent(String 
> name, String runtimeName, InputStream stream)" back into the client side
> API.  That's what I'll do unless we reach a different decision in the 
> next day or two.


I am wondering how you distinguish different content types though this API?
Or do assume it's always a ZipInputStream? What reflects the file suffix? Is it something like
"runtimeName=*.war"?

Ike





More information about the jboss-as7-dev mailing list