Application Server
107. How do I specify the memory size for weblogic?
A: In the Weblogic STARTUP script (startServerName located in the directory of the corresponding Domian server), add set MEM_ARGS =-Xms32m-Xmx200m. You can adjust the minimum memory to 32 MB and the maximum memory to 200 MB.
Does EJB need to directly implement its business interface or Home interface? Please briefly explain the reasons.
The remote interface and Home interface do not need to be implemented directly. Their implementation code is generated by the server. The corresponding implementation class in the program running will be used as an instance of the corresponding interface type.
108 what are the application servers?
A: BEA WebLogic Server, IBM WebSphere Application Server, Oracle9i Application Server, jBoss, and Tomcat
109. How to set the weblogic hot start mode (Development Mode) and product release mode?
A: You can change the Startup Mode of the corresponding server to one of the development or product modes on the console. Or modify the Service Startup File or commenv file and add set PRODUCTION_MODE = true.
110. How do I not need to enter the user name and password at startup?
A: Modify the Service Startup File and add the WLS_USER and WLS_PW items. You can also add encrypted user names and passwords to the boot. properties file.
111. In the weblogic Management Console, After configuring jms, ejb, connection pool, and other related information for an application Domain (or a website or Domain), what files are actually stored in?
A: The config. xml file stored in this Domain is the core configuration file of the server.
112. What is the default directory structure of a Domain in weblogic? For example, if you want to put a simple helloWorld. jsp directory, you can enter
Aspectratio = "T" V: ext = "edit"> Http: // host: Port Number // helloword. jsp can see the running result? Another example is how to use a self-written javaBean?
A: Domain Directory Server Directory applications. Placing the application directory under this directory can be accessed as an application. If it is a Web application, the application directory must meet the Web application directory requirements, jsp files can be directly placed in the application directory, Javabean needs to be placed in the application directory of the WEB-INF directory of the classes directory, set the Server default application will be able to achieve in the browser without entering the application name.
113. configuration files required for deploying ejb in weblogic
A: Different Types of EJB involve different configuration files, all involve configuration files including ejb-jar.xml, weblogic-ejb-jar.xmlCMP entity beans generally also need weblogic-cmp-rdbms-jar.xml
114. How to perform ssl configuration and client authentication configuration in weblogic or discuss how to configure ssl in j2ee (standard )?
DemoIdentity is used in the default installation. jks and DemoTrust. to implement SSL in jks KeyStore, You need to configure the server to use Enable SSL and configure its port. In product mode, you need to obtain the private key and digital certificate from the CA, and create the identity and trust keystore, load the obtained key and digital certificate. You can configure whether the SSL connection is unidirectional or bidirectional.
115. How do I view the published ejbs in weblogic?
A: You can use the console to view all published ejbs in Deployment.
Differences between the persistent and non-persisten when sending a message Bean in weblogic
The persistent MDB ensures the reliability of message transmission, that is, if an error occurs in the EJB container and the JMS server still sends the message when the MDB is available, non-persistent messages are discarded.