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