Java topic written answer basic knowledge of java - (9)
81, the weblogic how to configure the thermal model (model development) and the product launch mode?
In the management console can be modified corresponding server start-up mode for the development of one model or product. Or modify the startup files or documents commenv increase set PRODUCTION_MODE = true.
82, How to Start, is not required to enter a user name and password?
Laws services startup files, and WLS_PW of WLS_USER increase. Boot.properties document can also add encrypted user name and password.
83, weblogic management system in Taichung on an application domain (or is a Web site, Domain) jms ejb or connection pool and related configuration information, stored in the actual document what?
Stored in this Domain of the config.xml file, which is the core of the server configuration file.
84, in a Domain weblogic talk about the default directory structure? For example, to a simple helloWorld.jsp Add He directory, ran in the browser can enter http:// Console: port / / helloword. jsp can see the results? For example this one uses its own written javaBean how do?
Domain directory server directory applications, the application directory will be placed in this directory can be used as application access, if a Web application, application directory directory of Web applications need to meet the requirements of jsp files can be placed directly in the application directory, the directory application on the need Javabean WEB-INF directory of the classes directory, set the default application server will be able to achieve in the browser without application of input.
85, in weblogic ejb be involved in the publication to which the configuration files of different types of EJB different from the configuration file are related to the configuration files including ejb-jar.xml, weblogic-ejb-jar.xmlCMP entities Bean-general also need weblogic cmp-rdbms-jar.xml
86, how weblogic conducted ssl configuration and client configuration or talk about j2ee certification (standard) ssl installed in the default configuration and use DemoIdentity.jks DemoTrust.jks KeyStore achieve SSL, need to configure the server to use Enable SSL, and its configuration ports, the need for the product model from CA access to private keys and digital certificates, identity and the creation of trust keystore, loading access to the keys and digital certificates. This can be configured SSL connection is one-way or two-way street.
87, in weblogic how Show has been released EJB?
Management console can be used in its Deployment can see all releases EJB
88, CORBA? What is the purpose?
CORBA standards are common object request broker architecture (Common Object Request Broker Architecture), Object Management Organization (Object Management Group, the acronym for the OMG) standardization. It is the composition of Interface Definition Language (IDL), language bindings (binding: also translated into the series) and allow interoperability between applications of the agreement. Its purpose is to: use different programming language written in the process of running different for different operating systems development.
89, or talk about you are familiar with the j2ee heard in several common mode? Design patterns and some of the views
Session Facade Pattern: Use SessionBean visit EntityBean
Message Facade Pattern: Asynchronous Invocation
EJB Command Pattern: Use Command JavaBeans replace SessionBean achieve lightweight visit
Data Transfer Object Factory: DTO Factory simplification of data EntityBean
Generic Attribute Access: AttibuteAccess simplified interface to provide data of EntityBean
Business Interface: Remote (local) interface and achieve the same category Bean Interface Specification business logic consistency EJB architecture design will directly affect the quality of the performance, scalability, maintainability, and reusability of components can be developed efficiency. The more complex the project, the project team can be more substantial the more the importance of good design.
90, to talk about in the news Bean weblogic development in the persistent and non-persisten difference
MDB persistent approach can guarantee the reliability of messaging, which is a problem if EJB containers and JMS server information will remain available at this time MDB send, and non-persistent forms of information will be discarded.
Tags: basic






