API design and versioning using EJB
- by broschb
I have an API that is EJB based (i.e. there are remote interfaces defined) that most of the clients use. As the client base grows there are issues with updates to the API and forcing clients to have to update to the latest version and interface definition.
I would like to possibly look at having a couple versions of the API deployed at a time (i.e. have multiple EAR files deployed with different versions of the API) to support not forcing the clients to update as frequently. I am not concerned about the actual deployment of this, but instead am looking for thoughts and experiences that others have on using EJB's as an API client.
How do you support updating versions, are clients required to update?
Does anyone run multiple versions in a production environment? Are there pro's cons?
Any other experiences or thoughts on this approach, and having an EJB centric API?