Hello All.
I have:

Eclipse 3.0.1 (On WinXP)
JBoss IDE 1.3.30 - org.jboss.ide.eclipse_1.3.30
jdk1.5.0 

3 Steps to problem ;-)

1) create Entity bean
----cut of UbiqBean.java--------------------
package org.itx.jbalance.l0;

import java.rmi.RemoteException;
import javax.ejb.EJBException;
import javax.ejb.EntityBean;
import javax.ejb.EntityContext;
import javax.ejb.RemoveException;
/**
 * @ejb.bean name="Ubiq"
 *           display-name="Name for Ubiq"
 *           description="Description for Ubiq"
 *           jndi-name="ejb/Ubiq"
 *           type="CMP"
 *           cmp-version="2.x"
 *           view-type="local"
 * @ejb.util generate = "physical"
 * @ejb.facade view-type = "remote"
 * name = "UbiqFacadeEJB"
 */
public abstract class UbiqBean implements EntityBean {
.....
------------------------------------

2) Added new target to Standard EJB doclet
-------cat of .xdoclet---------------------
<?xml version="1.0" encoding="UTF-8"?>







.........

.........


.........




---------------------------------

3) Run XDoclet and next files was succsessfuly created: 
UbiqCMP.java
UbiqData.java
UbiqFacadeEJB.java
UbiqLocal.java
UbiqLocalHome.java
UbiqPK.java
UbiqUtil.java
-------cut of autogenerated UbiqFacadeBean.java-----
/**
 * Session facade for Ubiq.
 * @xdoclet-generated at ${TODAY}
 * @copyright The XDoclet Team
 * @author XDoclet
 * @version ${version}

*  @ejb.bean name="UbiqFacadeEJB"
*       type="Stateless"
*       view-type="remote"
*       jndi-name="ejb/UbiqFacadeEJB"
*       local-jndi-name="UbiqFacadeEJBLocal"
*
* @ejb.ejb-ref ejb-name="Ubiq" view-type="local"
* @ejb.util generate="physical"
* @ejb.remote-facade
*/
public abstract class UbiqFacadeBean implements javax.ejb.SessionBean
{
....
---------------------------------------
4)_However_ interfaces to facade session bean are not automaticaly created!
------cut of ant console--------------
[ejbdoclet] remote facade tests: org.itx.jbalance.l0.UbiqFacadeBean
[ejbdoclet] super failed
--------------------------------------

I fight with this problem 5 days. And I lose :-(
I try much more variant than described above. 
In this forum are founds simalar message 
http://www.jboss.org/index.html?module=bb&op=viewtopic&t=44439 without answer.

Help me please!

WBR 
Yacenko ITx team. 




View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3852476#3852476

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3852476


-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to