quality@glassfish.java.net

Re: Unit testing EJB modules with GlassFish Embeddable

From: Wouter van Reeven <wouter_at_van.reeven.nl>
Date: Wed, 6 Jan 2010 08:40:57 +0100

Hi Richard,

On Wed, Jan 06, 2010 at 08:21:48AM +0200, Richard Kolb wrote:
> You pom.xml does not have a
> <dependency>
> <groupId>javax</groupId>
> <artifactId>javaee-api</artifactId>
> <version>6.0</version>
> <scope>provided</scope>
> </dependency>
>
> Where does the 'import javax.ejb.Stateless;' come from for example ?

From glassfish-embedded-all

> Your packaging is also 'jar' should that not be 'ejb' ?

Personally I don't see how the packaging influences running the app.
What does a packaging 'ejb' mean? And isn't the whole point of this
exercise to have GlassFish running outside an ejb environment?


Greets, Wouter

-- 
Freeze without an answer
Free from all the shame
Must I hide?
Cause I'll never
Never sleep alone
[Mars Volta - The Widow]
Skype: wvreeven
Facebook: wvreeven
Twitter: wvreeven