网友您好, 请在下方输入框内输入要搜索的题目:

题目内容 (请给出正确答案)

如果想在tomcat服务器启动时将jar包加载到内存,且该jar包可以被tomcat服务器上所有的应用使用,应该将该jar包复制到tomcat的()目录。

  • A、server
  • B、common/lib
  • C、server/lib
  • D、common

参考答案

更多 “如果想在tomcat服务器启动时将jar包加载到内存,且该jar包可以被tomcat服务器上所有的应用使用,应该将该jar包复制到tomcat的()目录。A、serverB、common/libC、server/libD、common” 相关考题
考题 下列( )类属于java.util.jar 包。A.GZIPInputStreamB.ZipInputStreamC.JarInputSreamD.InflaterlnputStream

考题 如果想在tomcat服务器启动时将Jar包加载到内存,且该Jar包可以被tomcat服务器上所有的应用使用,应该将该jar包复制到tomcat的__________目录。 A、commonB、ServerC、common\libD、server\lib

考题 以下关于Spring Boot的相关说法错误的是() A、Spring Boot所创建的应用程序都是独立的War包,而不是Jar包B、Spring Boot项目不需要将WAR包部署到Tomcat、Jetty等Servlet容器中,而是在启动时,自动的启动一个嵌入式的TomcatC、Spring Boot与其他主流框架整合时,只需在pom.xml中添加相应依赖,即可直接使用该框架,无需在项目的配置文件中添加配置D、Spring Boot会根据类路径中的类和JAR包中的类自动配置Bean,而不需要手动配置

考题 Click the Exhibit button. Given the fully-qualified class names: com.foo.bar.Dog com.foo.bar.blatz.Book com.bar.Car com.bar.blatz.Sun Which graph represents the correct directory structure for a JAR file from which those classes can be used by the compiler and JVM? ()A.Jar AB.Jar BC.Jar CD.Jar DE.Jar E

考题 不同模块需要相同jar包,解决期间jar包重复引用问题,其操作中包含下面哪几项() A.新建一个公共模块B.扩展jar包C.要使用引入jar包时,要先依赖公共模块D.在这个公共模块里引入第三方jar包

考题 在Tomcat的目录文件中()存放着启动和运行时需要的jar文件。 A.logsB.LicenseC.libD.config

考题 下列选项中,用于解压jar文件的命令是() A.jar –cB.jar –xC.jar –vD.jar -f

考题 maven加载jar包是通过pom.xml文件中的groupId,artifactId,version来进行jar包查找的

考题 使用数据源时,数据库驱动程序的.jar文件应该放在()。A、 应用程序的类库内B、 应用程序的WEB-INF/lib下C、 Tomcat根目录/lib下D、 Tomcat的common/lib下

考题 A developer is creating a class Book that needs to access class Paper.The Paper class is deployed in a JARnamedmyLib.jar.Whichthree,taken independently,will allow the developer to use the Paper class while compiling the Book class?()A、The JAR fileis located at$JAVA_HOME/jre/classes/myLib.jar.B、The JAR fileis located at$JAVA_HOME/jre/lib/ext/myLib.jar.C、TheJ AR fileis located at/foo/myLib.jar and aclasspath environment variable is set that includes /foo/myLib.jar/Paper.class.D、The JAR fileis located at/foo/myLib.jar and a classpath environment variable is set that includes/foo/myLib.jar.E、The JAR file is located at/foo/myLib.jar and the Book class is compiled using javac-cp/foo/myLib.jar/Paper Book.java.F、The JAR file is located at/foo/myLib.jar and the Book class is compiled using javac-classpath/foo/myLib.jar Book.java.

考题 不同模块需要相同jar包,解决期间jar包重复引用问题,其操作中包含下面哪几项()A、新建一个公共模块B、扩展jar包C、要使用引入jar包时,要先依赖公共模块D、在这个公共模块里引入第三方jar包

考题 在模块项目中引用第三方jar包,可以通过在模块项目中新建新建lib包,将第三方jar包放在里面,之后在模块项目.MF文件的()标签中Classpath中点击add新加即可

