I have recently seen a lot of information about Lomboz, I found that there are many netizens, but I have been in introducing this Eclipse plugin. It feels necessary to write yourself to the experience of Lomboz so that people will not take too much detours.
I. Environmental demand:
1. Resources related to Lomboz
Since this article focuses on Lomboz, it is necessary to emphasize. Lomboz is a J2EE plugin for Eclipse, which integrates many Java application servers, J2EE components, and web applications to Eclipse, which can help Java developers build, test, and deploy J2EE applications.
download:
http://forge.object/showfiles.php?group_id=97
forum:
Http://forge.objectweb.org/forum/forum.php?forum_id=360
Tutorial:
http://www.objectlearn.com/support/docs/index.jsp
Pay attention to downloading two files, one is lomboz3.0.1 one is EMF-SDO-RUNTIME-2.0.0.zip (this program can also download the latest version from the Eclipe official website.
http://www.eclipse.org/emf/
)
The tutorials and forums are the official website of the Lomboz, although all English materials, but it is very helpful for learning Lomboz. For words that want to truly understand Lomboz (of course, it is best to see the source code), English is going, or you should look at the tutorial and forum.
2. My configuration
WinXP SP1,
JDK 1.4.2-04 can be downloaded from Sun official website
Eclipse 3.0.1 and language packs
Tomcat 5.0.28
Lomboz 3.0.1
3. Directory structure
F: / j2sdk jdk directory
D: / eclipse eclipse directory
F: / java / jakarta-tomcat tomcat 5.0.28 directory
D: /plug-in/lombo.301 Lomboz Directory (I use a links method here
Installed,
Refer to Eclipse Basics - Installing the Eclipse plugin by using the Links)
Set environment variable reference Eclipse foundation - Java environment variable settings
Install ELCIPSE and language pack reference
Eclipse foundation - installation Eclipse and language pack
2. Configure development environment
Open Eclipse, click on the menu "window" -> preferences, the following is configured in the "Preferences":
1. Java-> build path
2. Lomboz
3.Lomboz-> Server Definitions-> Properties
4. Switch to the main interface, click "Window" menu -> Customization perspective
Switch to "Command" menu
5. The effect after configuration
note:
Some modifications are needed because Tomcat 5.0.27, 5.0.28 cannot be started in Lomboz.
Find the "D: /plug-in/lomboz.301/ectlearn.jdt.j2ee_3.0.1/servers" directory (I use a links installation method); if you use it directly to extract Lomboz to Eclipse To install, you have to find the "Eclipse installation directory /plugins/com.ObjectLearn.jdt.j2ee_3.0.1/servers" directory. This directory is a configuration file of the related server. If some configuration files are not used, despite deletion, avoid visual fatigue.
For example, I only left a few files.
First change the "tomcat50x.server" file to "Tomcat5028.server" (I use version 5.0.28), it looks convenient.
Open this file and make the following modification:
Finally save it.
Next section: Edit an JSP instance
Graphical use Eclipse3 LOMBOZ3 TOMCAT development JSP --2. Edit a JSP instance