[转]Lomboz安装与设置(英文原版)

深入解析Lomboz在Eclipse中的应用与安装 本文还有配套的精品资源,点击获取 简介:Lomboz是一款为Eclipse集成开发环境提供的开源插件,支持Java开发者对J2EE应用进行开发、调试和部署。它极大地提升了开发效率,并且适用于Eclipse 3.2版本。本文详细介绍了Lomboz的安装过程、核心功能,并强调了它的历史重要性。尽管现在有更先进的替代品如WTP,但Lomboz在Eclipse插件生态和Java W... 阅读详情

Installation and Configuration

 

Before you start

If your updating from an older version, REMEMBER to backup any old server definitions (plugins/com.objectlearn.jdt.j2ee/servers folder) that you may have.

If you have beeen using lomboz prior to v2.1, you must prepare your workspace to load the new version. BEFORE STARTING YOU MUST REMOVE EXISTING VERSIONS.

After installing Eclipse (but before unzipping the Lomboz plugin), be sure to start up Eclipse to complete the installation process.

After you start eclipse, visit the Java preferences and edit your classpath variables, making sure that they are all correct. To do this, on the Eclipse menu bar, select Window -> Preferences, then open the "Java" node and highlight the "Classpath Variables" node in the tree on the left side of the dialog. Be sure to remove classpath variables that may appear to be incorrect.

Shut down Eclipse before starting an eclipse or Lombozinstallation.

 

Java Installation

A common installation problem is the lack of suitable Java Software Development Kit (JSDK). In order to develop and compile Java programs, you will need a java version 1.4 or above JDK. It is quite common for eclipse to pickup a Java Runtime Environment (JRE), before a JDK. In this case you are likely to experience problems. JRE is not a substitute for JSDK. You can download the latest JSDK from Java Web Site. After the installation of JSDK, you can verify that you have done it correctly; you should have a directory with the following contents:

 

Software requirements

Software

 

JDK

You will need a JDK version 1.4.x or above (tested with 1.4.0)

Application Servers

Allmost all Java application servers that are able to run in a J2SE 1.3 or 1.4 VM. Lomboz comes with predefined configurations for various application servers. New server configurations can also be defined easily.

Eclipse

Lomboz is supported for Eclipse 2.1.x and Eclipse 3.x SDKs or later.

Other Eclipse Projects
EMF

Lomboz v3.0 uses models based on eclipse EMF project. If you do not have it installed already, You will need to download and install EMF runtime builds release 2.0.0 or later.

EMF MUST BE INSTALLED PRIOR TO USING LOMBOZ.

 

Installation

You must download Lomboz Plugin from www.objectlearn.com. Make sure that you are running eclipse for the next step. It it is open, quit eclipse.

The plugin is distributed in ZIP format, therefore, using your ZIP file utility, unzip lomboz.zip file into the <Eclipse_Home> directory. This will create a set of new plugin directories as follows.

 

Now you can start eclipse to complete your installation and configure Lomboz. YOU MUST COMPLETE THE CONFIGURATION STEP.

Plugin Activation

Once installed, Lomboz plugin must be activated.  Lomboz currently adds actions, wizards and views to the Eclipse environments.  To activate these add-ons:

*   Select menu ‘Window>Customize Perspective...’, in the Shortcuts tab choose 'Submenus: New'

check all Lomboz related items.

*   Select menu Window>Customize Perspective...', in the Shortcuts tab choose 'Submenus: Show View'

check ‘Lomboz Views', J2EE View.

*   Select menu Window>Customize Perspective...', in the Commands tab in the availabe commands tab, check Lomboz Actions.

*   Select menu Window>Preferences', in the Workbench->Label Decorations, check Lomboz J2EE Decorators.

Once you confirmed your selections, you will see the newly added Toolbar button:

and the new the new wizards will be available to you from the New project dialog and the quickly accessible New Items menu.


Configuring JDT and Lomboz

You must complete the following minimum configurations before you can start using Lomboz as your J2EE development tool.

Step I – Java

