Reputation: 5331
I have two application written in playframework. I would like to join one to another. I have one database, and I would like to share my login classes between thems. Applications have difrent names used for classes, methods, variables.
How can I achive it? Should I create jar version and try to join them. Or Should I move code from one app to another with new package name like application name But what about shared views or main controller and configuration files
Please give me some advice.
Upvotes: 0
Views: 89
Reputation: 111
One project make as sub-project of another one. See this link:
https://www.playframework.com/documentation/2.1.x/SBTSubProjects
Upvotes: 1