users@glassfish.java.net

Re: EJB 3.1 Embedded

From: <glassfish_at_javadesktop.org>
Date: Sun, 17 Oct 2010 05:23:02 PDT

Hello Alexis,

I have a simple project in Eclipse (Helios), running Ubuntu 10.10 (may be of some importance), that looks like this:

A simple EJB:


package com.eugen.java6.ee.ejb31.EmbeddableAPI;

import javax.ejb.Stateless;

@Stateless
public class Person {
        public String getPersonName(){
                return "SomeName";
        }
}


And the testing code in the previous post. What I do is deploy the whole project (Run As --> Run on Server). Then I run the TestTheEJB class.

Am i doing something wrong?

Thanks,
Eugene.
[Message sent by forum member 'wind57']

http://forums.java.net/jive/thread.jspa?messageID=485364