Developing Extensions

Hello everyone!

I wondered about how to develop extensions for my application. Is there an example
about how to use JPF together with vaadin or is there an easier approach
? The best solution would be to enable and disable the plugins on the fly.

Thanks in advance,
Heinz

Hello again,

maybe I should be more concrete: Let’s think about an Basic Application:

package com.example.demo;

import com.vaadin.Application;
import com.vaadin.ui.*;

public class DemoApplication extends Application {
	private static final long serialVersionUID = 1L;

	@Override
	public void init() {
		Window mainWindow = new Window("Demo Application");
		Label label = new Label("Hello Vaadin user");
		mainWindow.addComponent(label);
		setMainWindow(mainWindow);
	}
}

Now I want to load all *.jar-Files in a folder (e.g. WebContent/WEB-INF/plugins) and call a method of a class, that implements a special interface.

How could I do this?

Thanks in advance!

See
here
for some pointers and code.

Thanks, Mathias!

I will try this!