I'm creating rest services with Java (Jersey).
This service tends to grow and evolve, and may undergo changes in existing routines, so I believe the best route would be to create production versions so clients do not break with the changes.
Currently I deploy the system in Tomcat, being access through an example URL:
http://www.meudominio.com.br:8180/minhaApi/recurso
I think the ideal would be something like:
http://www.meudominio.com.br:8180/minhaApi/v1/recurso
http://www.meudominio.com.br:8180/minhaApi/v2/recurso
How to do this?