First you must make sure that Java projects have separate source and binary folders. Open the preferences dialog from Workbench -Preferences menu and Expand the Java item, New Project. Make sure that the ‘Use folders for source and output location as default for newly created Java projects’ check box is ticked. Finally enter ‘src’ and ‘bin’ for the names of these folders, which are the defaults.  Please do not modify these names as they are required by some of the Lomboz tasks.


Step II – Global Settings

Most application servers use the standard Java compiler (javac) to compile JSP files.  Javac is found in the tools.jar distributed with standard Java JDKs (NOT JREs).

You must select the tools.jar that will be used by the application servers here.  It is normally found inside the “lib” folder under the JDK installation.

Enable JSP Syntax checking enables or disables JSP compilation. This is useful if you have very large JSP files and you do not want to check the syntax everytime you save the file. By default it is enabled. If you disable it Lomboz will not perform any syntax checking and you will not get any feedback about the potential problems in JSP files.

Server restart is useful if your application server does not automatically reload a web/ejb module after it has been reployed. If this option is enabled, Lomboz will restart the server after a module is redeployed. This option maybe useful if you are working with Tomcat.

Update server classpath and deployment parameters tells Lomboz to check and fix the Project classpath and deployment properties of a selected module everytime you Launch the targeted server of an ejb or web module. This is very useful if you make a change to the server definition after you create the module. By default it is enabled. If you disable this option, you have to make sure that you fix the project classpath and deployment properties everytime you make such changes.

Select Code Generation Plugin Lomboz release 3 supports extensible code generation plugins. In this page you can choose the Plugin that will be used to generate EJB code and annotations using Lomboz. Lomboz provides a default plugin named "XDoclet", that uses xdoclet based code generation.


 

IMPORTANT:

Use application server classpath, tell Lomboz to use the classpath that you will define in the next step when it launches an application server. It will NOT use the classpath of the Java Projects you will create. If you do not enable this feature, Lomboz will use the classpth of the Java project to launch a server. The disadvantage of this will be that all edployde web and ejb modules will appear twice on the classpath: Once from the eclipse java project and once from the ejb jar or web .war. This can cause unexpected class loader problems. If you are experiencing these problems make sure that you enable this feature.

The reverse side of the coin is you will loose your acapability for dynamically modifying your Java code in a debugger (JDK 1.4 feature).

Some application servers are more sophisticated about how they manage class loaders and they will allow you to use the project classpath, however most will not (i.e. JBoss, Tomcat, etc.)

Step III – Server Definitions

Lomboz can work with almost all Java application servers. You will have to set these parameters so that Lomboz can create scripts which point to the right places.  The parameters you set here are used for setting default values for launching the servers and finding the location for deploying Web applications (.war files) and EJB jar files.

One of the major changes in v2.1 is how Lomboz handles application server definitions. This was done in order to allow people to enter their own server definitions other than those servers that are packaged with Lomboz.

These files are stored in a folder named "servers" inside the plugin. Lomboz scans the folder everytime it needs a definition. Adding a new server type is adding one of these files into this folder.


In order to use(activate) any of these definitions you must ALWAYS visit the Lomboz preferences. This will load the files in the servers folder into eclipse.

Next task is to check and set the properties and classpaths defined for these servers.

Although there are predefined values for these properties, it is most likely that they are incorrect for your configuration.

IT IS VERY IMPORTANT THAT YOU CLICK APPLY after you make any changes. Your changes will be taken into account only after this.

If your server is not in this list:

The list of servers are obtained from the contents of a folder  named server under the <Eclipse_Home> directory plugin directory named com.objectlearn.jdt.j2ee.   The list of properties that you are asked to enter are defined in the files that can be found there.  If you have an application server that is not listed, just add your own server definition into this folder.  Existing files should provide you with plenty of examples. For more information read the section on "Adding your own server".

Properties page

To change the properties open the preferences dialog from Workbench -Preferences menu and highlight the Lomboz server definitions item in the list.  You must enter the following parameters:

Classpath variables:

In order for Lomboz to find the proper application server classes without hard coding them into Java projects we use classpath variables.  These class variables are automatically added into the Eclipse environment each time you apply these properties.

