below...

Jan Bartel wrote:
Sorry for the late and rushed reply, but briefly:

David Jencks wrote:
<snip>

Web framework. Along with converting to use GeronimoMBeans, the functionality of the web deployer should be separated from the web container to match the architecture of the other deployer/container frameworks.


I will look into the GeronimoMBean for the web layer, however I am not convinced of the separation of the deployer from the web container. It suits the web layer that the container is the deployer because:

1. we want to be able to run multiple Jettys
2. we want to be able to run multiple Tomcats AND multiple Jettys (AND whatever else web container flavours).


Refactoring out the deployer functionality from the web container just introduces problems of the deployer working out which instance of a web container to deploy to.

For the other containers, eg ejb container, the deployer can be factored out because there is (AFAIK) a 1:1 relationship between deployer and container.

There has been some discussion of eventually supporting multiple EJB containers. It may be that in the future we may have a JOnAS based container deployed at the same time as an OpenEJB one. EARs could have something in the gDD to specify:

  + any EJB container.
  + a specific type of EJB container.
  + a specific instance of an EJB container.


This is similar to what Jan has been working towards with the webcontainer where a WAR, connector, session manager, etc. will be able to specify in it's gDD:

  + any web container.
  + a specific type of web container.
  + a specific intance of a web container.


Thus I think we need to solve the relationship between deployer and container based on more than just type for all deployers.

Currently Jan and I have done this by making the WebContainer a deployer,
so that if multiple webcontainers are present, each will be offerred a
WAR, connector, sessionmanager etc. and can decide if it will deploy it.

If we are to separate the deployer from container, then we will need
to add a way to specify a sub-type or specific instance of a container
to the gDD.  It would be best if this was done generically and not just
for the web containers.










Reply via email to