Using EJB in JRun
53
XDoclet
JRun provides integration with XDoclet, an open source tool that generates code and
deployment descriptors for EJBs, web applications, and JSP tag libraries. Many
application servers are adding support for XDoclet and EJBs that are written using basic
XDoclet tags, which are portable across servers.
For EJBs, you can use XDoclet to do the following tasks:
•
Generate required EJB callback methods for a bean implementation using an abstract
class containing business methods as input.
•
Generate remote, local, home, and local home interfaces from a bean implementation
class.
•
Generate a deployment descriptor.
To control the processing performed by XDoclet, you use a combination of jrun.xml
attributes and Javadoc-style comments in the bean implementation.
For more information on using XDoclet with an EJB, see JRun Programmer’s Guide.
The Enterprise Deployment Wizard
The JRun Enterprise Deployment Wizard streamlines the process of developing and
deploying EJBs. Using its Swing-based graphical user interface, you can create any type of
EJB, or edit the deployment descriptor of existing EJBs, package them into JAR files, and
deploy them to JRun. In particular, the object-relational mapping capabilities of the
Enterprise Deployment Wizard let you streamline the entity bean development process.
The Enterprise Deployment Wizard runs as a stand-alone tool, or as a plug-in on top of
an IDE.
To start the Enterprise Deployment Wizard, run jrun_root/bin/jrunwizard.exe
(Windows) or jrun_root/bin/jrunwizard (UNIX).
To install the Enterprise Deployment Wizard in an IDE, open a console window to the
jrun_root/lib directory and issue the following command:
java -jar jrunwizard-installer.jar
For a list of currently supported IDEs, see the Release Notes.
The Enterprise Deployment Wizard features a context-sensitive online Help system.
Refer to the online Help for usage information.
Содержание 38000382 - Macromedia JRun - Mac
Страница 1: ...Getting Started with JRun...
Страница 16: ......
Страница 68: ...54 Chapter 5 Introduction to EJB...
Страница 82: ......
Страница 110: ...96 Lesson 3 EJB Tutorial...
Страница 128: ...114 Lesson 4 Web Services Tutorial...
Страница 132: ...118 Index...