我记得使用这个语法:
appclient -client converterClient.jar
调用 Glassfish 应用程序客户端。我如何通过存储库安装 Glassfish 以便可以使用该命令?
答案1
thufir@dur:~$
thufir@dur:~$ appclient -client NetBeansProjects/ejbClient/build/libs/ejbClient.jar
Nov 06, 2017 12:10:08 PM net.bounceme.dur.ejb.client.App run
INFO: running..
Nov 06, 2017 12:10:08 PM net.bounceme.dur.ejb.client.App run
INFO: {java.naming.factory.initial=com.sun.enterprise.naming.impl.SerialInitContextFactory, java.naming.factory.state=com.sun.corba.ee.impl.presentation.rmi.JNDIStateFactoryImpl, java.naming.factory.url.pkgs=com.sun.enterprise.naming}
Nov 06, 2017 12:10:08 PM net.bounceme.dur.ejb.client.App lookup
INFO: looking up jndi
thufir@dur:~$
thufir@dur:~$ alias appclient
alias appclient='/home/thufir/GlassFish_Server/glassfish/bin/appclient '
thufir@dur:~$