users@glassfish.java.net
Re: Embedded glassfish ScatteredArchive question
This message
: [
Message body
] [ More options (
top
,
bottom
) ]
Related messages
: [
Next message
] [
Previous message
] [
In reply to
] [
Next in thread
]
Contemporary messages sorted
: [
by date
] [
by thread
] [
by subject
] [
by author
] [
by messages with attachments
]
From
: Bhavanishankar <
bhavanishankara.sapaliga_at_oracle.com
>
Date
: Thu, 29 Sep 2011 05:28:58 +0530
Hi Laird,
If such a scattered archive is deployed using deployer.deploy
<
http://embedded-glassfish.java.net/nonav/apidocs/org/glassfish/embeddable/Deployer.html#deploy%28java.io.File,%20java.lang.String...%29
>(scatteredArchive.toURI()
<
http://embedded-glassfish.java.net/nonav/apidocs/org/glassfish/embeddable/archive/ScatteredArchive.html#toURI%28%29
>),
the EJB should get deployed.
Thanks,
Bhavani
On 09/29/2011 02:36 AM, Laird Nelson wrote:
> 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
>
This message
: [
Message body
]
Next message
:
Marina Vatkina: "Re: Embedded glassfish ScatteredArchive question"
Previous message
:
Laird Nelson: "Embedded glassfish ScatteredArchive question"
In reply to
:
Laird Nelson: "Embedded glassfish ScatteredArchive question"
Next in thread
:
Marina Vatkina: "Re: Embedded glassfish ScatteredArchive question"
Contemporary messages sorted
: [
by date
] [
by thread
] [
by subject
] [
by author
] [
by messages with attachments
]