Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 131892

Summary: [xdoclet] xdoclet does not generate service-endpoint-class
Product: [WebTools] WTP EJB Tools Reporter: Andrey <app>
Component: jst.ejbAssignee: jst.ejb <jst.ejb-inbox>
Status: RESOLVED WONTFIX QA Contact: Kaloyan Raev <kaloyan>
Severity: normal    
Priority: P3 CC: kaloyan
Version: 1.0.1Keywords: helpwanted
Target Milestone: Future   
Hardware: PC   
OS: Linux   
Whiteboard:

Description Andrey CLA 2006-03-15 05:46:24 EST
I Use:
wtp-all-in-one-sdk-R-1.0.1-200602171228-linux-gtk.tar.gz
j2se-1.5.0
on Fefora Core 4

I can generate local and remote interfaces by placing
@ejb.bean view-type="both"
in ejb class definition comment
but if i use

* @ejb.interface
*		service-endpoint-class="org.app.MyIface"

and then run XDoclet 
there is no new files appears
Where is MyIface.java?

My code
==================

package org.app;

import java.rmi.RemoteException;

import javax.ejb.EJBException;
import javax.ejb.SessionContext;

/**
 * @ejb.bean name="IFMenu"
 *      type="Stateless"
 *      transaction-type="Container"
 *      view-type="service-endpoint"
 *      
 * @ejb.interface
 *		service-endpoint-class="org.app.IFMenuSEI"
 *    	
 *      
 */


public class MenuBean implements javax.ejb.SessionBean {
	private javax.ejb.SessionContext context;
	
......

	/**
	 * @ejb.interface-method 
	 * 		view-type="service-endpoint"
	 */
	public String getFirstItem() {
		return "First Item Stgring";
	}
Comment 1 Kaloyan Raev CLA 2008-04-09 03:23:11 EDT
Mass reassignment of bugs from Naci to ejb-inbox. 
Comment 2 Kaloyan Raev CLA 2012-11-02 03:40:59 EDT
I am closing all tickets related to XDoclet as WON'T FIX, because there is no committer to support this functionality. I can review patches if anyone is willing to contribute.