GlassfishServer is not widely used in China. It is difficult to find a Chinese post on the Internet if you have any questions. You can search for many answers in English. One of my own development projects uses glassfishV3
To deploy the EJB application. The client uses wing to call the remote interface service. Many problems were encountered in the process, and finally the project was finally completed.
If you want your glassfish server to run on the internet, you must make relevant settings. The default settings do not allow Internet access.
Procedure:
1. http: // localhost: 4848, go to glassfish
In the management background, choose configuration> ORB> IIOPListeners.
Set orb-listener-1
The value of Network Adress is changed to your domain name.
2. Set your internal network settings and use the domain name path to point to this server. For example, you can modify the file \ system32 \ drivers \ etchost in the sub-operating system directory of the server,
Add an intranet IP address domain name (do not leave the Intranet IP address blank in the line header ).
Ensure that the above settings are correct and your glassfish Server can run on the Internet.