Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > Problem with ejbdoclet--generated bean code is inheriting from "phantom" code...

Thread Tools

Problem with ejbdoclet--generated bean code is inheriting from "phantom" code...
Posts: n/a
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

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:

public interface MealPlanOptionServiceEjbImplHome
extends edu.mnscu.common.ejb.BaseSessionHome
public static final String
public static final String JNDI_NAME="MealPlanOptionServiceEjbImpl";

public bImplRemote
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

Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
useBean in JSP for bean within a bean kumar Java 1 02-13-2004 09:33 PM
[HELP] Bean Newbie: C++ library to Java bean. How? Takeshi Java 0 01-28-2004 11:36 AM
Differnce between Java Bean and Enterprise Java Bean Markku Salminen Java 3 01-21-2004 09:25 AM
can a session bean return a local entity bean object? David Thielen Java 2 09-12-2003 07:45 AM
To bean or not to bean... Benjamin Stewart Java 0 06-30-2003 12:34 AM