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,

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;

	public void init() {
		Window mainWindow = new Window("Demo Application");
		Label label = new Label("Hello Vaadin user");

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!

for some pointers and code.

Thanks, Mathias!

I will try this!