Class as an upload service

Hi,

I need to upload files, but I want to have some general class that I could use as a service for each ocasion to save the file to the specific entity. I don’t want to make middleware services, but something else accessible directly, without the middleware layer.
Is there any possibility for this? What would the class look like and what methods do I need?

Thank you,
Ivan.

Hi,

In case of avoiding the use of middleware services, I would suggest creating a Managed Bean in the preferred module. Take a look at the article “Using Client Tier Beans” and the corresponding live demo.