Hi, all
I want to use XDoclet to generate a session bean, for example

/**
 * @ejb:bean name="test/CounterSession"
 *           display-name="My Counter Session Bean"
 *           type="Stateful"
 *           transaction-type="Container"
 *           jndi-name="ejb/test/CounterSession"
 **/
public class CounterSessionBean
   implements SessionBean
{
   private int val;
   /**
   * @ejb:interface-method view-type="remote"
   **/
   public int count() throws RemoteException
   {
      System.out.println("count()");
      return ++val;
   }
}
The XDoclet works well.
but when I moidfy the jndi-name to local-jndi-name , and the view-type of the 
interface-method to 'local', I can't find the count() method in the generated file 
CounterSession.java .

What's the problem?
How to make the local method 
work?�ą��^�����)�{(��[�*����ezx���Š^�g�r���)�jwkz����z����(�额�� 
b�ݶ����z���y���ez#�vm���v�(��~��zw���"n)���b��-�[ak
4�W�����n���j)b�       
b��]��^���X���(��~��zw���i����l���q���z���l�X��)ߣ�]��^��
  • ... Шевчик Виктор Александрович
    • ... Stefan Groschupf
    • ... Stefan Groschupf
      • ... Alex Shneyderman
        • ... Stefan Groschupf
          • ... Alex Shneyderman
            • ... Stefan Groschupf
              • ... Alex Shneyderman
                • ... Andrew Stevens
            • ... citiz
              • ... Andrew Stevens

Reply via email to