users@glassfish.java.net

Embedded glassfish ScatteredArchive question

From: Laird Nelson <ljnelson_at_gmail.com>
Date: Wed, 28 Sep 2011 17:06:58 -0400

In an embedded Glassfish
ScatteredArchive<http://embedded-glassfish.java.net/nonav/apidocs/org/glassfish/embeddable/archive/ScatteredArchive.html>,
if I add a File to the
classpath<http://embedded-glassfish.java.net/nonav/apidocs/org/glassfish/embeddable/archive/ScatteredArchive.html#addClassPath%28java.io.File%29>,
and if that File is either a .jar file or a directory and contains an EJB
class, is it expected that that EJB will be deployed?

Or is it a classpath "only"--i.e. is used only to package up dependent
libraries and whatnot?

Best,
Laird

-- 
http://about.me/lairdnelson