By default, before EJB deployment code is generated when you use the ejbdeploy command from the command line, validation is automatically run on the application.
[Error:]JAR_name(location):message_text
whereIt defaults to a line number if a line number is available as a result of .java source files residing in the archive. For example, if the line number is 101, the message would appear as follows:
[Error:] JAR_name(101): message_text
If no line number is available, a text description of the location is provided. A message on a method, for example, would be displayed like this:
[Error:] JAR_name(Method: fully_qualified_method_name, Class: fully_qualified_name_of_the_class_that_contains_the_method): message_text