Hello,

Thanks for your interest to my trouble.(It is not without a little emotion
that I'have opened your  response, my first one in my first List adressed
to me!)

It's true that I had forgotten to instanciate  the object MyHelloWorldBean
(shame on me!), now I've got this new message  in the debugger:

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

MyHelloWorldAccessBean type as a value."

with, so, my new main() in the EJB Client class:



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());
      }
 }


Thanks for your help...

===========================================================================
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