Hello EJB users,

I know I insist but  I really need help.

My appicationContext:
          . an EJB: MyHelloWorld
          . the corresponding  EJB Access Bean: MyHelloWorldAccessBean.
          . a client class to experiment all these components: class
Client.
          . I work with "VisualAge for Java" in the "Websphere Test
Environment".

The main method code of  my public Client class is the following:

public static void main(java.lang.String[] args)

 {
      try
      {
           String beanResult=null, ch=null;
           ch="lalalala";
           MyHelloWorldAccessBean bAcces=new MyHelloWorldAccessBean();

          // hello(String param)that only returns param is a remote method
          // of my EJB.
           beanResult=bAcces.hello(ch);


           System.out.println("Retour de Bean Session: " + beanResult);
      }
      catch(Exception e)
      {
           System.out.println("Erreur: " + e.getMessage());
      }
 }

 and opens the debugger with the message:

"MyHelloWorldAccessBean bAcces = new MyHelloWorldAccessBean() ; Impossible
to use the

MyHelloWorldAccessBean type as a value."


What does it mean?
Thanks in advance ...

David.

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to