glassfish-3

How to configure Glassfish 3.1 to host a web application


Does anyone know how to configure glassfish 3.1 to host a web application? I have a web app deployed in my glassfish server which i want to access from the internet. I do not want to install and configure a web server/load balancer.

Any suggestions?

Thanks


Solution

  • If you can't see the server you deploy Glassfish to from the Internet, you can't see your app.

    I doubt that you want to expose your app server directly to the Internet. Why don't you want to use a web server? Usually the web server is put in a DMZ and exposed to the Internet; it relays requests into the app server.

    None of this has anything to do with Glassfish. It's about what you do with your servers and configuration.