| <?xml version="1.0" encoding="UTF-8"?> |
| <!DOCTYPE html |
| PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
| <html lang="en-us" xml:lang="en-us"> |
| <head> |
| <!-- /******************************************************************************* |
| * Copyright (c) 2000, 2005 IBM Corporation and others. |
| * All rights reserved. This program and the accompanying materials |
| * are made available under the terms of the Eclipse Public License v1.0 |
| * which accompanies this distribution, and is available at |
| * http://www.eclipse.org/legal/epl-v10.html |
| * |
| * Contributors: |
| * IBM Corporation - initial API and implementation |
| *******************************************************************************/ --> |
| <link rel="stylesheet" type="text/css" href="../../org.eclipse.wst.doc.user/common.css" /> |
| <title>Creating enterprise beans with XDoclet annotation support</title> |
| </head> |
| <body id="tecrte"><a name="tecrte"><!-- --></a> |
| |
| <h1 class="topictitle1">Creating enterprise beans with XDoclet annotation support</h1> |
| <div><p>You can use the Create Enterprise JavaBean wizard to create session beans and message-driven |
| beans that support XDoclet annotation.</p> |
| <div class="p">Before you can create an enterprise bean, you must:<ul><li>Define an EJB project to contain the enterprise bean. See <a href="tecrtpro.html">Creating EJB projects</a>.</li> |
| <li>Install XDoclet annotation support and enable it. See <a href="txdocletconf.html">Configuring XDoclet annotation support</a>.</li> |
| </ul> |
| </div> |
| <div class="section"> <p> After you create an EJB project, you can add enterprise beans |
| to the EJB project in one of the following ways: </p> |
| <ul><li>Create new enterprise beans</li> |
| <li>Import enterprise beans from EJB JAR files</li> |
| </ul> |
| <p>A wizard helps you to create enterprise beans. You can use the Enterprise |
| Bean Creation wizard to generate an enterprise bean while avoiding the complexities |
| that exist between the different types of beans. The wizard helps you add |
| enterprise beans to you project by creating entirely new enterprise beans.</p> |
| <p>With |
| the wizard, you can create two types of enterprise beans: session beans and |
| message-driven beans (EJB 2.0 or later projects only).</p> |
| </div> |
| </div> |
| <p> |
| (C) Copyright IBM Corporation 2000, 2005. All Rights Reserved. |
| </p> |
| </body> |
| </html> |