To verify that these variables are set, open the preferences dialog from Workbench -Preferences menu and Expand the Java item first highlight the ‘Classpath Variables’ item under the Java list. You SHOULD SEE the values such as ‘WEBLOGIC700’, ‘JBOSS300’ and ‘TOMCAT410’  etc, which will point to the application server directories.

All server definitions have these variables. You can now choose a name for the classpath variable you would like to use and set the path for this variable. These settings will be used to add a classpath variable, which you can verify by looking at the Java classpath variables page as described above. The jar files and libraries you will chose in the next few steps will be relative to this classpath variable.

 

Classpath variable name

The name of the classpath variable that will be used to refer to the library files

Classpath variable

The path that will be used to store the variable above.  Libraries will be relative to this path.

BEA WebLogic Server:

Parameter

Description

Application Server Directory

The path to the application server installation directory

BEA Home Directory

The path to the directory where license files can be located (i.e. license.bea)

Admin Domain Name  

The name of the administrative domain

Admin Domain Directory

The path to the administrative domain that will be used to get application server configurations (must contain the config.xml file).  Used for launching and deploying (domain)

Server Name

The server that will be launched

User

The user id required to launch the server

Password

The password required to launch the server

 

Tomcat:

Parameter

Description

Server Home Directory

The path to the application server installation directory

JBOSS:

Parameter

Description

Server Home Directory

The path to the application server installation directory

 

Important:  Click Apply. This will define the classpath variables before you proceed to the next stage.

 

Classpath page

The next step is to choose the java libraries that are required to launch this application server.  Classpath variables that we have set in the previous section will be used here.  Server classpath ise used to launch the application server, where the Client path is used for the client applications (i.e. Ejb Test Clients).  You can add or remove libraries from these lists.  At the end remember to click Apply.

 

Step IV – Verifying Classpath Variables

To verify that these variables are set, open the preferences dialog from Workbench -Preferences menu and Expand the Java item first highlight the ‘Classpath Variables’ item under the Java list. You SHOULD SEE the values such as ‘WEBLOGIC700’, ‘JBOSS300’ and ‘TOMCAT410’  etc, which will point to the application server directories.

 

Step V – XDoclet Software Configuration for EJB development

  • XDoclet only runs on Java 2 JDKs, older JDKs are not supported.
  • Make sure tools.jar from JDK's lib directory is in your classpath.
  • Make sure JDK's bin directory is in path (needed for invoking javadoc.exe). This must be done before starting Eclipse.

The installation and configuration is now complete!

普通人如何上岸华为OD-面试总结 总共有3道算法题,100分值的两道,200分值的一道,不同的毕业院校和专业,通过机试的分值不一样,最少需要150分通过,提前和hr联系,了解自己需要多少分通过。重中之重:哪怕你是背的题库,也请你一定不要直接抄原来的,最好是变更下方法名,否则会判定你重复率过高,从而失去后面的面试机会(实在是不会做再用此方法,凑分数所用,面试官能看到你的代码,会影响你的面试评价)本人女,所以还问道了婚育计划,有对象这点可以说,没有问题,但是如果可以的话,生孩子的时间,可以给hr说这几年不考虑。如果说没有难题,直接就挂了。 阅读详情

相关推荐

【Agent】多智能体框架MetaGPT入门教程

创建一个 Action 类的子类 SimpleWriteCode,子类中定义好 prompt,并解析返回结果。在 MetaGPT 中,

酒酿小圆子呀~ 3158

Jmeter的下载安装及配置--亲测总结

Jmeter的下载安装及配置 What is Jmeter? Jmeter是一款很强大的测试工具,是Apache组织开发的给予Java的测试工具。Jmeter可以进行负载测试,对于服务器,网络或者接口模拟现实场景的负载测试,Jmeter还提供了一系列的可视化结果图供对测试结果进行分析及做结论依据。Jmeter还可以对程序进行功能或者回归测试,添加断言来验证程序是否返回了正确的结果,具有很大的灵活...

_吉尔伽美什 343

高速SerDes均衡技术解析