考题 在Tomcat服务器中一个Servlet实例在()创建。A、Tomcat服务器启动时B、客户浏览器向Tomcat申请访问该Servlet时C、在JBuilder成功编译包含该Servlet的Web应用工程后D、在将包含该Servlet的Web应用工程部署到Tomcat服务器后

考题 maven项目打包的方式有哪几种()A、jar包B、war包C、pom包D、xml包

考题 weblogic中部署EJB的jar包中须包含的部署描述符文件有()A、web.xmlB、ejb-jar.xmlC、application.xmlD、weblogic-ejb-jar.xml

考题 关于Weblogic-ejb-jar.xml的作用以下描述正确的是()A、可以声明EAR包应该包含的jar包和war包B、可以声明EJB的事务类型C、可以声明EJB的JNDI名字D、可以声明EJB的远程和本地接口

考题 You are developing several tag libraries that will be sold for development of third-party web applications.You are about to publish the first three libraries as JAR files: container-tags.jar,advanced-html-form-tags.jar, and basic-html-form-tags.jar. Which two techniques are appropriate for packaging the TLD files forthese tag libraries?()A、The TLD must be located within the WEB-INF directory of the JAR file.B、The TLD must be located within the META-INF directory of the JAR file.C、The TLD must be located within the META-INF/tld/ directory of the JAR file.D、The TLD must be located within a subdirectory of WEB-INF directory of the JAR file.E、The TLD must be located within a subdirectory of META-INF directory of the JAR file.

考题 在JAR文件中,所有类文件必须以对应包的目录结构存放。

考题 Given the fully-qualified class names:  com.foo.bar.Dog  com.foo.bar.blatz.Book  com.bar.Car  com.bar.blatz.Sun  Which graph represents the correct directory structure for a JAR file from which those classes can be used by the compiler and JYM?() A、 Jar AB、 Jar BC、 Jar CD、 Jar DE、 Jar E

考题 A developer is creating a class Book, that needs to access class Paper. The Paper class is deployed in a JAR named myLib.jar.  Which three, taken independently, will allow the developer to use the Paper class while compiling the Bookclass?()A、The JAR file is located at $JAVA_HOME/jre/classes/myLib.jar.B、The JAR file is located at $JAVA_HOME/jre/lib/ext/myLib.jar..C、The JAR file is located at /foo/myLib.jar and a classpath environment variable is set that includes /foo/myLib.jar/Paper.class.D、The JAR file is located at /foo/myLib.jar and a classpath environment variable is set that includes /foo/myLib.jar.E、The JAR file is located at /foo/myLib.jar and the Book class is compiled using javac - cp /foo/myLib.jar/Paper Book.java.F、The JAR file is located at /foo/myLib.jar and the Book class is compiled using javac - classpath /foo/myLib.jar Book.java

考题 填空题在模块项目中引用第三方jar包,可以通过在模块项目中新建新建lib包,将第三方jar包放在里面,之后在模块项目.MF文件的()标签中Classpath中点击add新加即可

考题 单选题Given the fully-qualified class names:  com.foo.bar.Dog  com.foo.bar.blatz.Book  com.bar.Car  com.bar.blatz.Sun  Which graph represents the correct directory structure for a JAR file from which those classes can be used by the compiler and JYM?()A  Jar AB  Jar BC  Jar CD  Jar DE  Jar E

考题 多选题A developer is creating a class Book that needs to access class Paper.The Paper class is deployed in a JARnamedmyLib.jar.Whichthree,taken independently,will allow the developer to use the Paper class while compiling the Book class?()AThe JAR fileis located at$JAVA_HOME/jre/classes/myLib.jar.BThe JAR fileis located at$JAVA_HOME/jre/lib/ext/myLib.jar.CTheJ AR fileis located at/foo/myLib.jar and aclasspath environment variable is set that includes /foo/myLib.jar/Paper.class.DThe JAR fileis located at/foo/myLib.jar and a classpath environment variable is set that includes/foo/myLib.jar.EThe JAR file is located at/foo/myLib.jar and the Book class is compiled using javac-cp/foo/myLib.jar/Paper Book.java.FThe JAR file is located at/foo/myLib.jar and the Book class is compiled using javac-classpath/foo/myLib.jar Book.java.

