Our EJB contribution is committed to CVS. The initial EJB/Xdoclet
components support the following use cases:
0) Use Case-0: Edit/Setup Preferences: Window>Preferences
- Go to XDoclet tag and choose a XDoclet runtime (1.2.2/1.2.1 are
supported). visit the ejbdoclet page, choose the servers that you
would like to auto-generate deployment-descriptors.
1) Use case-I:
- Project Wizard: New > Ejb > Create EJB Project >Create
an EJB Project, choose a J2EE Runtime. Currently you can only
choose J2EE Library o compile against. (Server Team should probably
look into getting this work with a real server.)
- Create A Session EJB: New > Ejb > Create Session Bean,
enter Session bean config parameters, click next choose a package, modify
the class parameters. Click Finish.
- A Session Bean is created including a sample
- EJB Builder is added to the project
- Builder generates all EJB classes for the
beans in the module and adds them to the ejb-jar.xml
The support for other types of EJBs are also in place but we would like
to get some feedback on the current work before we go further.
2) Use Case-II: Open and edit your Session Bean ( the class with
the Bean suffix). Add a method or modify other things. You
will get code assist for XDoclet tags. Save.
- Builder kicks in and generates all EJB classes
for the beans in the module and adds them to the ejb-jar.xml
There are a few experimental features/issues for consideration:
- We use a
builder to generate derived artifacts. We need to asses the
performance issues. Alternative is using manual actions
derived code is generated in to the same source folder. Eventually
we would like to separate it.
modules in the same project should work, NOT tested
are a few hard coded things such as EJB spec version. We will
change it to get it from the EJBModule
Have not been tested on a server runtime due to lack of a server runtime
that supports EJB modules.
The related plugins are:
Provides ant script execution support. Used by the XDoclet
builder to run ejbdoclet tasks
Provides command objects and operations used by the Wizards and JET
Extensible framework to support different annotation technologies and
builders. Provides API for annotation emitters and builder and
support for template (JET) based code generation
Extension of the annotations.emitter to support XDoclet.
Contains emitter extensions, XDoclet builder and XDoclet
Inonu cad. Sumer sok. Zitas
Kozyatagi, Istanbul 81090
+90 (532) 573 7783 (cell)
+90 (216) 361 5434 (phone)
+90 (216) 361 2034 (fax)