• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Integrating Grails in JavaEE Enterprise App

 
Ranch Hand
Posts: 222
Netbeans IDE MySQL Database Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
reply
    Bookmark Topic Watch Topic
  • New Topic