JBoss learning

xiaoxiao2021-03-13  177

Preface This article is written in the JBoss environment to develop EJB development, before reading this article, you will have a basic understanding of EJB. JBoss is an open source free EJB server that implements most of the functions specified by other J2EE. Now Sun has implemented JBOSS as J2EE 1.4 standards. This article leads you from JBoss3.2.6 installation. Also until a complete "Hello, World" EJB is developed. JBoss installation and start If you are using JBoss for the first time, you will be very frustrated because it is an open source and can be downloaded for free, but its documentation or technical training is charged, and for the Chinese people Highly indishable (a few days of training is about 10,000 US dollars, the document must do tens to hundreds of more beautiful)! If you try to find some articles about JBoss's simple entry on JBoss, you can just have a few of the few articles, and there are very few rookie-level articles. On the contrary, it is a lot of artistic articles such as the core design, which is, so that you will make you see more. Therefore, the purpose of this article is to let your JBoss run as soon as possible, and immediately develop simple EJBs on it. Before installing JBOSS, you must first determine that you have installed JDK1.3 or more, because JBoss is not bundled with other application servers like WebLogic, so JBoss is not to support JDK support to run. Then download a JBoss release on http://www.jboss.org website (I downloaded JBoss-3.2.6.zip), which in this article is used in this article, its stable release jboss3.2.6 (integrated Tomcat4.1) The Tomcat is Tomcat is the famous open source JSP / Servlet server of the Apache Foundation. If you want more to learn Tomcat, visit http://jakarta.apache.org to get more detailed information. When you download JBoss-3.2.2.2.2.2.2.2.6.zip, the next step is to decompress it. If you are on Windows, you can use Winzip or WinRAR; if it is under Linux, use the unzip command to take myself as an example , Suppose I extract it to the following directory C: / jboss-3.2.6 relative to WebLogic, WebSphere, etc. J2EE server, JBoss's startup is simple, if you are a Windows user, just need to enter C: / JBOSS-3.2.6 / bin, enter the run.bat command, JBoss ran; if it is Linux user, just enter C: / JBoss-3.2.6 / bin, enter run.sh, then JBoss also Also operate. how about it? Is it very simple? When you enter run.bat or run.sh, you will find that the screen will continue to scroll some prompt information, after about 1 minute (depending on your machine configuration, I am P4 1.7G, 128M), prompt information It will stop scrolling. (Note: If you are under Windows, then let this DOS window keep this state, don't stop it!) Wait until it will stop it. In this way, JBoss is already in operation.

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

New Post(0)