I'm generating a stateless session bean and the remote interface is being
generated but doesn't seem to be coming out correctly. There are a couple of
problems:

1. It doesn't include the business methods defined in the Bean.
2. The remote interface extends itself, which the java compiler doesn't
like.
3. My Bean class has an abstract base class which the remote interface also
is extending which the compiler also doesn't like.

Below are code snippets from my source class and generated interface:

/**
 * SessionManagerBean.java
 * <p>
 * Handles the intracacies of loading and saving data through the Hibernate
persistence tool.
 * <p>
 * Created on July 14, 2004, 3:44 PM
 * @author  jwynett

 * @ejb.bean
 *   name="SessionManager"
 *   type="Stateless"
 *   view-type="both"
 *
remote-business-interface="com.digitalglobe.nextview.ppq.dataobjects.ejb.Ses
sionManagerRemote"
 *
local-business-interface="com.digitalglobe.nextview.ppq.dataobjects.ejb.Sess
ionManager"
 */
public class SessionManagerBean extends SessionBeanBase {
    /**
     * @ejb.interface-method 
     *   view-type="both"
     * @ejb.transaction
     *   type="Supports"
     */
    public String testMe() {
        return "I'm working";
    }
}

/*
 * Generated by XDoclet - Do not edit!
 */
package com.digitalglobe.nextview.ppq.dataobjects.ejb;

/**
 * Local interface for SessionManager.
 * @author jwynett
 */
public interface SessionManager
   extends com.digitalglobe.nextview.ppq.common.ejb.SessionBeanBase, 
           com.digitalglobe.nextview.ppq.dataobjects.ejb.SessionManager
{

}


Jon Wynett
Senior Java Developer
Research Systems, Inc.
303-413-3985
[EMAIL PROTECTED]



-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click
_______________________________________________
xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to