考题 多选题A developer is creating a class Book, that needs to access class Paper. The Paper class is deployed in a JAR named myLib.jar. Which three, taken independently, will allow the developer to use the Paper class while compiling the Book class?()AThe JAR file is located at $JAVA_HOME/jre/classes/myLib.jar.BThe JAR file is located at $JAVA_HOME/jre/lib/ext/myLib.jar..CThe JAR file is located at /foo/myLib.jar and a classpath environment variable is set that includes /foo/myLib.jar/Paper.class.DThe JAR file is located at /foo/myLib.jar and a classpath environment variable is set that includes /foo/myLib.jar.EThe JAR file is located at /foo/myLib.jar and the Book class is compiled using javac -cp /foo/myLib.jar/Paper Book.java.FThe JAR file is located at /foo/myLib.jar and the Book class is compiled using javac -d /foo/myLib.jar Book.javaGThe JAR file is located at /foo/myLib.jar and the Book class is compiled using javac -classpath /foo/myLib.jar Book.java

考题 多选题A developer is creating a class Book, that needs to access class Paper. The Paper class is deployed in a JAR named myLib.jar.  Which three, taken independently, will allow the developer to use the Paper class while compiling the Bookclass?()AThe JAR file is located at $JAVA_HOME/jre/classes/myLib.jar.BThe JAR file is located at $JAVA_HOME/jre/lib/ext/myLib.jar..CThe JAR file is located at /foo/myLib.jar and a classpath environment variable is set that includes /foo/myLib.jar/Paper.class.DThe JAR file is located at /foo/myLib.jar and a classpath environment variable is set that includes /foo/myLib.jar.EThe JAR file is located at /foo/myLib.jar and the Book class is compiled using javac - cp /foo/myLib.jar/Paper Book.java.FThe JAR file is located at /foo/myLib.jar and the Book class is compiled using javac - classpath /foo/myLib.jar Book.java

考题 多选题weblogic中部署EJB的jar包中须包含的部署描述符文件有()Aweb.xmlBejb-jar.xmlCapplication.xmlDweblogic-ejb-jar.xml

考题 多选题A developer is creating a class Book, that needs to access class Paper. The Paper class is deployed in a JAR named myLib.jar. Which three, taken independently, will allow the developer to use the Paper class while compiling the Book class?()AThe JAR file is located at $JAVA_HOME/jre/classes/myLib.jarBThe JAR file is located at $JAVA_HOME/jre/lib/ext/myLib.jarCThe JAR file is located at /foo/myLib.jar and a classpath environment variable is set that includes /foo/myLib.jar/Paper.classDThe JAR file is located at /foo/myLib.jar and a classpath environment variable is set that includes /foo/myLib.jarEThe JAR file is located at /foo/myLib.jar and the Book class is compiled using javac –cp /foo/myLib.jar/Paper Book.javaFThe JAR file is located at foo/myLib.jar and the Book class is compiled using javac –classpath /foo/myLib.jar Book.java

考题 单选题A class games.cards.Poker is correctly defined in the jar file Poker.jar.  A user wants to execute the main method of Poker on a UNIX system using the command:  java games.cards.Poker  What allows the user to do this?()A  put Poker.jar in directory /stuff/java, and set the CLASSPATH to include /stuff/javaB  put Poker.jar in directory /stuff/java, and set the CLASSPATH to include /stuff/java/*.jarC  Put Poker.jar in directory /stuff/java, and set the CLASSPATH to include /stuff/java/Poker.jarD  put Poker.jar in directory /stuff/java/games/cards, and set the CLASSPATH to include /stuff/javaE  put Poker.jar in directory /stuff/java/games/cards, and set the CLASSPATH to include /stuffijava/*.jarF  put Poker.jar in directory /stuff/java/games/cards, and set the CLASSPATH to include /stuff/java/Poker.jar