users@glassfish.java.net

Re: EJB 3.1 Embedded

From: Alexis Moussine-Pouchkine <alexis.moussine-pouchkine_at_oracle.com>
Date: Sun, 17 Oct 2010 14:16:01 +0200

No need to deploy the app, that's the point of using EJBContainer instead.
Is this packaged in a WAR or in a EJB-JAR or EAR?
-Alexis

On 17 oct. 2010, at 14:23, glassfish_at_javadesktop.org wrote:

> 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
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>