Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » Resource Plug-in in RAP Target platform
Resource Plug-in in RAP Target platform [message #538109] Sat, 05 June 2010 05:36 Go to next message
saurav sarkar is currently offline saurav sarkarFriend
Messages: 428
Registered: July 2009
Senior Member
Hi All,

I had some dependencies to the Resource plug-in.But i do see the RAP runtime does not contain the RAP plug-ins.
Do i have to then manually keep the dependency of the Resource plug-in from other targets ?.

Thanks and Regards,
Saurav


Re: Resource Plug-in in RAP Target platform [message #538134 is a reply to message #538109] Sat, 05 June 2010 14:19 Go to previous messageGo to next message
saurav sarkar is currently offline saurav sarkarFriend
Messages: 428
Registered: July 2009
Senior Member
ok...my mistake i could never think in the lines of RAP...may be a beer will help here...

My use case would need my web application to access the local file system.I dont think RAP has a functionality where in i can visualize an Eclipse workspace kind of thing in user's system.Hence the unavailablity of the Resource plug-in.

Then do i need to use the Java IO to access the local file system?.
Any plans for leveraging the Resource plug-in of the EFS in RAP ?



Re: Resource Plug-in in RAP Target platform [message #538511 is a reply to message #538134] Mon, 07 June 2010 19:33 Go to previous messageGo to next message
Rüdiger Herrmann is currently offline Rüdiger HerrmannFriend
Messages: 581
Registered: July 2009
Senior Member
On 05.06.2010 16:19, saurav wrote:
> ok...my mistake i could never think in the lines of RAP...may be a beer
> will help here...
>
> My use case would need my web application to access the local file
> system.
There is no way to access the local file system without special
plug-ins, applets or similar things. The browsers security policy
prevent Javascript code from doing so.

> I dont think RAP has a functionality where in i can visualize an
> Eclipse workspace kind of thing in user's system.Hence the unavailablity
> of the Resource plug-in.
We do not provide the resource plug-in because it is not suitable for
general-purpose use in a multi-user-environment. There might be
use-cases in which it makes sense to use the resource plug-in. In such
cases you will have to add it to the target by yourself. When doing so,
always bear in mind that *all* users/session will then access *one*
single workspace.

>
> Then do i need to use the Java IO to access the local file system?.
With java.io you will still be accessing the servers file system.

> Any plans for leveraging the Resource plug-in of the EFS in RAP ?
>
>

HTH
Rüdiger
Re: Resource Plug-in in RAP Target platform [message #539144 is a reply to message #538109] Wed, 09 June 2010 18:35 Go to previous messageGo to next message
saurav sarkar is currently offline saurav sarkarFriend
Messages: 428
Registered: July 2009
Senior Member
Hi Rudiger,

Many thanks for the answers provided above.
Please find my comments/questions quoted with below.

Quote:
There is no way to access the local file system without special
plug-ins, applets or similar things. The browsers security policy
prevent Javascript code from doing so.


I agree

Quote:

We do not provide the resource plug-in because it is not suitable for
general-purpose use in a multi-user-environment. There might be
use-cases in which it makes sense to use the resource plug-in. In such
cases you will have to add it to the target by yourself. When doing so,
always bear in mind that *all* users/session will then access *one*
single workspace.



I thought i could not add anything in my target.

Please clear my understanding.If i add the resource plug-in my target.Would it not create problem while creating/deploying the war in the server ?.
Quote:

With java.io you will still be accessing the servers file system.



I agree.I have gone the Java I/O way.

The last question still remains i.e. any plans of leveraging the resource concept of EFS in the RAP ?.

Again many thanks for the answers.

cheers,
Saurav






Re: Resource Plug-in in RAP Target platform [message #539153 is a reply to message #539144] Wed, 09 June 2010 18:50 Go to previous message
Rüdiger Herrmann is currently offline Rüdiger HerrmannFriend
Messages: 581
Registered: July 2009
Senior Member
On 09.06.2010 20:35, saurav wrote:
> Hi Rudiger,
>
> Many thanks for the answers provided above.
> Please find my comments/questions quoted with below.
>
> Quote:
>> There is no way to access the local file system without special
>> plug-ins, applets or similar things. The browsers security policy
>> prevent Javascript code from doing so.
>
>
> I agree
>
> Quote:
>> We do not provide the resource plug-in because it is not suitable for
>> general-purpose use in a multi-user-environment. There might be
>> use-cases in which it makes sense to use the resource plug-in. In such
>> cases you will have to add it to the target by yourself. When doing so,
>> always bear in mind that *all* users/session will then access *one*
>> single workspace.
>
> I thought i could not add anything in my target.
>
> Please clear my understanding.If i add the resource plug-in my
> target.Would it not create problem while creating/deploying the war in
> the server ?.
Apart from the already mentioned fact that the resource plug-in isn't
multi-user-aware, it won't cause problems.
Please make sure that you have a good understanding of the underlying
technologies of RAP. In particular OSGi and how to work with it in PDE.
Here are some links to further information:
http://www.eclipse.org/rap/documentation.php#resources
http://eclipse.org/pde/

> Quote:
>> With java.io you will still be accessing the servers file system.
>
>
> I agree.I have gone the Java I/O way.
>
> The last question still remains i.e. any plans of leveraging the
> resource concept of EFS in the RAP ?.
As said before, the resource plug-in (and as such EFS as it is used by
the resource plug-in) is of no general use in a multi-user environment.
Therefore there are no plans to integrate it in RAP. However, this
doesn't prevent you from using it in a RAP Environment. The only thing
is, it doesn't come with RAP out of the box.

>
> Again many thanks for the answers.
>
> cheers,
> Saurav
>
>
>
>
>
HTH
Rüdiger
Previous Topic:Does RAP support implementing a console?
Next Topic:[ Titanic ] java.net.SocketException: Too many open files
Goto Forum:
  


Current Time: Wed Dec 01 22:20:26 GMT 2021

Powered by FUDForum. Page generated in 0.01501 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top