[jboss-dev-forums] [Design of POJO Server] - Re: Deployment through the ProfileService api

charles.crouch@jboss.com do-not-reply at jboss.com
Thu Jan 4 16:14:13 EST 2007


"scott.stark at jboss.org" wrote : 
  | Correct. However, for the initial tests I expect that the base deployment exists, so the way to add a deployment to a profile is:
  | 
  | 
  |   |       URL deploymentURL = ...
  |   |       VFS vfs = VFS.getVFS(deploymentURL);
  |   |       VirtualFile deploymentVF = vfs.getRoot();
  |   |       AbstractDeploymentContext context = new AbstractDeploymentContext(deploymentVF);
  |   |       ps.addDeployment(context);
  |   | 
  | 

I'm confused about this last point.
1) What do you mean a "base" deployment? What is the "base" deployment in the scenario of wanting to deploy a brand new datasource?
2) In the pseudo code, deploymentURL presumably refers to this "base" deployment. Where would one obtain the deploymentURL from in the first place?

Thanks


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3998066#3998066

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3998066



More information about the jboss-dev-forums mailing list