I'm just starting Grails and coming from a background in
JSF and
Java EE. . My environment is Netbeans 8
IDE, server Glassfish 4. Basically I'm trying to understand how easy it is to integrate a Grails app into an existing
JEE app so that the Grails is deployed on the GF server and uses the same security authentication.
I decided to try Grails mostly because I'm looking for a framework that helps with prototyping and RAD. I followed SOME of the excellent Grails documentation and created my first app. From the documentation and online sources I'm not really seeing how Grails can be integrated into a JEE app, so thought I'd post some questions here.
1) Grails is bundled with Jetty but I can't find any option in NB to deploy the app to Glassfish instead of Jetty. Is this possible? Should it be done from the command line?
2) Is it possible to simply import a Grails app into a JEE app or include it as part of a separate web app so the pages from Grails are subject to the same security realm as the JEE app?
Please excuse my ignorance on Grails as I've only been with the framework for a couple of days and thanks in advance for any help or advice.