Can a primitive data type be specified as a method parameter, in the deployment descriptor?

Alessandro A. Garbagnati

There are no specific restriction for using Java primitive types in the <method-params> tag in the Deployment descriptor.
The EJB 2.0 specifications, describe the <method-params> by saying: "[...] are the fully-qualified Java types of the method’s input parameters [...]".
In addition there are few examples where the types used are both classes (i.e. java.lang.String) or simple primitives: