OSGI Web Container - Expanded directory for a WAB

View: New views
4 Messages — Rating Filter:   Alert me  

OSGI Web Container - Expanded directory for a WAB

by glassfish-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello,

Is it possible to obtain directory where the WAB is expanded?

thank's for your response
[Message sent by forum member 'sebglon' (glon.sebastien@...)]

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

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...


Re: OSGI Web Container - Expanded directory for a WAB

by Sahoo :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

You might have noticed from the log messages that the WAB is expanded in
a temporary location. It is not exposed to user. Why do you want to
access the exploded location?

Thanks,
Sahoo

glassfish@... wrote:

> Hello,
>
> Is it possible to obtain directory where the WAB is expanded?
>
> thank's for your response
> [Message sent by forum member 'sebglon' (glon.sebastien@...)]
>
> http://forums.java.net/jive/thread.jspa?messageID=370350
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@...
> For additional commands, e-mail: users-help@...
>
>  

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...


Re: OSGI Web Container - Expanded directory for a WAB

by glassfish-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello Sahoo,

I search a solution to extend JavaEE application with a plugin.
The plugin idee is to deploy bundle jar in OSGI.
This jar had some static resource (HTML, JPEG,...) and dynamic resource (JSP, JSF).

Is there a technical solution in RFC 66 or other?

Thanks for your response;
[Message sent by forum member 'sebglon' (glon.sebastien@...)]

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

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...


Re: OSGI Web Container - Expanded directory for a WAB

by Sahoo :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

I don't think the extensibility part is properly addressed anywhere. I
will shortly investigate use of Servlet 3.0 APIs to extend WABs, but I
don't have any clear idea of the problem yet, so schedule is a further
thought.

In the meanwhile, I think what you are looking for can be achieved in
current implementation of GlassFish OSGi Web Container. All you need to
use is directory deployment of a Web Application Bundle. You can try it
yourself like this:

1. expand your WAB in some directory (let's say /tmp/foo).
2. telnet localhost 6666
 > install reference:file:/tmp/foo
 > start <bundleId>

Now access your web app.
4. Now copy some html files and jsps to /tmp/foo and they can be
accessed without having to redeploy.

Let me know your thoughts.

Thanks,
Sahoo

glassfish@... wrote:

> Hello Sahoo,
>
> I search a solution to extend JavaEE application with a plugin.
> The plugin idee is to deploy bundle jar in OSGI.
> This jar had some static resource (HTML, JPEG,...) and dynamic resource (JSP, JSF).
>
> Is there a technical solution in RFC 66 or other?
>
> Thanks for your response;
> [Message sent by forum member 'sebglon' (glon.sebastien@...)]
>
> http://forums.java.net/jive/thread.jspa?messageID=370430
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@...
> For additional commands, e-mail: users-help@...
>
>  

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...