Several basic issues of WebLogic

xiaoxiao2021-03-04  49

1. How to specify the size of the memory to WebLogic?

In the Script of WebLogic (STARTSERVERNAME in the Domian corresponding server directory),

Plus SET MEM_ARGS = -XMS32M -XMX200M, you can adjust the minimum memory to 32m, up to 200M

2, how to set the hot start mode (development mode) of WebLogic and product release mode?

The startup mode of the corresponding server can be modified in the management console is one of the development or product modes. Or modify service

Start file or commenv file, add set production_mode = true.

3, do you need to enter your username and password when starting?

Modify the service launch file, add WLS_USER and WLS_PW items. You can also increase in boot.properties files

Encrypted username and password.

4. Perform JMS and EJBs in a WebLogic Management Table (or a website, domain) or

After the connection pool and other related information are configured, what file is actually saved?

Save in the config.xml file of this Domain, it is the core profile of the server.

5. Talk about a Domain's default directory structure in WebLogic? For example, to put a simple helloworld.jsp

Put it under whitudio, but you can be http: // host on your browser: port number //helloword.jsp You can see the result of running? do?

Domain Directory / Server Directory / Applications, place the application directory in this directory will be accessed as an application

If it is a web application, the application directory needs to meet the web application directory requirements, the JSP file can be placed directly in the application directory.

In the Classes directory of the application directory, JavaBean needs to be placed in the class directory of the web-inflicity of the application.

It will be possible to implement an application name on your browser.

6, how do I view EJBs already released in WebLogic?

You can use the management console, you can view all published EJBs in its deployment

7, how to make SSL configurations in WebLogic and the client's authentication configuration or talk about J2EE (standard) for SSL configuration

Using DemoidEntity.jks and Demotrust.jks KeyStore in the default installation, you need to configure services

Use Enable SSL to configure its port, need to get private key and digital certificate from CA in product mode, create

Built Identity and Trust KeyStore, load the obtained key and digital certificate. You can configure this SSL connection is one-way

Still two-way.

8, which configuration files need to be involved in the WEBLOGIC

The configuration files involved in different types of EJB include the configuration files involved

Ejb-jar.xml, WebLogic-Ejb-jar.xmlcmp entity bean generally needs

WebLogic-cmp-rdbms-jar.xml

9, EJB needs to implement its business interface or home interface, please briefly describe the reasons.

Remote interfaces and home interfaces don't need to be implemented, their implementation code is generated by the server, and the program is running

The corresponding implementation class is used as an instance of the corresponding interface type.

10. Talk about the difference between Persistent and Non-Persisten when developing message beans in WebLogic

The MDB of the Persistent method guarantees the reliability of messaging, that is, if the EJB container has problems, JMS

The instructor will still send the message when this MDB can be used, and the Non-Persistent message will be lost.

abandoned.

11. Talk about several common modes in J2EE you are familiar with or have heard? And some views on design patterns

Session Facade Pattern: Accessing EntityBean using sessionbean

Message facade Pattern: Implement asynchronous call EJB Command Pattern: Use Command JavaBeans to replace SessionBean for a lightweight access

Data Transfer Object Factory: Simplify EntityBean Data Provision for DTO Factory

Generic Attribute Access: Simplify EntityBean Data Provision for EntityBeaN

Business Interface: The same interface specification business logic is implemented via a remote (local) interface and the Bean class.

Sexuality

The design of the EJB architecture will directly affect the performance, scalability, maintainability, components reusability and

Development efficiency. The more complicated the project, the brighter the project team, the more important it can reflect the importance of good design.

转载请注明原文地址:https://www.9cbs.com/read-31655.html

New Post(0)