On Monday 15 March 2004 16:51, Stephen McConnell wrote:
> Niclas Hedhman wrote:
> > On Monday 15 March 2004 16:23, Daniel Frey wrote:
> >>Thanks Alex for the example. Nice code! I see there that the main frame
> >> is generated within the execute method, an approach that I was taking,
> >> but was not sure about.
> >
> > Since I know my own agenda, I recommend that you use the Startable
> > interface instead... I think there will be consensus to remove Executable
> > in Framework 5.0, since the Startable can do the same job.
>
> I think this subject will raise a bit of debate. Startable is a
> non-blocking operation whereas Executable is in-line execution. As
> such, you can correlated Initializable and Executable much more closely
> that Executable and Startable.
Not sure what you mean by "non-blocking", since there are no differences
between the two in Merlin. Both will result in a activation timeout if not
returning.
The only difference, AFAICT, is that the component author need to replace
public void execute()
with
public void stop() { }
public void start()
IMO, a reasonable request for an upgrade of MAJOR version.
Niclas
--
+---------//-------------------+
| http://www.bali.ac |
| http://niclas.hedhman.org |
+------//----------------------+
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]