均衡技术是高速SerDes链路中补偿信道损耗和失真的核心技术,通过FFE、CTLE和DFE三种主要方法对抗码间干扰(ISI)。FFE在发射端预补偿前光标干扰,CTLE通过提升高频增益补偿信道损耗,DFE则精准消除后光标干扰。三种技术各具优势:FFE实现简单且不放大噪声,CTLE功耗低易于集成,DFE能自适应调整且保持信噪比。这些技术协同工作可有效提升系统传输速率和可靠性。

一只豌豆象的博客 1962

Elastic Certified Engineer复习记录-复习题详解篇-集群的安装和配置(2)

INSTALLATION AND CONFIGURATION 集群安装和配置 GOAL: Secure a cluster and an index using Elasticsearch Security 目标:用ES的安全模块保护集群和索引 REQUIRED SETUP 第0题,按要求创建集群 a running Elasticsearch cluster with at least one node and a Kibana instance 创建一个最少拥有1个ES节点1个Kibana节点的集群

weixin_40601534的博客 1314

淘宝链接跳转微信全攻略:自建合规中转页实现私域引流

在跨平台运营中,链接跳转是连接不同生态、实现流量引导的关键技术。其核心原理是通过服务器端或前端逻辑,将用户从一个平台的链接安全引导至目标页面,同时规避平台间的访问限制。这项技术的核心价值在于打破数据孤岛,实现跨平台用户沉淀与精细化运营,广泛应用于电商引流、私域流量构建和跨平台营销等场景。本文聚焦于**淘宝短链**与**企业微信**之间的跳转难题,提供了一套基于自建中转页面的完整工程解决方案,手把手教你如何通过合规的技术手段,将淘宝流量高效、安全地引导至微信生态,并实现数据追踪与客户分流。

weixin_34185512的博客 418

别光看Demo了!用UE5 Lyra框架快速搭建你的多人对战游戏原型(含完整配置流程)

本文详细介绍了如何利用UE5 Lyra框架快速搭建多人对战游戏原型,包含完整的配置流程和实战案例。Lyra作为可直接二次开发的游戏模板,内置了GAS技能系统、Enhanced Input输入控制等核心功能,大幅缩短开发周期。通过替换角色模型、调整武器数值和配置新地图规则,开发者可在48小时内完成科幻团队竞技游戏原型的搭建。

weixin_28717411的博客 466

Installation and Configuration

Q: Where can I download Java DB? A: Download the latest version from The Apache DB Project. Back to top

[Blog][Domain] programb.blog.csdn.net 468

手把手教你用ComfyUI搭建高效AI绘画工作流:从基础到高级技巧

本文详细介绍了如何使用ComfyUI构建高效的AI绘画工作流,从基础配置到高级技巧全面覆盖。通过模块化设计,ComfyUI显著提升显存利用率和创作灵活性,适合从新手到专业用户。文章包含部署指南、工作流搭建、性能优化及行业应用案例,帮助读者快速掌握AI绘画核心技术。

7up55的博客 723

[Learn Android Studio 汉化教程]第一章 : Android Studio 介绍

转载自:http://ask.android-studio.org/?/question/789 This chapter walks you through installing and setting up your development environment so you can follow the examples and labs in this book. First, y

TMS320VC5509的博客 1892

springcloud+nacos+gateway+oauth2小聚会

在微服务工程中,Nacos作为目前主流的注册中心和配置中心,Spring Cloud Gateway作为目前主流的网关,下面引入spring security+oauth2+jwt作为认证和授权中心,进行简单的聊聊。

ldcaws的专栏 2652

【新手必看】挖漏洞流程指南,黑客手把手教你挖漏洞月入过万!收藏这篇就够了!(附学习笔记)

【新手必看】挖漏洞流程指南,黑客手把手教你挖漏洞月入过万!收藏这篇就够了!(附学习笔记)【新手必看】挖漏洞流程指南,黑客手把手教你挖漏洞月入过万!收藏这篇就够了!(附学习笔记)

weixin_57514792的博客 1110

Eclipse 3 + Lomboz 3 + Tomcat 5 开发网站

