[
http://opensource.atlassian.com/projects/xdoclet/browse/XDT-1475?page=comments#action_17712
]
Gaute Lote commented on XDT-1475:
----------------------------------
I'm having a similar problem with Maven 2.0.4 and xdoclet-maven-plugin
1.0-alpha-2.
/**
* Fasade-EJB for Spomtabellen
*
* @author glot
*
* @ejb.bean name="SpomKodeFasade"
* display-name="SpomKodeTjeneste EJB, fasade"
* description="Fasade for henting av Spomtabellen som en Excelfil"
* jndi-name="no.ergo.lm.middel.fasade.ejb.SpomKodeTjenesteFasade"
* local-jndi-name="SpomKodeTjenesteFasade"
* type="Stateless"
* view-type="both"
*
* @ejb.util generate="physical"
*
* @ejb.transaction type="Never"
*
* @ejb.env-entry name="ejb/BeanFactoryPath" type="java.lang.String"
* value="applicationContext.xml"
*
* @ejb.interface extends="javax.ejb.EJBObject"
* local-extends="javax.ejb.EJBLocalObject"
* @ejb.home extends="javax.ejb.EJBHome"
* local-extends="javax.ejb.EJBLocalHome"
*
*/
public class SpomKodeTjenesteBean extends AbstractStatelessSessionBean
implements SpomKodeTjeneste {
> Maven XDoclet plugin not working with Spring EJB Suport
> -------------------------------------------------------
>
> Key: XDT-1475
> URL: http://opensource.atlassian.com/projects/xdoclet/browse/XDT-1475
> Project: XDoclet
> Type: Bug
> Components: Maven Plugin
> Versions: 1.2.3
> Environment: Maven 1.0.2 XDoclet 1.2.3
> Windows XP Pro
> Reporter: Ken Ballard
> Assignee: xdoclet-devel (Use for new issues)
>
>
> Is this a bug in the Maven plugin for XDoclet (I'm using version 1.2.3)? When
> using EJBDoclet with ANT, you can write a Stateless Session Bean that extends
> Spring's EJB support class
> org.springframework.ejb.support.AbstractStatelessSessionBean and XDoclet will
> generate the appropriate interfaces and descriptors. With the XDoclet plugin
> for Maven you can only write a Stateless Session Bean that implements
> javax.ejb.SessionBean and get the correct results. Otherwise EJBDoclet
> generates interfaces that extend fictitious classes. For example, if you have
> a Stateless Session Bean that extends AbstractStatelessSessionBean, instead
> of generating a RemoteInterface that extends javax.ejb.EJBObject, ejbdoclet
> creates a RemoteInterface that extends a fictitious class. It takes the word
> AbstractStatelessSessionBean, and either adds Remote to the end of it if you
> specified "maven.xdoclet.ejbdoclet.remoteinterface.0.pattern={0}Remote" in
> your project.properties or just strips off "Bean"
leaving you with org.springframework.ejb.support.AbstractStatelessSession
which also does not exist. I've scoured the earth looking for any
documentation, blog, or anything that will tell me how to get around this. I
haven't found anything. Is this a bug?
> Thanks,
> Ken
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://opensource.atlassian.com/projects/xdoclet/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
xdoclet-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel