Java EE Service Formparam необязательно
public Response createUser(
@FormParam("username") String username,
@DefaultValue("a very secure password") @FormParam("password") String password
)
Zwazel