package org.wildfly.swarm.ejb;

import javax.annotation.PostConstruct;
import javax.ejb.EJB;
import javax.ejb.Singleton;
import javax.ejb.Stateless;

/**
 * @author Bob McWhirter
 */
@Singleton
public class MySingletonBean implements MySingleton {

    @PostConstruct
    public void postConstruct() {
        System.err.println( "constructed" );
    }

    @Override
    public void sayHowdy() {
        System.err.println( "howdy!" );
    }
}

@@ -85,67 +85,17 @@
 ejb.
-EJB;%0Aimport javax.ejb.Singleton;%0Aimport javax.ejb.Stateless
+Singleton
 ;%0A%0A/

Remove extra imports.