EDITED: after believing that this is a NetBeans 7.0 editor bug. It is still compiled and deployed.
I want to convert my web service, which is @WebService; @ Stateless implementation in @Singleton bean, but when I replace @WebService with @Singleton annotation ... I get the image below in the IDE editor

Of course, when I do something stupid, both with @WebService and @Stateless, and with deployment in a glass shawl, I get:
serious error: annotation processing failed for ...
below is a link (there is more, but now I'm limited to two links), which led me to believe that Singleton beans can be used the way I try to use them.
http://download.oracle.com/javaee/6/tutorial/doc/gipjg.html
"Singleton session beans offers similar functionality for a session without beans state, but differs from them in that there is only one single-line bean session for each application, unlike a session pool without beans state, any of which can respond to a client request. As a session without beans state, singleton session beans can implement web service endpoints. "
This link may mean that there is a bug in the compiler that has been fixed in the jboss environment. I'm not sure if this problem is related, although I would like to hear what experienced users think.;)
https://issues.jboss.org/browse/EJBTHREE-2161
Here are derived from glass 3
INFO: Closing monitoring monitoring Metro: AMX: p = / month / server-mon [Server], type = WSEndpoint, name = soco.ws.bb.bearBearWS-BearBearImplPort INFO: portable JNDI names for EJB StateBean: [Java: global / BearBearService / StateBean soco.ws.bb.StateBean, java: global / BearBearService / StateBean] INFO: Metro monitoring username successfully set: AMX: p = / month / server-mon [Server], type = WSEndpoint, name = soco .ws.bb.bearBearWS-BearBearImplPort WARNING: The org.glassfish.webservices.JAXWSContainer@249ef1e container does not support the class com.sun.xml.ws.api.server.Module INFO: Portable JNDI names for EJB BearBearImpl: [Java: global / BearBearService / BearBearImpl soco. ws.bb.BearBearWS, java: global / BearBearService / BearBearImpl] INFO: WS00019: EJB deploy endpoint ut
Here derived from glassfish 3.0.1
INFO: Metro monitoring rooname successfully configured to: amx: pp = / mon / server-mon [server], type = WSEndpoint, name = AppleImplService-AppleImplPort WARNING: The container org.glassfish.webservices.JAXWSContainer@191f81e does not support the class com.sun.xml.ws .api.server.Module INFO: portable JNDI names for EJB AppleImpl "[Java: global / AppleService / AppleImpl com.ws.srv.MyService, Java: global / AppleService / AppleImpl] INFO: WS00019: deployed AppleService EJB endpoint listening address http: // localhost: 8080 / AppleImplService / AppleImpl INFO: AppleService was successfully deployed in 438 milliseconds