API design and versioning using EJB
Posted
by
broschb
on Programmers
See other posts from Programmers
or by broschb
Published on 2012-04-26T04:04:57Z
Indexed on
2013/06/27
22:28 UTC
Read the original article
Hit count: 294
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?
© Programmers or respective owner