Important Notice - Forums is archived
To simplify things and help our users to be more productive, we have archived the current forum and focus our efforts on helping developers on Stack Overflow. You can post new questions on Stack Overflow or join our Discord channel.

Vaadin lets you build secure, UX-first PWAs entirely in Java.
Free ebook & tutorial.
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!