/* DO NOT EDIT: File is auto-generated */
package <%= service.data_module.ejb.service_package %>;

<%= description_javadoc_for(service, "") %>@javax.annotation.Generated( "Domgen" )
@SuppressWarnings( { "UnusedDeclaration", "JavaDoc" } )
@javax.ejb.Local
public interface <%= service.ejb.service_name %>
{
  String EJB_NAME = "<%= service.ejb.name %>";

<% service.methods.each do |method|
%><%= description_javadoc_for(method)
%>  <%= annotated_type(method.return_value, :ejb) %> <%= Domgen::Naming.camelize(method.name) %>(<%= method.parameters.collect{|p| "#{annotated_type(p, :ejb)} #{Domgen::Naming.camelize(p.name)}" }.join(', ') %>)<%=
    method.exceptions.empty? ? '' : "\n    throws #{method.exceptions.collect{|e| e.ee.qualified_name}.join(', ')}"
%>;

<% end %>}

/* DO NOT EDIT: File is auto-generated */
package <%= service.data_module.ejb.service_package %>;

<%= description_javadoc_for(service, "") %>@javax.annotation.Generated( "Domgen" )
@SuppressWarnings( { "UnusedDeclaration", "JavaDoc" } )
@javax.ejb.Local
public interface <%= service.ejb.service_name %>
{
  String EJB_NAME = "<%= service.ejb.qualified_service_name %>";

<% service.methods.each do |method|
%><%= description_javadoc_for(method)
%>  <%= annotated_type(method.return_value, :ejb) %> <%= Domgen::Naming.camelize(method.name) %>(<%= method.parameters.collect{|p| "#{annotated_type(p, :ejb)} #{Domgen::Naming.camelize(p.name)}" }.join(', ') %>)<%=
    method.exceptions.empty? ? '' : "\n    throws #{method.exceptions.collect{|e| e.ee.qualified_name}.join(', ')}"
%>;

<% end %>}

Use the classname of EJB_NAME ... seems to be a a more common convention
Use the classname of EJB_NAME ... seems to be a a more common convention
