cancel
Showing results for 
Search instead for 
Did you mean: 

EJB application

Former Member
0 Kudos

We have a scenario as follows:

There is a dictionary table to which we have to add,delete,update and display records.This scenario works using EJB's at the Web Dynpro perspective.

Could someone help us with the coding for these methods in session beans which could define the functionality for these operations: add,delete,update and display records ?

Thanx in advance

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos
Former Member
0 Kudos

Hii Pankaj,

Start from entityBeans, add the parameters for your methods in entityBean and write the business logic in sessionBeans.

call sessionbean's method from commandBean and commandBean's method from webdynpro.

Thanks,

parama.

Former Member
0 Kudos

Hi Pankaj,

You can either use SQLJ or JSBC to implementing the Database operations in Session Beans.

For them refer to [this link|http://help.sap.com/saphelp_nw70/helpdata/EN/b5/f5bb805b2e9243ac9a1eafc4ecbd5f/frameset.htm].

Also, if interested, you can use Entity Beans, with command beans as Session Beans.

Regards,

Alka.

Former Member
0 Kudos

hii Alka,

I suppose the EJB application pankaj is using should refer to EJB_QL.

You will get this EJB_QL option in entityBeans perspective.

Thanks,

Parama Laha

Former Member
0 Kudos

Hey Parama,

Even I prefer the use of Entity Beans.

But the post was made as Pankaj needed ways to implement it using Session Beans.

Regards,

Alka.