cancel
Showing results for 
Search instead for 
Did you mean: 

Regarding EJB development

Former Member
0 Kudos

hi,

Could any one send me some documents to develop EJB's in webdynpro java using CE 7.2 or NWDS04s.

Thankyou

Accepted Solutions (0)

Answers (1)

Answers (1)

rolf_paulsen
Active Participant
0 Kudos

Hi,

I am not sure if I understand what you mean. If you want to call EJB methods from WD and fill your WD context with EJB method responses:

In 7.20 (since 7.1) you can use methods from (@Local) EJBs that are deployed in an EAR as "EJB model" in Web Dynpro. You have to do an EJB Model Import (Wizard), the steps are described in NWDS online help (search for EJB Model).

And there is a "How to Develop a Simple CRUD Application Using EJB 3 and Web Dynpro" by Isaias Barroso on sdn, too (7.1) that unfortunately contains too much about DB persistence and too less about the title.

The EJB Model importer has improved a lot in 7.20 compared to 7.1, but is still tricky.

Beware of parameter types that the importer does not like! E.g. Properties and Array-stuff, GregorianCalendar (use java.sql.Date), no Enum types. The ejb model import wizard will not find any method if there is one method in the PP of the EAR it does not like.

Greetings

Rolf

Former Member
0 Kudos

Hi,

Thankyou for ur reply.

Im new to EJB development.

To develop a project in real time using EJB's in CE which are the things should i know?

I learnt EJB basic fundamentals like home and remote interfaces,stateless and stateful session beans creation etc and also,

I know how to call EJB into webdynpro development, Import EJB Model , exposing ejb as webservice etc.

My doubt is , am i missing something to learn prior to the project.

Please guide me.

Thankyou.

rolf_paulsen
Active Participant
0 Kudos

Hi,

EJB basic fundamentals are great and enough to understand the documentation in NWDS online help and on help.sap.com. They are a good and detailed guide, tell the forum if you are stuck.

Also look at the ejbexplorer in NWA.

Cheers

Rolf