看到别人写的关于EJB的文章,学着写写自己的设计环境。 那篇文章在这里:使用Eclipse3.0+lomboz3.0+jboss3.2.3开发EJB By 姜进成 因为不需要EJB,我的环境就没有这么高级了,用简单的Tomcat 5了事。 必需的软件: JDK 1.4 Eclipse 3 Lomboz 3 Tomcat 5 下载这些软件并安装它们,其实只有JDK是安装的,其他都只要解压缩就可以了

Footprints on the sands of time 8万+

【chatgpt代码系列】磁导航纠偏算法推导

例如,可以根据AGV偏离路径的方向和距离,计算出需要进行的修正角度和移动距离,然后通过控制算法实现对AGV的纠偏。具体来说,磁导航AGV的行驶是通过磁场传感器感知地面磁场信号,然后根据信号的强度和方向来确定AGV的位置和方向,进而控制AGV的行驶。但是,在实际应用中,由于地面磁场信号的变化和干扰等因素,磁导航AGV可能会出现偏离路径的情况,导致行驶不稳定甚至出现误差。磁导航AGV纠偏公式是通过对AGV行驶中偏离路径的原因进行分析,结合磁导航AGV的工作原理和控制算法,推导出来的。假设AGV的目标方向为。

少磊的博客 2816

Eclipse, Lomboz and Tomcat 的 Web Project 设置

