So it's not deployable, then mark if ejb:bean generate="false". For %90 of cases xdoclet should guess whether it's deployable/abstract correctly.
Ara. > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:xdoclet-user- > [EMAIL PROTECTED]] On Behalf Of James Cook > Sent: Friday, March 08, 2002 8:17 AM > To: 'Ara Abrahamian'; [EMAIL PROTECTED] > Subject: RE: [Xdoclet-user] Beans extending superclasses > > OK, I think I see your point. However, the bean class that I am > extending is simply a base class with some helper methods, such as > logging and looking up JNDI contexts. It is not intended to ever deploy. > I don't think the generated interfaces would do you much good in > validating the output. > > I think the sample CustomerBean that extends PersonBean gives you an > example more in line with a deployable bean scenario. > > jim > > > -----Original Message----- > > From: Ara Abrahamian [mailto:[EMAIL PROTECTED]] > > Sent: Thursday, March 07, 2002 10:29 AM > > To: 'James Cook'; [EMAIL PROTECTED] > > Subject: RE: [Xdoclet-user] Beans extending superclasses > > > > > > This is the default behavior. You can turn it off by putting > > @ejb:home generate="false" in BaseEntityBean. Btw, how does > > BaseEntityBean and the subclass look like? Please post the > > implements/extends/abstract/etc of both classes so that I can > > be able to optimize this default behavior to be more intelligent. > > > > Ara. > > > > > -----Original Message----- > > > From: [EMAIL PROTECTED] > > [mailto:xdoclet-user- > > > [EMAIL PROTECTED]] On Behalf Of James Cook > > > Sent: Thursday, March 07, 2002 5:23 PM > > > To: [EMAIL PROTECTED] > > > Subject: [Xdoclet-user] Beans extending superclasses > > > > > > My EntityBeans need to _extend_ a superclass. If the name of this > > > superclass is BaseEntityBean, the xdoclet generates Home and Remote > > > interfaces that extend an interface called BaseEntityHome? I don't > > want > > > this. Where is it coming up with BaseEntityHome (or > > BaseEntity in the > > > case of my Remote interface)? > > > > > > Here is my markup: > > > > > > * @ejb:bean > > > * name = > > > "CategoryEntityBean" > > > * display-name = "Category > > > Entity Bean" > > > * jndi-name = > > > "scrapbook/category_eb" > > > * local-jndi-name = > > > "scrapbook/local/category_eb" > > > * view-type = "both" > > > * type = "CMP" > > > * transaction-type = "Container" > > > * reentrant = > > > "false" > > > * cmp-version = "2.x" > > > * schema = > > > "CATEGORY_ENTITY_BEAN" > > > * primkey-field = > > > "java.lang.Integer" > > > > > > jim > > > > > > > > > > > > _______________________________________________ > > > Xdoclet-user mailing list > > > [EMAIL PROTECTED] > > > https://lists.sourceforge.net/lists/listinfo/xdoclet-user > > > > > > _________________________________________________________ > > Do You Yahoo!? > > Get your free @yahoo.com address at http://mail.yahoo.com > > > > > > > > _______________________________________________ > Xdoclet-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/xdoclet-user _______________________________________________ Xdoclet-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/xdoclet-user
