i have created two applications in grails under single database now i want to use single table in both applications eg. from one application admin will create the user login credentials and from other application user should login using the same table. How can i solve this problem??
Asked
Active
Viewed 31 times
2 Answers
1
Domain class must be shared in both applications to achieve that and be able to use GORM. You can create plugin with common domain classes and use it in both applications. We have it working in both Grails 2.x and 3.x

practical programmer
- 1,604
- 10
- 15
0
Just use the same database configuration for both applications.
And if you want to run both at the same time, just run them in different ports
For more information see this post