⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 adminwsclient.bat

📁 sun公司的petstore,一个J2ee的示例应用程序.
💻 BAT
字号:
@echo offREMREM Copyright 2002 Sun Microsystems, Inc. All rights reserved.REM REM Redistribution and use in source and binary forms, with or withoutREM modification, are permitted provided that the following conditionsREM are met:REM REM - Redistributions of source code must retain the above copyrightREM   notice, this list of conditions and the following disclaimer.REM REM - Redistribution in binary form must reproduce the above copyrightREM   notice, this list of conditions and the following disclaimer inREM   the documentation and/or other materials provided with theREM   distribution.REM REM Neither the name of Sun Microsystems, Inc. or the names ofREM contributors may be used to endorse or promote products derivedREM from this software without specific prior written permission.REM REM This software is provided "AS IS," without a warranty of anyREM kind. ALL EXPRESS OR IMPLIED CONDITIONS, REPRESENTATIONS ANDREM WARRANTIES, INCLUDING ANY IMPLIED WARRANTY OF MERCHANTABILITY,REM FITNESS FOR A PARTICULAR PURPOSE OR NON-INFRINGEMENT, ARE HEREBYREM EXCLUDED. SUN AND ITS LICENSORS SHALL NOT BE LIABLE FOR ANY DAMAGESREM SUFFERED BY LICENSEE AS A RESULT OF USING, MODIFYING ORREM DISTRIBUTING THE SOFTWARE OR ITS DERIVATIVES. IN NO EVENT WILL SUNREM OR ITS LICENSORS BE LIABLE FOR ANY LOST REVENUE, PROFIT OR DATA, ORREM FOR DIRECT, INDIRECT, SPECIAL, CONSEQUENTIAL, INCIDENTAL ORREM PUNITIVE DAMAGES, HOWEVER CAUSED AND REGARDLESS OF THE THEORY OFREM LIABILITY, ARISING OUT OF THE USE OF OR INABILITY TO USE SOFTWARE,REM EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.REM REM You acknowledge that Software is not designed, licensed or intendedREM for use in the design, construction, operation or maintenance ofREM any nuclear facility.REMif not "%JAVA_HOME%" == "" goto CONT0echo ERROR: Set JAVA_HOME before running this script.goto END:CONT0if EXIST "%JAVA_HOME%\bin\java.exe" goto CONT1echo ERROR: Set JAVA_HOME to the path of a valid jdk.goto END:CONT1if not "%J2EE_HOME%" == "" goto CONT2echo ERROR: Set J2EE_HOME before running this script.goto END:CONT2if "%1" == "" goto USAGEset SERVER=%1if "%2" == "" goto USAGEset PORT=%2set CLASSPATH=AdminApp.jarset CLASSPATH=%J2EE_HOME%/lib/j2ee.jar;%J2EE_HOME%\lib\system\jwsdp-common.jar;%CLASSPATH%set CLASSPATH=%JAVA_HOME%/lib/tools.jar;%CLASSPATH%%JAVA_HOME%\bin\java -classpath "%CLASSPATH%" com.sun.j2ee.blueprints.admin.client.PetStoreAdminClient com.sun.j2ee.blueprints.admin.client.WebServicePetStoreProxy %SERVER% %PORT% /admin/webservice/AdminServicegoto END:USAGEecho "Usage: wsclient.bat <j2ee-server-host-name> <j2ee-server-port>"goto END:END

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -