javaee7-samples
javaee7-samples copied to clipboard
Java EE 7 Samples
A very common pattern is to use an EntityManager which is `@RequestScoped` with CDI. This is often referred to as the _entitymanager-per-request pattern_. Currently I am unable to make this...
This is the Simple chat Demo. But how to make the group chat in this case.
Trying to run a randomly picked test from cdi module on embedded wildfly, but it fails. Command: `mvn -f cdi/alternatives/pom.xml test -Pwildfly-embedded-arquillian -Dwildfly.version=10.1.0.Final` Error: ` "WFLYCTL0080: Failed services" => {"jboss.deployment.unit.\"test.war\".INSTALL"...
This contains two sets of fixes: - The SAMs no longer return SUCCESS with emtpy principals for mandatory authentication - The ServerAuthContext sets up two SAM module instances to satisfy...
https://github.com/javaee-samples/javaee7-samples/tree/master/websocket/endpoint-javatypes while practicing writing codes I found that programs have some issues like in this code we prepare primitive types server endpoint but when I run the program even if...