Hi,

On 14 août 07, at 11:12, [EMAIL PROTECTED] wrote:
Although I've been tracking & admiring your work through your releases, snapshots, code, jira, trac, sites, docs, and the archives of this list, I've never posted here before. So I'll restrict this "hello nuxeo world" message to a highlevel theme.

I really like and agree with (at least 90% of) your architectural choices, and think you guys are doing a fine job (modulo how ambitious you have been for this cycle) following through with implementation as well. I am already recommending Nuxeo as an ECM *application*, and have high hopes for it as a high-level *platform*.
Thanks for your feedback. We're happy to read that.

But then, people don't post here *just* to say nice things, do they? :) So here is my top concern:

What are the plans for hot-deployment of Plugins (those which include EJB3s; not just web components) placed into the server/ default/deploy/nuxeo.ear/plugins directory after server startup?

Several places in the docs have statements that hot-deployment will be available on platforms that support it; and JBoss certainly is a platform that does. I have developed several plugins based on the Maven archetype you've provided (including some with EJB3 Entities, based on my previous SEAM work, and everything works great :)).... but... I have never seen any indication of even partial deployment except with a full server shutdown and startup.
There is two things here:

1. Hot Deploy support from JBoss

As far as I know, JBoss 4 only support to hotdeploy complete applications (in our case it would be nuxeo.ear). There is no easy way to support partial deployment of an application (what we would require).


2. Partial Deployment from Nuxeo

You can currently do partial deployment if you work with a multi- machine architecture (for example putting core/search/transform into one jboss and the rest of the platform into another one). With this, you only have a restart the instance you work on and it speed up a bit the restart. But that's definitely not what we would like to achieve.

I was initially quite excited about OSGi coming to JBoss, and I have found many hints that you are working toward hot-deployment of your almost-OSGi plugins... but nothing visible in JIRA, and I have no solid sense of where it fits in your priorities, or in relation to 5.1 GA.
It fits pretty high, as soon as we can do it for real.
The main problem is tracking service invocation (easy way) and dependencies between plugins so that when the platform need to reload one plugin, it also has to restart all dependent plugins and all plugins that might use classes from the first one. That's why hot redeploy is hard (hot deploy might actually work already) and needs to be carefully managed. Maybe with the JBoss 5 microkernel (and its OSGi) support this would be easier since the kernel might handle the dependency tracking to avoid ClassCast Exceptions when a class is reloaded from a plugin but an instance of this class is used by another plugin. Bogdan can detail more our plan for this.

We have to make some testing and study in this area. If you're interested in giving a hand, we can point you in the right direction. :-)

On the priority side, the focus of the next development iteration will be "development pleasure". So it will be in the top list of new features and tools. You might expect this feature to be ready the end of september and the end of october.


As a long-time JBoss developer, I can say that hot-deployment/hot- redeployment and the resulting rapid cycle times are key to the enjoyment and productivity I have had with JBoss over the past 7 years, and with SEAM over the past 2. Having already invested hundreds of hours into Nuxeo over the past 5 months, and withheavy coding commitments during the upcoming months, I sincerely hope the 5.1 GA will ship with hot-deployment.
The 5.1 GA won't, but this feature might only require to improve the runtime. So... there is chance that a new version of nuxeo runtime supporting this feature might be used to run the 5.1.GA when available. :-)



Thanks,

EB.

--
Éric Barroca - Ex. VP of Operations - +33 6 21 74 77 64
www.nuxeo.com - Nuxeo: Open Source ECM - www.nuxeo.org
Nuxeo EP 5: extensible, Java EE and standards based ECM Platform !


_______________________________________________
ECM mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm

Reply via email to