Hi Aparnna,

> Is this a right approach?

For your described use case (reuse of an existing database connectivity) this 
is a valid and good approach.

> Also I want to invoke some getter methods from EJB, which expects more than
> 1 parameter as inputs? How can I achieve this?

Can you please provide a example of such a ‘getter’ method / EJB?

Kind regards,
Michael

On 22 Jan 2014, at 05:48, Aparnna Prasad <[email protected]> wrote:

> Hi
> 
> I already have some Session beans which has the required methods for Data
> Read & Manipulation of JPA Entities.
> 
> I want to reuse these methods without rewriting the same logic. I followed
> the below approach
> 
> http://olingo.incubator.apache.org/doc/tutorials/basicread.html
> 
> Based on this tutorial I implemented the basic Read & in the readEntity
> method I invoked my ejb method to get the data, and build the response.
> This is working
> 
> Is this a right approach?
> 
> Also I want to invoke some getter methods from EJB, which expects more than
> 1 parameter as inputs? How can I achieve this?
> 
> Aparnna

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to