Thought I'd start a separate thread for this one... Should we maybe consider adding Spring support of some kind? An example from one of the apps I work on:
@EnableScheduling @EnableFeignClients @EnableConfigurationProperties @SpringBootApplication public class App { ... } Maybe have something along the lines of @CayenneApplication(model = "cayenne-project.xml", bindings = { Service.class, ServiceImpl.class }) (The bindings thing can be better...) Then maybe you could @Autowire a CayenneRuntime or something in your Spring classes to create new contexts, etc. I haven't thought about this too much, just throwing it out there for consideration and discussion. Thanks, mrg