cancel
Showing results for 
Search instead for 
Did you mean: 

DB access in Web Dynpro Portal Service / or EJB with WebService ?

Former Member
0 Kudos

Hi,

I will develop a web dynpro application which will run in the EP and use an DB. How are the best practices in this scenario ? Should I use a Web Dynpro Model (EJB or WebService) for the persistence operations or should I use Portal Services ?

Regards

Flo

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

The Best Practices are as follows:

1. For Webdynpro using Java Bean/EJB use EJB with Webservices, because you can create the models very easily. There are Java Bean model and Web Service model available

2. In case you are using PDK (Portal Development Kit) to develop application using JSP DynPage or Abstract Portal component you can go with Portal Service,

Based on your comfort/skill level you can choose the option of developing in EJB/Web Service or Portal Service.

Satish

Former Member
0 Kudos

Thanks,

ok some words more... , I want to find out the differences between VC, PDK and Web Dynpro. Most of the parts of the application will be written in Web Dynpro. It´s possible to access portal services in Web Dynpro. But not with a Web Dynpro Model, so will going to use EJB/Webservice.

But here I have one more question... I am wondering why EJB a n d Webservice in combination !?!? Can´t I only write a Webservice o r a EJB to achieve the DB connectivity ?

Thanks

Flo

Former Member
0 Kudos

Probably there is a reason for this... nobody knows ?

Former Member
0 Kudos

Hi,

The Best practise would be is to create tables in Data Dictionary in a Webdynpro DC.

Thanks,

Regards,

Aditya Metukul