AppletTalk.com Forum Index AppletTalk.com
Java discussions newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Problem with ejbdoclet--generated bean code is inheriting fr

 
Post new topic   Reply to topic    AppletTalk.com Forum Index -> Java Software Tools
View previous topic :: View next topic  
Author Message
mwkohout@gmail.com
Guest





PostPosted: Mon Feb 14, 2005 6:06 pm    Post subject: Problem with ejbdoclet--generated bean code is inheriting fr Reply with quote



Hello-I'm fairly new to xdoclet and I'm having a problem where xdoclet
is creating the home/remote interfaces incorrectly and I don't know
why.

Here is my xdoclet code:

* @ejb.bean
* name = "housing/MealPlanOptionServiceEjb"
* type = "Stateless"
* jndi-name ="MealPlanOptionServiceEjbHome"
* xlocal-jndi-name="MealPlanOptionServiceEjbLocalHome"
* remote-business-interface="MealPlanOptionService"
* xlocal-business-interface="MealPlanOptionServiceLocal"
* @ejb.home
* extends="javax.ejb.EJBHome"
* local-extends="javax.ejb.EJBLocalHome"
* @ejb.interface
* extends="javax.ejb.EJBObject"
* local-extends="javax.ejb.EJBLocalObject"
*/

here is an example from the generated sourcefiles:

MealPlanOptionServiceEjbImplHome:
************************************************
public interface MealPlanOptionServiceEjbImplHome
extends edu.mnscu.common.ejb.BaseSessionHome
{
public static final String
COMP_NAME="java:comp/env/ejb/MealPlanOptionServiceEjbImpl";
public static final String JNDI_NAME="MealPlanOptionServiceEjbImpl";

public edu.mnscu.housing.business.MealPlanOptionServiceEjbImplRemote
create()
throws javax.ejb.CreateException,java.rmi.RemoteException;

}
***************************************************

As you can see, the Home interface is extending this BaseSessionHome
class. I don't know where it's getting this classname.

thanks for any help anyone would be able to provide...

Mike Kohout

Back to top
Display posts from previous:   
Post new topic   Reply to topic    AppletTalk.com Forum Index -> Java Software Tools All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.