Thanks for your interest to my trouble.(It is not without a little emotion that I'have opened your response, my first one 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... David. "Sachin S. Khanna" Pour : [EMAIL PROTECTED] <emailanorder@VSN cc : L.COM> Objet : Re: EJB trouble Envoyé par : A mailing list about Java Server Pages specification and reference <JSP-INTEREST@jav a.sun.com> 27/03/01 08:45 Veuillez répondre à A mailing list about Java Server Pages specification and reference In your code the debugger is trying to make you aware of a simple java error, nothing to do with EJB's. Calling a method named hello on a MyHelloWorldAccessBean object named bAcces which is null. It would surely throw a NullPointerException. Have a nice day. With regards, Sachin S. Khanna. www.emailanorder.com ----- Original Message ----- From: DIMINO David <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, March 26, 2001 1:30 PM Subject: EJB trouble > hello, > > this is my first message to the list, I'm new at Java and I'd like to > experiment the EJB's. > I work with VisualAge for Java (IBM) in the Websphere Test Environment. > > I've created an EJB group, MyHelloWorldGroup; an EJB (session), > MyHelloWorldBean and an access Bean, > MyHelloWorldAccessBean. > > I'd like to create a client class "MyHelloWorldClient" to test my EJB. > > > > > > > =========================================================================== > 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 > =========================================================================== 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 =========================================================================== 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