On Jun 3, 2008, at 6:59 PM, David Blevins wrote:
Possibly going totally off into crazy-land, we could expose other
apis in this JNDI-RESTful way.
context.bind("<some-standard-prefix>/deploy", myFile);
Very interesting.
context.bind("<some-standard-prefix>/undeploy", myFile);
If this is rest-like wouldn't we use unbind?
If we ever get support for manipulating containers or resources at
runtime, we could even do:
context.bind("<some-standard-prefix>/system/<id>.<property>",
<value>);
As in:
context.bind("<some-standard-prefix>/system/myContainer.PoolSize",
100);
---
We could also support querying in this sort of JNDI-RESTful way.
Say for example:
Integer poolSize = (Integer) context.lookup("<some-standard-prefix>/
system/myContainer.PoolSize");
---
Certainly, interesting.
Definitely.
-dain