Yes, primitives are allowed as both parameters and return values for both local and remote business
methods.
The EJB specification does not define Singletons. Using them can be tricky within Java EE since
their behavior is tightly coupled to the classloader hierarchy.In addition, accessing static, mutable
state is not portable within EJB.