Search code examples
mavenejb

How to publish local and remote ejb api using maven


I have an ejb with stateless session bean. I have interfaces for each of the bean to be access or called remotely from another ejb from another machine. In invy, I remember we're using something like: publish-remote, publish-api. Can the same be done with maven?

Publish the interfaces in a separate jar, to be included in another project.

Thanks,
czetsuya


Solution

  • If you have separate maven projects which is the usual way to separate interface (api) and the implementation. Than of course you can deploy the interface and implementation separately.