Is this right? Still not working. Tried with @ManagedBean(name="myuser") .
This is also not working.
@Path("simple")
@ManagedBean
public class SimpleResource {
@SuppressWarnings("unused")
@Context
private UriInfo context;
@PersistenceUnit
EntityManagerFactory emf;
Read in youtube video comments and tried with @Stateless and it's working.
Why not with @ManagedBean? Where am I missing?
Thanks,
Venu
--
[Message sent by forum member 'dearvenumadhav']
View Post: http://forums.java.net/node/790553