前一片已经讲过 Eclispe, Lomoz 和 Tomcat 的安装问题了(那篇文章在这里:Eclipse 3 + Lomboz 3 + Tomcat 5 开发网站),现在我们开始一个 Web project,也是设置问题。设置不对,没法调试,就像用记事本写程序,所以这一步也很关键。 开始以前,要注意 Lomboz 里提到的,在新文件和菜单里选上 Lomboz(具体的操作见 Lomboz 地说明

Footprints on the sands of time 5243

全球国家地区城市数据

MySQL全球国家地区城市数据报。。。。。。。。。。。。

WINCC7.3破解文件

WINCC7.3硬件够破解文件,有需要的下载!WINCC7.3硬件够破解文件,有需要的下载!

Lomboz的安装与下载

     现在假设我的eclipse安装目录是D:\eclipse,待安装插件目录是D:\plug-in ,我将要安装LanguagePackFeature(语言包)、emf-sdo-xsd-SDK、GEF-SDK、Lomboz这四个插件。      先把这四个插件程序全部放在D:\plug-in目录里,分别解压。如Lomboz3.0.1.zip解压成Lomboz3.0.1目录,这个目录包含...

JAVA记事 463

精雕软件(JDpaint) 5.5 绿色版

精雕软件(JDpaint) 5.5 绿色版精雕软件(JDpaint) 5.5 绿色版精雕软件(JDpaint) 5.5 绿色版

JBoss及Lomboz的下载与安装

JBoss及Lomboz的下载与安装 陈刚@北京 2004-5-6 下载 JBoss 下载 下载地址:http://www.jboss.org/downloads/   ,在这里请选择Jboss 3.2.3版(includes Tomcat) 包含tomcat这样我们就不用另外去下载tomcat了。 Lomboz 下载 下载地址:http://forge.objectweb.o

z0007202的专栏 707

SAP B1中文培訓教材_SDK

公司内部培训资料,对开发工具 ,DIAPI, UIAPI,Add-ON有详细解说

LOMBOZ插件配置

插件:emf-sdo-runtime-2.0.0.zip    (http://download.eclipse.org/tools/emf/scripts/home.php)org.objectweb.lomboz_3.0.1.N20050106.zip (http://www.objectlearn.com/projects/download.jsp)tomcatPluginV3.zip   

成长在东软 3403

Lomboz插件安装

http://www.blogjava.net/javaandcc/articles/251334.html Lomboz是Eclipse的一个主要的开源插件(open-source plug-in),Lomboz插件能够使Java开发者更好的使用Eclipse去创建,调试和部署一个100%基于J2EE的Java应用服务器。 Lomboz插件的使用,使得Eclipse将多种J2EE的元素、

Quincylk的专栏 4964

Eclipse下Lomboz插件安装

1、下载时注意Eclipse和Lomboz版本号很重要      一般来说相同版本号的才比较兼容。      即:2.0的Eclipse对应插件就装2.0的Lomboz;Eclipse3.01就对应装插件lomboz.301,这样不容易出错,下载时最好认真看清楚网站上的说明,否则有时安装总出现莫名其妙的问题,浪费时间。      2、安装Lomboz需要gef和emf插件的支持,所以光下载安装 Eclipse3.01,和lomboz.301.zip还不够,必须下载以下四个插件:      E

liesmars 9930

给Eclipse3安装Lomboz插件

      广

小鹿的专栏 760

Lomboz介绍+安装方法

在Servlet/JSP学习笔记(1)-tomcat和eclipse的安装中,我介绍了eclipse和tomcatPlugin的安装和配置方法。但今天发现,使用tomcatPlugin创建项目时,不会自动生成web.xml,需要手工编辑,这多少有些不方便。(关于web.xml的简单介绍参考这里。) 实际上,开发和调试Servlet/JSP程序时,一个叫做Lomboz的插件更为强大、更好用。 Lo...

allen413的博客 553

eclipes lomboz插件安装时值得注意的小问题

1、下载时注意Eclipse和Lomboz版本号很重要一般来说相同版本号的才比较兼容。即:2.0的Eclipse对应插件就装2.0的Lomboz;Eclipse3.01就对应装插件lomboz.301,这样不容易出错,下载时最好认真看清楚网站上的说明,否则有时安装总出现莫名其妙的问题,浪费时间。2、安装Lomboz需要gef和emf插件的支持,所以光下载安装 Eclipse3.01,和lomboz

不论你在什么时候开始,重要的是开始之后就不要停止。 984

安装Eclipse和Lomboz碰到的一些问题

安装步骤无非是下载、解压、拷贝、配置,网上一大把教程,不需多说。安装时有些小问题值得注意:1、下载时注意Eclipse和Lomboz版本号很重要 一般来说相同版本号的才比较兼容。 即:2.0的Eclipse对应插件就装2.0的Lomboz;Eclipse3.01就对应装插件lomboz.301,这样不容易出错,下载时最好认真看清楚网站上的说明,否则有时安装总出现莫名其妙的问题,浪费时间。2

随手乱画 2735

用Eclipse、Tomcat、Lomboz搭建jsp开发环境

用Eclipse、Tomcat、Lomboz搭建jsp开发环境 monkito   (www.zmaze.org) 1.安装jdk1.4.0+,安装Tomcat;2.从http://www.eclipse.org/下载Eclipse最新的版本(3.0RC);3.解压,启动Eclipse,选择 Window > Preferences > java,选择或者新添jre地址作为Tomcat插件的缺省

猴子二世的劣质私房 8954

使用lomboz调试JSP

使用lomboz调试JSP胡键(james.hu@chinacodeline.com)西安烁程软件有限公司2003年9月前言       凡是有JSP编写经验的人都有JSP调试困难的体会。由于自动化调试工具的缺乏使得在调试JSP时不得不在文件中大量的使用打印语句。这种做法对于定位JSP范围内的错误是一个简单有效的手段,但如何快速有效的定位在JSP中调用的对象的内部错误就显得有点

foxgemm的专栏 1426

安装Eclipse和Lomboz碰到的一些问题 (zz)

Eclipse 是一個非常優秀的整合開發環境,這個在IBM支持下的開放原始碼專案經過一段時期的完整發展,已經為廣大Java開發者所熟悉。Eclipse 的出現,為 Java 開發者提供了免費使用強大的 Java IDE 的機會,透過整合大量的 plugin,Eclipse 的功能可以不斷擴展,以支援各種不同的應用。Lomboz 是一個免費的 Eclipse plugin,它將很多 Java 應

&Applex Studio 1148
上一篇: JSP中文乱码问题的解决 选择自 qixiao 的 Blog
下一篇: [转]eclipse+tomcat+lomboz的安装配置说明
simonjo
博客等级 码龄22年 39粉丝 63原创
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

个

红包个数最小为10个

元

红包金额最低5元

当前余额3.43元 前往充值 >
需支付:10.00元
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付元
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值
⌂ 换网址