Recently, some articles on using eclipse + lomboz + JBoss to develop J2EE on csdn have also searched for related content on Google, and I always think they do not quite understand it. Finally, an old man gave an important link:
Http://www.tusc.com.au/tutorial/html/index.html
This is a step by step tutorial. Although the software version introduced here is outdated, it does not change much. This tutorial is written in English. After reading the first chapter, I combined these software for testing. It is easy to develop EJB.
The content of this chapter varies with the software version. By default, the JBoss-3.2.3 does not start the memory database hypersonic. If you want to start the database when JBoss is started, you must modify
// Jboss-3.2.3/Server/default/deploy/hsqldb-ds.xml
The last commented out statement:
<Mbean code = "org. JBoss. JDBC. hypersonicdatabase"
Name = "JBoss: service = hypersonic">
<Attribute name = "Port"> 1701 </attribute>
<Attribute name = "silent"> true </attribute>
<Attribute name = "Database"> default </attribute>
<Attribute name = "trace"> false </attribute>
<Attribute name = "no_system_exit"> true </attribute>
</Mbean>
. In this way, you can adjust the database according to the instructions of the tutorial.
In the future, I will record the content of each chapter.