Each time I need to run my application I need to run it from Netbeans, because it automatically runs Glassfish server and JavaDB, but Netbeans consumes lots of memory and I would like to run my webapp (JSP files) outside of Netbeans, how can I do this?
Open up asadmin.bat
file in your glass fish installation folder\bin.
When that loads type start-domain your_domain_name
You can then access glass fish server form the admin console.
Default is http://your_server_name:4848