Preliminary study on how to build the EJB-Eclipse environment by using eclipse and lomboz

Source: Internet
Author: User

Recently, a good friend tried to study ejbs, so I kept up with him and joined him on this EJB Road.

Why? In fact, I am a little confused about EJB. The ejb3.0 specification is in the dark. I don't know how long it will last.

So I always want to wait, but I also think that learning EJB doesn't necessarily learn how to write it.CodeTo better learn his architecture

Learn more elegant design patterns through coding, so I still feel that we should go deep into the following.

------------------------------

In the beginning, we will first look for an example of helloejb, hoping to see the overview of EJB from the example.

In this example, the runtime environment is in eclipse. To work with the environment, all the plug-ins to be added are provided.

1. lomboz3.0 corresponds to eclipse3.0.x. If eclipse3.1.x is used, the corresponding lomboz version is required.

2. EMF (eclipse modeling framework), which is also required

I think lomboz is used to simplify the development and deployment of EJB, But I encountered a very depressing problem after installing it.

New-lomboz EJB creation Wizard cannot be used. Other functions are normal, but it is not reflected when you click the EJB wizard.

So I uninstalled eclipse and re-installed lomboz, but the effect is the same every time.

Finally, the problem is discovered:

-- When lomboz downloads EMF, the connection provided to 3.0 is not well supported in my eclipse3.0.1.

-- I finally downloaded the EMF provided to 3.1.x and decompressed it to the eclipse directory to solve the problem.

Then we can find that if everything works normally, we should see such a project directory under resourceperspective.

--. Lombozejbemmiter

For more detailed configuration of lomboz in eclipse, refer to the official lomboz documentation.

Http://www.objectlearn.com/support/docs/installation/install.jsp

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.