BeenContainer with Maven project

Hi, I developped a program about BeenContainer to create a contactList like this tuto https://vaadin.com/tutorial (addressbook) and I have a problem because when u want run the app with jetty u can’t because u need to have a VaadinRequest and u can’t because the bean is like that

[code]
package com.bean;

import java.io.Serializable;
import java.util.Date;

import javax.servlet.annotation.WebServlet;

import com.vaadin.annotations.Theme;
import com.vaadin.annotations.VaadinServletConfiguration;
import com.vaadin.data.util.BeanContainer;
import com.vaadin.server.VaadinRequest;
import com.vaadin.server.VaadinServlet;
import com.vaadin.ui.Button;
import com.vaadin.ui.Table;
import com.vaadin.ui.UI;
import com.vaadin.ui.VerticalLayout;
import com.vaadin.ui.Button.ClickEvent;
import com.vaadin.ui.Button.ClickListener;

@Theme(“mytheme”)
@SuppressWarnings(“serial”)
public class ContactUI extends UI {

@WebServlet(value = "/*", asyncSupported = true)
@VaadinServletConfiguration(productionMode = false, ui = ContactUI.class, widgetset = "com.bean.AppWidgetSet")
public static class Servlet extends VaadinServlet {
}

Button addNewContactButton = new Button("Add New Contact");

public class Bean implements Serializable {
    
    private String id ;
    private String firstname;
    private String lastname;
    private Date dateofbirth;
    private String mobile;
    private String telephone;
    private String email;
    public String getId() {
        return id;
    }
    public void setId(String id) {
        this.id = id;
    }
    public String getFirstname() {
        return firstname;
    }
    public void setFirstname(String firstname) {
        this.firstname = firstname;
    }
    public String getLastname() {
        return lastname;
    }
    public void setLastname(String lastname) {
        this.lastname = lastname;
    }
    public Date getDateofbirth() {
        return dateofbirth;
    }
    public void setDateofbirth(Date dateofbirth) {
        this.dateofbirth = dateofbirth;
    }
    public String getMobile() {
        return mobile;
    }
    public void setMobile(String mobile) {
        this.mobile = mobile;
    }
    public String getTelephone() {
        return telephone;
    }
    public void setTelephone(String telephone) {
        this.telephone = telephone;
    }
    public String getEmail() {
        return email;
    }
    public void setEmail(String email) {
        this.email = email;
    }
    
    public Bean(String idval, String fname, String lname, String birthday, String mobile,
            String telephone, String string) {
        
    }
    

@SuppressWarnings("static-access")
void basic(VerticalLayout layout) {
    // Create a container for such beans with
    // strings as item IDs.
    BeanContainer<String, Bean> beans =
        new BeanContainer<String, Bean>(Bean.class);
    
    // Use the name property as the item ID of the bean
    beans.setBeanIdProperty("name");

    String[] fnames = { "Mike" , "Jetro", "Theo", "Luffy", "Ichigo", "Jim", "John", "Bastien", "Matteo", "Zoro", "Tendo", "Chitenda", "Naruto", "Rob" };
    String[] lnames = { "Franks", "Gibbs", "Clement", "Dmonkey", "Kurosaki","Caviezel", "Reese", "Dannepond", "Dreux", "Roronoa", "Nopain", "Eru", "Uzumaki", "Stark" };
    String[] mobilenum = { "06 00 11 22 33", "06 11 22 33 44", "06 22 33 44 55", "06 33 44 55 66", "06 44 55 66 77", "06 55 66 77 88", "06 66 77 88 99" };
    String[] telephonenum = { "01 00 11 22 33", "01 11 22 33 44", "01 22 33 44 55", "01 33 44 55 66", "01 44 55 66 77", "01 55 66 77 88", "01 66 77 88 99" };
    String[] birthday = { "01/01/1990", "01/01/1999", "15/09/1970", "36/02/1983", "31/03/1900", "30/06/1800", "30/08/1994", "27/07/1970","11/11/1987", "12/12/2012" };
    
    String idval = "0";
    idval = String.valueOf(Integer.parseInt(idval) + 1);
    
    // Add some beans to it
    beans.addBean(new Bean (idval, "name".valueOf(fnames.length*Math.random()), "name".valueOf(lnames.length*Math.random()),"name".valueOf(birthday.length*Math.random()),
            "name".valueOf(mobilenum.length*Math.random()),"name".valueOf(telephonenum.length*Math.random()),this.getFirstname()+"."+this.getLastname()+"@contact.app"));

 // Bind a table to it
    Table table = new Table("Beans of All Sorts", beans);
    layout.addComponent(table);
    
    }



}

@Override
protected void init(VaadinRequest request) {

    
}

}

[/code]So u can’t access to the Table wich contains the bean to view it in the browser. I hope that someone can help me, bye.

PS: sorry for my english :S