Can you publish a Java web application to an instance of a running remote Tomcat/Glassfish or be it any J2EE app server from netbeans, similar to the way you publish a web application using VS? If yes, please provide the steps
A:
Yes you can. You have to define the server in the "Services" tab of Netbeans, and indicate in the project settings that you want to run on that server. Project settings are accessed by rightclicking the project in the the project pane, properties. The target server can be found in the "run" branch of the settings tree.
fvu
2009-11-09 11:38:16
This is possible if the server is a local installation. What if a server is up an running at a remote location and I need to publish my app on the remote instance?
Ajay
2009-11-09 13:43:59
This also works on remote servers.
fvu
2009-11-09 14:32:49
You just need to add the remote server as a remote server in netbeans.
Michael Wiles
2009-11-11 09:01:01
A:
That's at least possible with GlassFish v2. You have to have a local installation of GlassFish app server. Then, go to Services tab, right-click on Servers, click on Add Server:
In the launched wizard, select GlassFish v2, click Next, then select the option Register Remote Domain, click Next, enter the name of the remote host and admin port number.
Pascal Thivent
2010-02-27 19:20:13