What should be paid attention to in Eclipse + MyEclipse + WebLogic

xiaoxiao2021-03-06  15

Generally use EJBs to create Application, EJB, Web three items from the Application item of the J2EE project, where: Appliction is used as J2EE deployment. EJB is to create an EJB component. The web is a container for a web service, including HRML, JSP, Servlet, Struts, etc. Two methods of using EJB in MyEclipse: 1) Select J2EE 1.3 to generate App_Bean to generate App_Bean by xdoclets. When using cdoclets to configure a server, do not add attributes and values, he will generate according to the situation! 2) Select J2EE1.4, you need to write Program code such as App, Home, and Seesion. For the running process after the entire program, it is expanded as the main line of JNDI. It should be noted that the JNDI-NAME is generally required to see the relevant help when JNDI-NAME is used in HOME. The configuration is mainly: weblogic-ejb-jar.xml and the JNDI of EJB-JAR.XML. (This is generally for the call of JNDI inside the same server, and for other external conditions, it is necessary to set an ervirament, permission and other issues, it is necessary to pay attention to several configurations before deployment. The correct location of the file: 1) WebLogic-ejb-jar.xml and ejb-jar.xml To be imported in different directories under XXXEJB / SRC / META-INF. 2) Web.xml and WebLogic.xml To use to XXXWeb / Webroot / Web-INF, you can use other programs directly, Web.xml needs you to configure it as needed. Finally, before the deployment, the three items of the entire Application Server are cleaned up and then deployed on the server.

supplement:

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

New Post(0)