------ Generating an ejb client ------ Stephane Nicoll Pete Marvin King ------ 15 July 2006 ------ Generating an ejb client Normally a thick-client application would only need the stubs and utility classes of the ejb project. The ejb plugin is capable of generating an ejb jar for client use. To generate the ejb-client jar, you need to set <<>> to <<>> in the plugin's configuration: +--------+ [...] [...] org.apache.maven.plugins maven-ejb-plugin true [...] [...] +---------+ * Client inclusions and exclusions The content of the ejb-client archive can also be customized using inclusions and exclusions. ** Default Exclusions: *<<<\*\*/\*Bean.class>>> *<<<\*\*/\*CMP.class>>> *<<<\*\*/\*Session.class>>> *<<<\*\*/package.html>>> [] To customize this, use <<>> and <<>> element: +--------+ [...] [...] org.apache.maven.plugins maven-ejb-plugin com/foo/bar/** com/foo/acme/** com/example/* com/example/* com/jack/**/sparrow [...] [...] +---------+ <>